all groups > vb.net > march 2007 > threads for saturday march 17
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Using config file with Windows Service.
Posted by Rico at 3/17/2007 11:27:58 PM
Hello,
I have a Windows Service writting in VB.net 2003. There are some items in
the service that will require certain variables such as Admin Email Address,
smtp server, SQL Server name and instance, database name, things like that.
Is there any way to do this using a config file with a s... more >>
SQL result assigned to a variable?
Posted by Tony K at 3/17/2007 11:05:39 PM
How would I assign the result of a SQL query to a variable. The result of
the following statement will ALWAYS result in 1 row returned.
SELECT ProductDescription, ProductID
FROM Products
WHERE (ProductIDNumber = ?)
How do I assign the...say, ProductDescription to a varia... more >>
IComparable
Posted by John Devlon at 3/17/2007 11:04:44 PM
Hi,
Could somebody please tell me how to use Icomparable in a .NET project? Like
I was a 5 year old?
I'm trying to sort an array of objects and I can't get it to work .... How
do I modify the main class using IComparable ? How do I sort the array in
practice?
Example...
I would lik... more >>
WriteAllText
Posted by Jim at 3/17/2007 10:21:34 PM
I'm parsing a file and writing a text file with cr/lf's on the end of
line. It works fine EXCEPT I get a hex FF FE as the first two
characters of the file.
1)How do I get rid of them
2)How did they get there
3)What did I do wrong?
Jim
Here's the code:
===============================... more >>
Copying File to Program Directory
Posted by pooba53 at 3/17/2007 8:46:44 PM
My VB .NET application (created in VS 2003) resides in c:\Program Files
\Test\ and there's a data.mdb (Access) file within this directory.
I have a feature in my program that allows the user to import a backup
copy of this Access db if they need to.
I'm using the FileCopy method to simply co... more >>
Media removed
Posted by Samuel at 3/17/2007 8:26:46 PM
Hi everyone,
If while I copy files to memory pen the user pulls out the device, I get an
exception saying 'path can't be found' (the exception occurred in the line
of code that creates a folder)
Instead I would like to show the user a message and carry on with the work.
The only way I ca... more >>
Is VB Caca??
Posted by Don at 3/17/2007 7:25:40 PM
I realize that this may sound like a troll but it is not intended to
be.
I haven't been reading this group but I've seen a number of
vociferious postings lately saying that "vb dotnet doesn't work".
Is that a widely held belief or is it just the same complaning that
goes on with all devel... more >>
OpenFile Dialog and view mode
Posted by Marco Trapanese at 3/17/2007 4:48:57 PM
Hi!
I show an OpenFile Dialog with: dlgOpen.ShowDialog() but I'd like to
change the default view among Detail, Thumbnail, Icons, ect. Users
change the view mode by this button:
http://i15.tinypic.com/48nsol1.jpg
I want to do the same from code. How should I do?
Thanks
Marco / iw2n... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Base64 Encryption Question
Posted by Lauren Quantrell at 3/17/2007 3:18:39 PM
I have a spec that calls for a Base64 encrypted password to be passed
to a web service.
I have poked around Convert.ToBase64 but am at a total loss on how to
do this.
Made more complicated is that the password is part of a complex data
type class.
What I am trying to do is something functio... more >>
Why does Format.String do rounding?
Posted by Tony Girgenti at 3/17/2007 10:43:35 AM
Hello.
Trying to develop VS2005, SP1 windows form VB program.
When i try a statement like below and the data is "24.95", without the
quotes of course, regPriceString equals "000000000025+" .
regPriceString = String.Format("{0:000000000000+}",
merchandiseDataRow.Item("RegPrice"))
Why ... more >>
WCF sample works in C# but not VB
Posted by Ronald S. Cook at 3/17/2007 10:36:44 AM
I'm able to walkthrough a C# sample for Windows Communication Foundation and
all works fine.
But when I do it in VB.NET exactly the same way (but with different syntax,
of course), I get the following when I try to go to the IIS service:
The type 'FRC.COW.Feedyard.Service.Calculator', prov... more >>
VB 2005 and Vista
Posted by tclancey at 3/17/2007 12:00:00 AM
Do they live happily together?
Cheers,
Tull.
... more >>
Reproduceable bug: MSDN Subscriber **
Posted by Steven Spencer (Spinalogic) at 3/17/2007 12:00:00 AM
I have an error and I would say this is at compiler level in the VB.net
language
"If Not SQLConnectionString = "" Then
'If ds.Tables("Images") Is Nothing Then 'to avoid repeating when
re-showing same image
If ParametersChanged Then
If Not ds.Tables("... more >>
|