Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008


all groups > vb.net > january 2007 > threads for friday january 5

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

How to access the NT Name Cache?
Posted by Michael M. at 1/5/2007 11:36:58 PM
Hi all, I would like to know how to access the NT/2000/XP/2003 Name cache; what I mean by this is: Open a Command Prompt and.., C:\> C:\>IPCONFIG /DISPLAYDNS You will see a bunch of cached name records for pretty much all of the websites / domains that have been resovled since yo...more >>

How to avoid exception breakpoint inside my reference assembly ?
Posted by Bruce at 1/5/2007 10:41:58 PM
I have a reference assembly that I wrote. The assembly can throw exceptions. I am handling these exceptions but, when running my code from VB, VB still insists on setting a breakpoint where the exception is being thrown inside the assembly. Is there anyway to avoid this? If so how? ...more >>

Pass Generic::List in C++ Library to vb.net
Posted by Nip at 1/5/2007 9:17:06 PM
Hi I want to access the Generic List of the following c++-class inside a vb.net app. Is this possible/how can I do that? Atm, I get the following error in the vb.net app: "Field 'GeoElems' is of an unsupported type." public ref class clsPhysik { ...... public: System::Collections::...more >>

best design for parse
Posted by gs at 1/5/2007 6:36:37 PM
let say I have to deal with various date format and I am give format string from one of the following dd/mm/yyyy mm/dd/yyyy dd/mmm/yyyy mmm/dd/yyyy dd/mm/yy mm/dd/yy dd/mmm/yy mmm/dd/yy dd/mm what is the best way to come up a relevant regex for the incoming format string a) us...more >>

print dialog
Posted by James Wong at 1/5/2007 6:27:59 PM
Hi, I use framework 2.0, and the print document to control the printer. When the program is printing, it will popup a print dialog to show the number of printing page. Is it the printer driver's problem? framework's problem? xp's problem? Can I invisible it? Thanks James ...more >>

Default Value of Nothing for Property of type System.Drawing.Image
Posted by Eric at 1/5/2007 6:26:58 PM
Hi Everyone, I'm writing a UserControl that exposes a property of the type System.Drawing.Image, like this: Public Property DefaultImage() As Image Get Return propDefaultImage End Get Set(ByVal Value As Image) propDefaultImage = Value SetImage() ...more >>

Print problem
Posted by James Wong at 1/5/2007 6:23:44 PM
Hi, I use the print document to control the printer. When the program is printing, it will popup a print dialog to show the number of printing page. Can I invisible it? ...more >>

Error reading key file '..\..\..\OurKey.snk' -- The system cannot find the file specified
Posted by Ben at 1/5/2007 5:36:14 PM
Hi We have setup a Strong Name for our Applications, but are having problems with the essembly throwing an error: Error creating assembly manifest: Error reading key file '..\..\..\OurKey.snk' -- The system cannot find the file specified. <Assembly: AssemblyKeyFile("..\..\OurKey.snk")> ...more >>



Why is this file.copy not working
Posted by Saabster at 1/5/2007 5:08:46 PM
Hi all, It's always the simple stuff that trips you up I guess. Here is the issue I'm dealing with. I have a folder with 1400 excel files that I need to move to another location. Since each file has to go in to a particular target folder I decided that writing a program to move the files i...more >>

Assembly Version
Posted by James Wong at 1/5/2007 4:25:10 PM
Hi, Can VB.Net change the next assembly version automatically when I compile the program? <Assembly: AssemblyVersion("1.0.0.1")> <Assembly: AssemblyFileVersion("1.0.0.1")> Thanks James ...more >>

Supporting multiple database'
Posted by TClancey at 1/5/2007 2:45:10 PM
Hi all. I have an app that needs to connect to either - an Access database, MySql database or MsSql database. It will be the end users decision which they want to use. I've done a lot of work with Access in the past, and a good deal with MySql and realise that there are syntax issues be...more >>

service of W2K
Posted by win at 1/5/2007 2:42:59 PM
How can i check the status of a service and start it using vb6 and .net? Thanks ...more >>

StringBuilder.Replace Problem
Posted by Peter Gast at 1/5/2007 1:38:54 PM
Wieso wird beim folgenden Code nicht das Ergebnis ...drei Schwe... geliefert? Startindex 5 statt 6 ändert auch nichts am Ergebnis. Dim sb As New System.Text.StringBuilder("habe zwei Schweine und zwei Hühner") sb.Replace("zwei", "drei", 6, 1) MsgBox(sb.ToString) Danke Peter ...more >>

Passing varibles using "Byref"
Posted by Peter at 1/5/2007 1:37:23 PM
I will excute the code below to get MethodName array. These codes are edited under VS2003. Now I want to upgrade it to VS2005,but VS2005 gives me a varning message: The varible "sSourceMethodName" may throw a Null reference exception because it passes using "Byref" before being assigned. A...more >>

Threading / updating textbox question
Posted by Bmack500 at 1/5/2007 1:16:43 PM
Hello! And thanks in advance. I have the following code which just basically creates a set of threads for me (Using svrList as my list of class instances to thread). Let's call the threads workerthreads. The worker threads need to update a textbox on Form1 as they progress. The question is, ...more >>

Need to read data from HTML table into an array
Posted by ducky801 at 1/5/2007 11:00:25 AM
Using VB 2005 express: I am using the webbrowser control to manipulate a website. i need to get the contents of a named table off of one of the pages and put into an array. how can i do this? i have been tinkering with the mshtml.htmltable object but don't quite understand how to use it co...more >>

Develop update
Posted by Silviall at 1/5/2007 10:00:21 AM
Hello, I've developed a program, this is installed in a lot of client computers. I would like to know, how can I do an update of the program. Can I develop a ..msi and install with the active directory? Thanks for all, SilviaLl. ...more >>

Make Context Menu @ Runtime HELP!
Posted by Brandon Johnson at 1/5/2007 9:32:40 AM
I can make a single column context menu easy enough in runtime but the problem that im having is that im having a hard time finding a place to learn how to make submenus. If anyone could help that would be very very helpful. thankyou. ...more >>

Try Catch
Posted by Morten Snedker at 1/5/2007 9:28:48 AM
The use of Try in the Finally part - is that overkill?. I think of the code failing before opening sqlCon - that would generate an error in the Finally part. How would Finally handle that? Try Dim cmd As New SqlCommand cmd.CommandText = "spSetAdLinks" cm...more >>

How to Loop My.Settings
Posted by igor at 1/5/2007 9:15:47 AM
Does anyone know how to loop through the My.Settings items in VS2005? ...more >>

checkbox = -1
Posted by Dwight at 1/5/2007 9:12:27 AM
If a windows form checkbox control is checked, shouldn't the following equal 1 instead of -1 ? DIM Acndt_ind as integer Acndt_ind = CInt(chbAcndt_Ind.Checked) Thanks ...more >>

Thread.Sleep question
Posted by fniles at 1/5/2007 9:05:02 AM
I am using VB.NET 2003 and a socket control. As I get quotes, I add the quote to the arraylist, and I send the quotes to my clients by removing the message from the arraylist and send it to the client using the socket. I found that the arraylist got backed up, the queue depth will be 1000 or ...more >>

Hashtable, retrieve first entry in case of duplicate key
Posted by christophe.leroquais NO[at]SPAM gmail.com at 1/5/2007 8:15:35 AM
Hi, I have a HashTable that can have the same keys. For example: Key: myKey1, myKey2, myKey3, myKey1 Value: "value1" , "value2" , "value3", "value4" That's ok and I'm happy with that. My issue is that when I want to retrieve the entries one by one, I want it to retrieve only the fi...more >>

spawning/launching a stored procedure as a seperate process? fork?, thread?
Posted by jobs at 1/5/2007 8:14:29 AM
Im writing an SSIS script task using VB.NET. I'd like to be able to initiate an oracle stored procedure call for a process that will run for 8 hours, but I don't want my process to wait for it finish. In fact, I'd like the ssis job to terminate after it launches it. How can I do this using vb....more >>

Open text file from the from the end backwards
Posted by Stupid48 at 1/5/2007 7:59:50 AM
I'm trying to do a simple task but can't seem to find a solution. How do I read lines from a text file backwards. i.e. I want to select the last 20 lines of a text file and display them in order starting with the last line first..... Any assistance would be greatly appreciated.... Thanks...more >>

string to double problem
Posted by sachin at 1/5/2007 7:55:06 AM
hi everyone ....... could u please help me out of this........... i have a string with value........ dim str as string="789456123078945612307894561230" now i need to take the modulos of this number...... dim dbl as double = cdbl(str) mod 256 i get a value of zero....... but using th...more >>

2 selected Radio buttons in a Group
Posted by lakepeir NO[at]SPAM yahoo.com at 1/5/2007 6:57:14 AM
Hello, I have 4 radio buttons in a groupbox on a form. When I run the application, I would like to only select one radio button, but I can select one radio button from the first three radion buttons and the last radio button. It appears that the last radio button is not grouped with the oth...more >>

combobox set seletectedindex at design time
Posted by Rick at 1/5/2007 5:20:54 AM
I have a combobox on a WinForm with DropDownStyle = DropDownList. I don't see any way to set the SelectedIndex of this control at design time. Do I have to do this in code on Form load? Rick ...more >>

Wireless Networks - Is this even possible?
Posted by justsome_newbie NO[at]SPAM yahoo.com at 1/5/2007 4:34:34 AM
I'm wanting to create a simple program for my computer at home. I would like to keep my wireless network disabled and then only enable it when a certain program starts (internet explorer or firefox), and then disable the network when the program closes. Trapping when ie or firefox starts isn't a...more >>

GetExtendedTcpTable API Part 2
Posted by Michael M. at 1/5/2007 3:12:47 AM
Hi all, I am trying to use the GetExtendedTcpTable API function and I having some problems. The program generates memory access errors, but not every time I run it (about 1 n 3 times). I first tried using StructureToPtr to read the TCP data, but then changed to reading it 4 bytes at a ti...more >>

Using tlbimp.exe without .NET framework
Posted by AA at 1/5/2007 3:12:36 AM
Hi, I would like to use the type library import exe tlbimp.exe without actually having the .NET framework setup on the machine. Is there any way, like installing some minimal dlls, so that I can use tlbimp? Currently, when I run the tlbimp.exe, I get an error saying " To run this application,...more >>


DevelopmentNow Blog