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 > march 2007 > threads for thursday march 1

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

Cross thread (VB.NET 2005)
Posted by Paul at 3/1/2007 10:14:02 PM
Hi, I'm having a problem with my app. All its supposed to do is put the word "Check" in a listbox every 2 seconds! I'm getting a System.InvalidOperationException error, more specifically, "Cross-thread operation not valid: Control 'ListBox1' accessed from a thread other than the thread it w...more >>


Using Combocox Selection to select/update bound items
Posted by njb35 NO[at]SPAM cantab.net at 3/1/2007 7:56:43 PM
Hi all I'm beginning my foray from VBA into VB 2005 Express, and enjoying some of the efficiencies it provides! I'm stuck with some dataset handling however that I _think_ can be automated but I can probably code what I want to do the hard way. I've searching around online but can't find an...more >>

Read new record from CSV textfile and item not found
Posted by Ray at 3/1/2007 7:21:58 PM
Hello World, I made a Windowsform that reads data from a CSV file. It works fine, but when I have read the data of a record I have to re-Debug the form to read another record. So when I put a new seek item in the textbox after I searched for an item and click the seek button.. it seems it i...more >>

how can I fix this dbl to str conversion?
Posted by Ron at 3/1/2007 5:59:07 PM
Hello all, I had my code working using a number userid, then I chganged it to string and thought I did everything right, well now this function does not work. Anyone know what I am doing wrong? And how can I fix it? So I am having a problem with struserid and my array looks like this: ...more >>

Reading Directory and Files
Posted by Tim at 3/1/2007 5:58:03 PM
Can someone please tell me how I can get the last file added to a directory ( I am assuming it is a file attribute). I have built a text parsing application. Right now I have to manually get the file to load it up. What I want to be able to do is have the application (on load) check a direc...more >>

Read REG_BINARY Value into its string equalent - 010307
Posted by vighnesh at 3/1/2007 5:53:10 PM
Hi Folks Greetings to you all. I am dealing with a project ( windows application ) in which I have to read the REG_BINARY value from the Registry and get its string equalent ( the ASCII text value ). Can anyone please suggest me how can I achieve that in VB/C#.NET. Thanking you in advanc...more >>

Enter Key behavior
Posted by LisaConsult at 3/1/2007 3:51:33 PM
I have a data entry application. Due to ease and location, the users utilizie the enter key to move from field to field, rather than the tab key. Depending on the data they enter into a field, they may skip fields in the "tab order" so I do not simply use process tab key. Application works ...more >>

Strange DLLs created into program folder
Posted by GD1 at 3/1/2007 3:43:29 PM
Dear developers, I've been working on a Word automator application for some weeks. Now, I formatted my hard drive and reinstalled Visual Studio. When I compiled my project for the first time since I've formatted my HDD, I saw that something was different: three DLLs were created into the ou...more >>



Is vbc useful?
Posted by James Mayhew at 3/1/2007 3:37:07 PM
I stumbled upon the vbc compiler, but have had little success finding any supporting information. Neither VB Express help, internet searches nor books on Amazon.com contained any significant information. Is vbc useful? Jim ...more >>

multi-line text box
Posted by cj at 3/1/2007 3:11:21 PM
I use multi-line text boxes with vertical scroll bars in several of my programs to display log information as the programs run. Once the text more than fills the visible portion of the textbox I would like the text box to show the bottom of the text in it. Right now even if I scroll down i...more >>

ado.net adding a new record without having a dataset
Posted by vbDavidC at 3/1/2007 2:09:04 PM
I am adding a new record to a table via a dataset/adapter. I have got the following to work for me but I am wondering if there is a better way to do this. I am having to have something in my DS before I can add records, since DS does not exist. I'd rather not have a SELECT since I really do...more >>

How to convert a stream to a string?
Posted by Robert Dufour at 3/1/2007 1:08:20 PM
I got a stream from a file, could be any document type like doc or txt. I want to convert it to a string variable so that I can replace some custom tag contents in it's text with text values generated from a database. Then I need to save the stream as another document file. so far I got ...more >>

Sort an array (structure array)
Posted by Mark at 3/1/2007 10:56:34 AM
Hello, Suppose I have defined a structure.... Structure RenameDocs Public Facility As String Public Document As String Public Subtitle As String Public Page As String End Structure And then declared an array of this structure... Public stRenameDocs() ...more >>

Write a Manifest Resource to File (VB, .net 2.0)
Posted by Dinsdale at 3/1/2007 10:50:01 AM
I must be totally missing something. I am trying to use DirectX to play an AVI file that is stored as a Manifest Resource. Apperently the Video class only takes a string path as a parameter, so I wanted to write the avi to a file from the manifest. I thought I would just be able to read it in ...more >>

Reading in a textfile?
Posted by Ron at 3/1/2007 9:48:14 AM
Hello everyone, I've created a functioning ATM program, a bank machine. Now I want to implement usernames and Pins into it. So I have a text file with this info. BILL, 1111 TOM, 2222 CHRIS, 3333 How do I go about reading those values from a text file into arrays and then access those ...more >>

launch vb.net app from its shortcut from another app after deployi
Posted by Rich at 3/1/2007 9:26:03 AM
Greetings, I am deploying vb2005 apps using Click Once deployment. This works fine. The problem is that the user needs to be able to launch a 2nd app from the 1st app, but the application startup paths are different for each user. However, the shortcuts for these apps are created in the...more >>

How to create Icon for ALL Users - VB.NET 2003 Deployment Project
Posted by michael.dadashyan NO[at]SPAM gmail.com at 3/1/2007 8:49:41 AM
Hi there, I created deployment project that installs my windows application. it also should create icons in Start->programs and on the Desktop. But Visual studio allows only to create icons in USER'S Desktop and Programs folder. How to do it for ALL Users? The application is going to be insta...more >>

Calling mousehover event for dynamic button control?
Posted by Marc at 3/1/2007 8:07:22 AM
Hi, I create buttons dynamically at runtime in my application. I want to open a messgae box when the user hovers over a button.how can i do this? i need something like the below(which doesnt work!) Private Sub test (ByVal sender As System.Object, ByVal e As System.EventArgs)Handles m...more >>

Datagridview -- Won't Clear
Posted by Arne Beruldsen at 3/1/2007 7:00:15 AM
I have a DGV (vb.net 2005). The user has the option to search by City, State, Name...etc. I can't get the DGV to clear between searches. The first search (city for example) works fine. But if I change it to State...the results are correct...but the City column still exists and the State ...more >>

Using the Express Version
Posted by BK at 3/1/2007 5:39:50 AM
I'm at home for a few days and using my wifes laptop. I'm reading a few books and want to follow the code examples, but her laptop doesn't have VS. However, some of the examples are in C# and some are in VB. Can I load both Express versions on one machine? I know I won't be able to have a s...more >>

Getting the actual file size
Posted by nospam NO[at]SPAM meatonconsulting.com at 3/1/2007 5:37:03 AM
I am trying to monitor the process of a file being copied, but I cannot find a function that will return the actual file size, not the total file size, as reported by fileinfo.length. Has anyone ever done something like this before? I would rather do this instead of trying to open the file exc...more >>

How can I count....
Posted by erickwan88 NO[at]SPAM yahoo.com.hk at 3/1/2007 3:17:49 AM
I want to count the number of clickings on CapsLock when I press on it How can I do this in vb2005? My.Computer.Keyboard.CapsLock ...more >>

Free Version Control System?
Posted by Martin H. at 3/1/2007 12:00:00 AM
Hello everybody! Currently I use VS 2003 and VSS 6.0. However, I'm planning to move to VB.NET 2005 and I'm looking for a free version control system which integrates with VB.NET 2005. I'm grateful for any suggestions. Best regards, Martin...more >>

"You do not have a license to use this ActiveX control"
Posted by Anil Gupte at 3/1/2007 12:00:00 AM
A friend of mine is having this problem on his machine - it works fine on my machine. The above message appears when he tries to inset the "Microsoft Internet Transfer Control" (Inet) into a Windows form. It was enabled in the "Add item to Toolbox..." in Visual Studio.Net 2003 (tried both VB...more >>

ReflectionOnlyLoad in Macro
Posted by NickP at 3/1/2007 12:00:00 AM
Hi there, I am trying to do a reflection only load of an assembly, within a new appdomain, within a macro. i.e. create new app domain instantiate class run class class does reflection only load of assembly process info obtained from assembly di...more >>

Is ther a way to get all the country's in regional that MS lists in control panel
Posted by John at 3/1/2007 12:00:00 AM
Hi is there an array that can be looped through Instead of putting my own list in the program or file instead of Dim RG As New RegionInfo("US") such as get reginional(country).count for x = 0 to etc............... or something of this sort to list what MS list to later get curre...more >>


DevelopmentNow Blog