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 2006 > threads for tuesday march 7

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

Flash and CPU usage
Posted by Sam at 3/7/2006 10:17:35 PM
Hi All, I have an asp.net application which also have some flash. The flash pieces basically are used to customize our table corners. The problem I'm having is that every time I load this project, my cpu usage goes up to 100%. And it takes an hour or something just to load the project or sw...more >>


Email validation in grid
Posted by John at 3/7/2006 9:37:09 PM
Hi Is there anyway to validate an email address when typed in a field in grid to stop people from entering invalid email addresses? Is there a way to do a reverse dns lookup as well? Thanks Regards ...more >>

Copy files and progressbar
Posted by Reidar at 3/7/2006 8:26:11 PM
I want to copy a file from a server to a local machine. The process should be shown displayed by a progressbar. Has anybody an example of this? reidarT ...more >>

problem withsqltransaction
Posted by John at 3/7/2006 7:44:23 PM
i need advice to my problems as follow: i need to update 3 table (say table a, table b and table c) using sqltransaction (because i want all transaction either commit or rollback). table c will be updated after table a and table b updated. the problem is: table c can not updated because of s...more >>

Can anyone convert this to VB?
Posted by Allen at 3/7/2006 7:28:28 PM
I can't figure this out. Can anyone convert this to VB? byte * p = (byte *)(void *)Scan0; Thanks ...more >>

how to run vb.net application in visual studio 6 pro
Posted by jaffar at 3/7/2006 6:46:57 PM
hai all, I am developing a vb.net windows application , is there any possible to run the vb.net application in visual Studio 6 Pro, if possible what are the ,minimum, requirments to run the application, warm regards. shaik jaffar ali ...more >>

converting from combobox.text to long()
Posted by XML newbie: Urgent pls help! at 3/7/2006 6:30:27 PM
Does anyone have a snippet of code that will convert a string to a long array? I've nearly smashed my head against the wall trying to figure this out. I'm Using vb.net 2005 Pls reply asap. I thaanku all in advance. God bless u. ...more >>

Block Step Into Debugging for a function
Posted by rawCoder at 3/7/2006 5:40:29 PM
Hi, Is it possible to block the debugger to Step Into a function ( in VS 2005 or VS2003 ) - Even If I press F11 (the Step Into Key)? //////////////////////////////////////////////////////////////////////////// ////////////////// Example (plz read comment ) void Main() { Foo1(); ...more >>



Optimizing Repeated PictureBox.Paints
Posted by The Confessor at 3/7/2006 3:29:15 PM
I'm trying to develop a graphically-simple, gameplay-complex RPG, and I decided to create a graphical Proof of Concept just to confirm that graphics would be... well, simple. Predictably, they've proven otherwise. This is my PictureBoxMap_Paint() Sub, which a tiles a PictureBox with 19* 1...more >>

padding text field with blank in MS Access vs OLEDB Jet 4.0
Posted by JohnR at 3/7/2006 3:25:26 PM
When creating an msAccess db within the Access UI itself the fields that are text are NOT padded with blanks. For example, if I have a 10 char field and put in "HI" and then when I come back to the field and click my mouse on it the cursor is just after the "I" in "HI"... that is, no blanks ...more >>

Preventing Explorer Window from Displaying when Pen Drive Inserted
Posted by Chad at 3/7/2006 3:20:15 PM
I am in the process of writing an application that detects the insertion of a pen drive, and if a specific folder structure exists, it shows a form containing data. The problem is that when I insert the pen drive on some machines running Windows XP, a windows explorer window appears containing...more >>

Getting Extended File Properties
Posted by Tina at 3/7/2006 2:29:37 PM
I need to obtain the extended file properties, such as Owner, Title, etc, for a file in a .net program. I have looked through the FileInfo class and I cannot see any methods or properties that will expose this. In the old days we used to use GetFileInfo but I don't see it in .Net anywhere. ...more >>

upload multiple files
Posted by JFB at 3/7/2006 1:28:00 PM
Hi All, It's a way to upload multiple files on a web site using vb.net 2005? I see the uploadFile tool, but it's only for one file. Any ideas, examples, links??? Tks in advance JFB ...more >>

ADO With SQL Transactions
Posted by subman at 3/7/2006 1:10:40 PM
We currently have S.P.'s that are already coded with sql transactions. Is it possible to have a EXE that has an ADO transaction call an S.P. that has a transaction. No matter how hard I try I cant get it to work. I cant seem to find any concrete info that it can or can not be done. I can ru...more >>

WebBrowser
Posted by philip at 3/7/2006 1:01:43 PM
Is it possible, on a WebBrowser control, to intercept a HyperLink and react programmatically to this click ? That's my first question. In fact, I use the Webbrowser as a sort of report (I write the html code and tables programmatically in a string, and I give the string to the property Doc...more >>

sending email when running on diff machine
Posted by Dennis Benjamin at 3/7/2006 12:34:15 PM
Hi All Hope this isn't a FAQ - I've looked for several hours and can't find an answer. I've written my first VB.NET app, a ~20 line console application that opens up an Excel document, compares the number of the last line to the number stored in a text document, and if they're different sen...more >>

Progressbar and treeview stops refreshing
Posted by edamron at 3/7/2006 12:15:18 PM
I am writing my first VB.Net program and have come across an interesting problem. My department generates large volumes of documents. By law we are required to keep the documents for a specific period of time based on several factors. The IT department has been asked to develop a program to ...more >>

VB doesn't allow temp tables in Stored Procedures?
Posted by Crazy Cat at 3/7/2006 11:44:30 AM
Using Visual Basic .NET and SQL Server 2005 I attempt to add a query that is a call to a stored procedure in the DataSet Designer. The TableAdapter Query Configuration wizard finds my stored procedure fine but generates the following error when I attempt to add the query Invalid object nam...more >>

returned 100 on bna request
Posted by cj at 3/7/2006 11:43:18 AM
Just did one a few minutes ago Can you check the xml format?...more >>

How to call a form in another project
Posted by Robert Gage at 3/7/2006 10:36:09 AM
Hello All Can anyone tell me in a single solution how to call a form in another project? I have a large solution made up of several projects and need to call back and forth betweem them TIA ...more >>

Threading make computer slow
Posted by PH at 3/7/2006 9:58:20 AM
Hi guys; I got a single processor computer, running an application that launches 2 threads. Each of these threads listens for incoming connections in a specific port, so there is a Loop . Until inside each of them. When a packet is received the thread calls a method that process the ...more >>

Coloured Fade In
Posted by aziz001 NO[at]SPAM googlemail.com at 3/7/2006 9:22:42 AM
My forms have the standard 'Control' BackColor. When I use the normal fade in algorithm the fade in colour is black and then the form suddenly pops up. How do I fade in using the Control color (or any colour apart from black) so it looks more smooth? ...more >>

"VB (9) Rocks" slide show
Posted by Doug H at 3/7/2006 8:21:25 AM
Ran across this (requires Firefox): http://www.pugscode.org/osdc/vb.xul Done by the developer of a new perl6 runtime called pugs. Information about Visual Basic 9 is here, if you haven't already read about it: http://msdn.microsoft.com/vbasic/future/default.aspx ...more >>

control collection
Posted by ctk_at at 3/7/2006 7:51:33 AM
I placed a menustrip on a form; is there any way to read the individual menustripitems from the form? I usually would have done this by using the forms controlcollection. There I can find the menustrip control, but I would have expected to find the menustripitems as children from the menustri...more >>

Parsing XML strings
Posted by almurph NO[at]SPAM altavista.com at 3/7/2006 7:35:01 AM
Hi, I have XML data in a string format and want to extract the content and parse it. Can anyone suggest any methods/techniques/ways to do this please? Any comments/suggestions/code-snippets much appreciated. Al The XML newbie ...more >>

Getting icon from form in dynamically loaded DLL
Posted by Tom at 3/7/2006 7:14:07 AM
I have a main VB.NET application that loads another VB.NET DLL dynamically. Once I have done that, I would like to be able to 'get' the icon of a form in that dynamically loaded DLL. How would one go about doing this in the main form, once the DLL has been loaded? Thanks in advance. Tom ...more >>

VB.Net 2005 Treeview example required
Posted by Karl Rhodes at 3/7/2006 6:58:54 AM
Hi all this may seem really easy to most of you, but Im just getting to grips with 2005 and the new features. I have a dataset from a database which has a ParentID, ChildID and ObjectName fields. I was under the impression I should be able to just cycle through the rows in the dataset and add...more >>

How do I add an icon to the windows statusbar?
Posted by Don at 3/7/2006 5:50:02 AM
I have written a small appliction in visual basic 6, and to enhance it I wish to add an icon to the windows status bar. When this icon is clicked with the mouse then either the application is started or closed. -- Don Grist...more >>

Handles keyword.
Posted by bokiteam NO[at]SPAM ms21.hinet.net at 3/7/2006 1:13:22 AM
Hi All, I didn't use a "Handles" keyword in VB6. I can't sure its funciton. Does it mean that any object behind "handles" keyword will run the same code? ex: Private Sub A(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles B, C, D, E // B , C, D, E objects will get th...more >>

FileStream is adding extra characters
Posted by Hugh Janus at 3/7/2006 12:25:48 AM
Hi group, I am using a TCPStream together with a FileStream to send a file across a network. Everything works fine except for one thing. Always, at the end of the file there are several lines of white space. This is no problem for text files but for binaries it is making them corrupt. I o...more >>

Thread.Sleep(1)
Posted by bokiteam NO[at]SPAM ms21.hinet.net at 3/7/2006 12:01:02 AM
Hi All, I am new to vb.net. I saw a command Thread.Sleep(1) My problem is: sleep who ? or sleep whole app itself ? VB.net support multi-thread? BR/ Boki. ...more >>

Browsers
Posted by ruca at 3/7/2006 12:00:00 AM
Hi, I have a XP collapsible menu that works fine in IE, but in Firefox don't collapses. I know both browsers interprets different thigs. I post the code that I have to allow collapse and expand my menu. Can anyone give me some help in what I have to change to working with firefox or mozil...more >>

Databound Radiobuttons
Posted by news.microsoft.com at 3/7/2006 12:00:00 AM
Hello, I have two databound radiobuttons which have advanced databinding properties of onpropertychanged enabled so that I can raise the columnchanged event whenever the radiobuttons are changed. In the columnchanged event I am simply accepting changes into the dataset. There is no dataa...more >>

vb .net deployment
Posted by at 3/7/2006 12:00:00 AM
Hi all expert, I would like to know how I can execute my own vb .net function during installation. I had created my own setup project, but i don't know how can i make a text file included the Client's Computer Name. Thanks alot. ...more >>


DevelopmentNow Blog