SQL Server Name
Mon, 6 Oct 2008 13:19:03 -0700
Is there a way to identify in code what the sql server's name is? ...
|
Disappearing pictures in VB generated Word document
Mon, 6 Oct 2008 13:10:50 -0700 (PDT)
I used http://support.microsoft.com/kb/316383/en-us as the basis of
some code to generate a Word document using VB code (.NET2005).
In the code I have a loop which produces a table and in the merged
left hand column I place a picture (looping round a directory full
of ,jpg files - a table entry in the Word docum ...
|
My app fails when calling Outlook.Namespace.Folders
Mon, 6 Oct 2008 12:42:27 -0700
I made a program that reads emails from an Outlook mailbox and does some
stuff and the program works fine.
However, my boss now tells me that the program is to be executed from a
remote computer. I now get the following error when calling the program
remotely:
"Could not complete the operation because the ...
|
Time limit on ManagementScope.Connect?
Mon, 6 Oct 2008 12:30:06 -0700
Hello, is there a way to limit the time a "ManagementScope.Connect"
execution takes to end before it times out by itself? I tried using
ConnectionOptions.TimeOut property to no avail.
I am trying with the code below to scan a group of computers, but there are
still a few computers that take way more than tw ...
|
searching element of xml file for blocks of text
Mon, 6 Oct 2008 12:32:47 -0400
I need to search an xml element for blocks of text. The start of the text
block will have a 5 digit number in it and i then need to read until the
next 5 digit number. After this, I need to put them in different containers
of their own. Where would I start?
...
|
Nullable(Of Single) VB.NET - Setting = 0 results in Nothing
Mon, 6 Oct 2008 09:25:14 -0700 (PDT)
I am using VB.NET and I have a variable that is defined as Nullable(Of
Single) as follows:
Dim fMyNullableSingle as Nullable(Of Single)
Then, I have another variable as follows:
Dim fCumulativeExpectedAmt As Single = 0
When I make the following assignment:
fMyNullableSingle = fCumulativeExpecte ...
|
Running .Net apps on different versions of Windows
Mon, 6 Oct 2008 08:41:01 -0700
I have a .Net application (VB, VS 2005, FX 2) running in more than one
country. As part of the product registration process, some information on the
computer is collected and sent to a web service; this includes the operating
system which is obtained using the My.Computer.Info.OSFullName function. For
some m ...
|
|
|
object used before assigned
Mon, 6 Oct 2008 08:11:32 -0700
In VS 2008,
I have an object, dbReader, that I get a warning saying that it is used
before it has been assigned a value.
That is correct.
Dim dbReader As SqlDataReader
and later:
Finally
If (Not dbReader Is Nothing) Then dbReader.Close()
End Try
Why is this an error?
Here I ...
|
MyApp.exe.conf - Upgrade from .Net 1.1 to 2.0
Mon, 6 Oct 2008 07:13:03 -0700
Hi to everyone
At the moment, I am converting a .Net 1.1 application to 2.0. As the
My.settings did not exist in the 1.1 framework, the "101 VB.NET Sample" "How
to configuration settings" was used.
At the moment, the App.exe.conf is stored under "Program Files\MyApp". As
read/write access is needed to t ...
|
Launching applications based on extension
Mon, 6 Oct 2008 06:46:01 -0700
Hi All,
I am trying to launch an application based on the extension just like
windows explorer does, specifically with regards to templates.
For example,
1. When you double click on a word template, it loads word with a new
document based on the template you clicked on. Extension: dot
2. When you doub ...
|