Groups | Blog | Home


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 > april 2007 > threads for wednesday april 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 29 30

Help with Variable Type
Posted by Randy at 4/4/2007 11:15:32 PM
Can somebody please help me to place the correct variable type into this declaration statement? Dim da As ???? = New SqlDataAdapter("SELECT pub_id FROM publishers") I'm trying to capture the records from this table so that I can use them to fill a combobox. Let me know if you need an...more >>


interactive macro with windows forms
Posted by interuser at 4/4/2007 10:55:49 PM
Hi I want to make an interactive macro that will popup a form with buttons, checkboxes etc. How can I do that? Any examples will be appreciated. Thank you ...more >>

MyBase.Dispose: NullReferenceException was unhandled
Posted by Martin H. at 4/4/2007 9:55:31 PM
Hi, I've got this problem: I currently work on a control which inherits from ListBox. In my control I shadowed the Items with a custom ObjectCollection, which has some additional properties. Now, this happens: If I add some entries to my control, click on one of the items and then clo...more >>

How to import a DLL of C++ to VB projects with DLLImport
Posted by olc NO[at]SPAM online.nospam at 4/4/2007 7:42:01 PM
I was using managed code DLL from C++ to VB projects. But it seems the configuration of the project is wrong that I can not import the DLL with DLLImport....more >>

Trouble with Process.Start
Posted by Matt F at 4/4/2007 7:01:09 PM
I have a relatively command that I'm attempting to get process.start to execute. When executing the command, I get a "The system cannot find the file specified" error. I've gone to the trouble of making sure the entire command is fully qualified etc. but the error still occurs. Here is ...more >>

Question about ImageList
Posted by Diego F. at 4/4/2007 6:18:43 PM
Hi again. Is it possible to insert an image in a ImageList object in a specific position? Something like ImageList1.Images[3] = Image I mean, any kind of InsertAtPostition method for ImageList? -- Regards, Diego F. ...more >>

Tree View
Posted by tclancey at 4/4/2007 6:10:15 PM
Hi. I have an app that uses a tree view control to list locations, when the tree is clicked the application searches for stock in locations and displays them in grid. It's an odd thing, when I click a new tree node the previously selected and the new node become invisible while the data ...more >>

Getting all the full paths of files in a directory
Posted by Robert Dufour at 4/4/2007 5:37:10 PM
In Vb.net 2003 I need to get all the names of any files that are in a particular folder, not in it's subfolders and put these in an array so that I can loop through it after getting the names. There's a snippet in vb2005 but not in 2003 Any help appreciated greatly, Bob ...more >>



Renaming Mide files to include element from File Properties
Posted by Jack Maxwell at 4/4/2007 4:57:33 PM
Hope someone can help here. My brother has asked me if I can assist in renaming about 1500 midi files which are associated with a programm called Cubase SE. With that software installed he can click on the file Cm9146.mid and on the Properties tab there is details tab which lists various pro...more >>

I guess nobody know formatting in the DataGridView?????????????????????
Posted by Zim Babwe at 4/4/2007 3:13:24 PM
I have an unbound DataGrieView on a Windows form (VS 2005) and I have added a column to a DataGridView Dim textCol As New DataGridViewTextBoxColumn textCol.Name = "ContactPhone1" dgcontacts.Columns.Insert(.Columns.Count, textCol) dgcontacts.Columns("ContactPhone1").DefaultCellStyle.Form...more >>

VB.NET 2005 and Crystal Reports
Posted by Michel Vanderbeke at 4/4/2007 2:55:05 PM
Hello, I want to create Crystel Reports using Crystal Reports XI Release 2 and store the reports as individual files on my PC. My database is a *.mdf (SQL Server database file). 1. Which connection method should I use when creating Crystal Reports in CR XI r2? 2. Can someone provide me w...more >>

How can I check if a letter in a string is upper case or lower case ?
Posted by fniles at 4/4/2007 1:52:17 PM
In VB.NET 2005 can I check if a letter in a string is upper case or lower case ? For example: I have the following 2 lines: NQ,Z2003,11/11/2003,1416.5,1420,1402,1411.5 NQ,z2003,11/10/2003,223801,260154 NQ,H2004,11/11/2003,1416.5,1422.5,1406.5,1415 NQ,h2004,11/10/2003,56,1191 Notice the 1s...more >>

string manipulation
Posted by Mike at 4/4/2007 10:59:53 AM
I am running vs 2005 and withing vb I have code that will lookup dns and will give me the host name back, but I need to truncate the host name and have it populate into a text box on a form. The code brings back netbiosname.domain.com I want to be able to truncate it to show netbiosname...more >>

CallByName w/ComboBox
Posted by Timberwoof at 4/4/2007 10:20:57 AM
For i = 1 To 3 CallByName(Form1.Controls("ComboBox" & i), "items.add", Type.Set, "1st item") CallByName(Form1.Controls("ComboBox" & i), "items.add", Type.Set, "2nd item") CallByName(Form1.Controls("ComboBox" & i), "items.add", Type.Set, "3rd item") next Is there a way I can popu...more >>

Help Tool
Posted by vovan at 4/4/2007 10:10:54 AM
What tool is used for Help creation for VB 2005 application? Is still HTML Help Workshop? Or there is something newer? Thank you vovan ...more >>

Telling if an app has a file locked
Posted by Smokey Grindle at 4/4/2007 10:06:16 AM
I need a way to tell if a program such as word or excel has a document it locked (open for editing). Is there any way to do this in VB.NET? All I need is a its open for editing or not response thats all... thanks! ...more >>

Help with TableAdapter
Posted by SAL at 4/4/2007 9:53:37 AM
Hello, Using the designer in my project, I created a DataTable for one of the tables in an Access database. I created a TableAdapter for that DataTable by adding queries. For the most part, the queries are executing correctly but this one does not return any rows. If I past the sql into the A...more >>

[Newbie] data acces with ado
Posted by laurent couraud at 4/4/2007 1:08:08 AM
Hello all, first, sorry for my bad english i m french. i want to fill a datagridview with data from a database. more precisely i want to fill datagridview with some field of somme table. for example i want to fill the datagridview with: table1.field2, table1.field3, table2.field2, tab...more >>

Crystal Reports export to text
Posted by Liliputanac at 4/4/2007 12:00:00 AM
Hello. Is there a way to accomplish this from VB.NET 2005 ? thnx. ...more >>

Add Listview item to the top of the list
Posted by Manfred at 4/4/2007 12:00:00 AM
Hello I try to add a listview item to the top of the list. I couldn't find the solution to this. After adding the item I like to remove the last item if a certain number of items is reached. Thank you for any comments/suggestions Regards Manfred...more >>

ListView items images
Posted by Diego F. at 4/4/2007 12:00:00 AM
Hi. I'm having a problem with listview controls. I'm using a control that adds drag and drop functionality to a listview (I get the control from codeproject). Now I'm having problems when dragging items that have images. I first thougth that an item has its image and I could drag the compl...more >>


DevelopmentNow Blog