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 > february 2007 > threads for sunday february 4

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

WPF in VB / Routed Events help needed
Posted by RobinS at 2/4/2007 11:06:26 PM
I'm trying to learn WPF and do it in VB instead of C#. (God forbid I should do *anything* the easy way. ;-) Here's something weird. On p162-3 of this book by Petzold (in C# of course) in an example about using Routed Events, he has a loop that assigns an eventhandler to the PreviewKeyUp, ...more >>


Fill Listbox
Posted by Terry at 2/4/2007 10:22:37 PM
I would like to fill a listbox with a 2 column valuelist and hide the value in the first column as available in VBA. I have tried .items.add and item.addrange but cannot seem to get the desired result. I am using the form Load event to fill the listbox. Regards ...more >>

How to generate product key?
Posted by Antonio at 2/4/2007 10:15:39 PM
Hi, I would like to have my users register their name and organization name and submit them through email so that we can generate a product key for them. But we have no idea how to generate a product key something look like Microsoft's product key. In addition, I would like to have the key ...more >>

shell command
Posted by Lee Kok Onn at 2/4/2007 8:56:05 PM
I have write the following command in visual studion visual basic 2005. shell("runas /user:admin diskpart") to set the hard disk partition. it will prompt user to type a password in dos prompt, is there anywhere I can integrate the password in this program so that user will not see the pro...more >>

IO Serial COM Exception
Posted by Taoge at 2/4/2007 8:39:01 PM
Hi All, I write a dll use vb.net 2005 to read data from a serial port and use this dll in a C# 2005 application. It works well except when I close the port. After I close the port, sometimes the dll stopped at the readline statement in data_received function. But the port closed already, wh...more >>

MDI Child from DLL
Posted by vovan at 2/4/2007 4:22:29 PM
I'd like to modularize the application: MDI form is in the main project, and children forms are in DLLs created in separate projects. I have no problem with creating DLL, containing the form and create an object from that DLL in a separate project. But how to make the form from DLL be the c...more >>

How to return an XML document from a Web Service
Posted by GH at 2/4/2007 3:30:10 PM
Can someone point me to an example of a VB.Net client that reads an XML Document from a web service? I have a web service that successfully creates an XML document, saves it on the server and returns it to the calling client. Maybe I don't understand all I know about this but for some reason...more >>

Need some help with my insane window docking method...
Posted by Matt Brown - identify at 2/4/2007 3:20:11 PM
Hello, I've spent the better part of the day going over code and thinking and have come up with the following docking method that works perfectly. At this point, my brain is about to explode and I was wondering if someone can help me figure out the calculations for right and bottom docking:...more >>



How do NetworkCredential and WebClient work?
Posted by Tosco at 2/4/2007 3:15:11 PM
I read many examples with NetworkCredential and WebClient, but no one with a real http address. They all work in theory, but I wasn't able to use them in the real world. The following code should access an ebay page. There is no redirection involved in TestPage. If you have an ebay account yo...more >>

HELP: Serializing and Deserializing
Posted by fjlaga at 2/4/2007 3:04:02 PM
I have written an Office Add-in for Excel using VB.NET and the .NET 1.1 Framework (I have Visual Studio 2003 .NET ). All works great. I want to add a User Settings/Prefereneces dialog and allow the user to specify some settings and I need to persist these settings between runs. I made a seria...more >>

Masked textbox have a bug ?
Posted by Fred at 2/4/2007 2:09:12 PM
Hello, i want to select all contains in a maskedtextbox with a hour mask, when i enter in the control. i used the function: MyMaskedTextBox.selectall but nothing happened is the right way or maskedtextbox have a bug ? thank you. ps: excuse for the english, i am french ...more >>

Using a memory-resident XmlSchema with a DataSet?
Posted by MyndPhlyp at 2/4/2007 11:59:00 AM
I am attempting to write a DLL to maintain an XML file. It creates its own XSD as an XmlSchema (or even a compiled member of an XmlSchemaSet, if necessary). I don't want to write an XSD to disk. The XML file, on the other hand, will be disk resident. System.Data.DataSet wants to read its sc...more >>

I don't know enough of what's inside VS2005 to know if what I'm doing need correcting
Posted by Frank at 2/4/2007 11:08:12 AM
I've done this a few times. In a solution I have a project, Say P1, and need another project that will contain much code that is similar to that of P1. I hope no one gets hung up on why I don't somehow share the code. So, I copy the folder P1 is in, change the new folder name, and is VS2...more >>

Kust Starting
Posted by JustStarting NO[at]SPAM aol.com at 2/4/2007 3:59:14 AM
I am creating my first control and have a few basic questions How do i trigger the control to repaint when I change a attribute programtically...refresh does not seem to work Do I have to dispose of componets when the program closes or does VB dispose of the automatically?...more >>

vs 2003 to vs 2005 conversion problem
Posted by John at 2/4/2007 3:45:51 AM
Hi I have a vs2003 database app that use non-bound infragistics controls and all the plumbing is done in code. This works fine in vs2005. After importing to vs2005 via the built-in conversion wizard the application doe snot show any data instead all fields display the test 'System.Data....more >>


DevelopmentNow Blog