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 monday january 15

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

Common Language Runtime Debugging Services
Posted by michele at 1/15/2007 10:31:39 PM
Hi, I've a problem with my .Net apllication that before runs ok. Now, when I try to run application appears a dialog box titled "Common Language Runtime Debugging Services" and reports "applications has generated and exception that could not handled". My application was develped with Visual Studi...more >>


VB FAQs (Interview Questions) lot lot
Posted by shamirza at 1/15/2007 9:35:52 PM
Question Do ActiveX DLLs made in VB still need the VB runtimes on the machine? ________________________________________ Answer In a word, Yes. Visual Basic does not support what is known as "Static Linking". What that means is that all componets, controls, and applications developed wi...more >>

Interview questions on .Net 3.0
Posted by shamirza at 1/15/2007 9:34:11 PM
4 9 6 18.ATLAS-AJAX Note: - As an IT professional it's useful to know what the difference is between Hype and usefulness. For instance if there is a new technology coming in many programmers just want to implement it because they want to learn it?. But any new technology becomes useful if it ...more >>

Problem running query in code
Posted by John at 1/15/2007 8:19:04 PM
Hi I am using the below code to run a sql on an underlying access table; insStr = "INSERT INTO [Web Site Action Queue] ( Action, [Client ID], [Operator], Request_Date ) " & _ "VALUES (""Modify Client"", 93, ""Administrator"", Now())" Dim insCmd As New OleDbCommand(insStr, dbConContacts)...more >>

Email Foramt Issues
Posted by Arne Beruldsen at 1/15/2007 6:56:00 PM
I have an App (vb.net 2005) where I will be sending emails. I will likely default to Outlook. The emails MUST retain their formatting...especially tables and color. I've been using net.mail and experimented with using Outlook (via Com reference) but can't seem to retain the formats (the t...more >>

pass part of name as argument
Posted by tshad at 1/15/2007 4:28:46 PM
I want to access multiple arguments based on name passed. For example I have the following asp:textboxes: BillingAddress1 BillingAddress2 BillingCity ShippingAddress1 ShippingAddress2 ShippingCity I have 2 subroutines. Sub A call Sub B and passess either "Billing" or "Shipping". I ...more >>

VB.NET Help - Replacement For Inet control
Posted by Rob at 1/15/2007 3:49:31 PM
Hi, My name is Rob I have been trying to use the System.Net.Webclient function without success. In VB6 to get the latest version I simple did this: if Inet.OpenUrl("http://somesite.com/update.php") => (My Application Version) then Main.show else 'Out of date end if But now I cant ...more >>

VB.NET Help - Replacement For Inet control
Posted by Rob at 1/15/2007 3:49:19 PM
Hi, My name is Rob I have been trying to use the System.Net.Webclient function without success. In VB6 to get the latest version I simple did this: if Inet.OpenUrl("http://somesite.com/update.php") => (My Application Version) then Main.show else 'Out of date end if But now I cant ...more >>



datagrid dropdownlist bold
Posted by paulbearden at 1/15/2007 3:18:42 PM
Greetings, How can I set individual lines in a datagrid dropdownlist to bold text? All I've managed thus far is to bold all lines in the dropdownlist. Thanks! paulbearden@sbcglobal.net ...more >>

New line character
Posted by Roshawn at 1/15/2007 2:38:07 PM
Hi, I'm creating some text based on certain parameters using a StringBuilder. I was wondering, how do I specify a newline character in VB.NET? Thanks, Roshawn...more >>

Loading and saving an rtf file from mysql database
Posted by Waqas.L.Khan NO[at]SPAM gmail.com at 1/15/2007 2:20:56 PM
Hi Guys, I'm doing some work with richtextboxes and want to be able to save and load the content from them to a mysql database (including all formatting). I figured the best way to do this would be to save the contant of the rtb to an rtf file and then load the file into a mysql BLOB field: ...more >>

DirectoryInfo Login Page for Secure Directories
Posted by steltenpohl NO[at]SPAM gmail.com at 1/15/2007 1:38:02 PM
Hi, I have a page that allows the user to browse the filesystem on the webserver, what I would like is to pop up a login screen when the user tries to go to a secured directory (using active directory). Once a user logs in they will not be asked to login again unless they try to access a dir...more >>

How to get title of all "child" windows?
Posted by Joe HM at 1/15/2007 1:20:39 PM
Hello - I have an application with which I am trying to determine whether another application has a "child" window open. So I used Process.MainWindowTitle() but that will only give me the main window since the "child" window does not get its own button in the Task Bar. Is there any way to ...more >>

setting form properties during runtime
Posted by Jim Madsen at 1/15/2007 1:11:26 PM
OK--Beginner question-- I have a project with one form -- Form1. To change the text, why can't I use "Form1.Text = something"? Instead I have to use "Form1.ActiveForm.Text = Something". As an exercise, I rewrote a timer app that I wrote in VB 5.0. You set the time, and when it runs, it ...more >>

Getting a timeout expired when filling dataset, cant seem to update the timeout.
Posted by mike11d11 at 1/15/2007 12:27:28 PM
I'm doing a simple TableAdapter.Fill filling my datatable from a view within a SQL database. for some reason it is timing out after 30 seconds and I cant seem to find out where in vb.net 2005 I can go to change the timeout setting for this. when i go to my project, then my settings tab i set t...more >>

System.Net.Sockets.SocketException Error
Posted by Steve Lowe at 1/15/2007 12:18:59 PM
Hi, I have a VB.Net 2003 program that uses Indy to check if there are any messages waiting on a POP mail server. The program has been running fine for a few months, but last week after Installing a network packet reading program called WireShark my VB.Net program no longer runs and generate...more >>

Regular expression time
Posted by thorgal at 1/15/2007 10:53:58 AM
Hello, I'm trying to create a textbox with a regular expression for time. I was wondering if it was possible to create a textbox that has a regular expression like this: 00h00m and that the "h" and "m" can't be changed or deleted. thanks in advance. ...more >>

How to go to the next control?
Posted by Benson at 1/15/2007 10:49:00 AM
I want to use code to move focus from the current control to the next control (don't know the control name). Example, there are texbox A and B, and a button. The current focus is on A. When I press the button, the focus move from A to B with code. Somthing like, GotoNextControl(A). Please ...more >>

Newbie Missing Something with Access DB Update Using VB .NET
Posted by pooba53 at 1/15/2007 9:49:45 AM
I have a VB .NET application that is communicating properly with an Access DB. I have a slew of textbox controls bound to a dataset and when the application launches, the fields are correctly populated. If someone changes a value in one of the text boxes, I need to have a button capture the ch...more >>

Automate file downloads
Posted by steverossiter NO[at]SPAM sbcglobal.net at 1/15/2007 9:31:15 AM
Hi, This is pretty simple stuff but if anyone can point a novice in the right direction it would be appreciated. I have a bunch of URL's that point to files on the internet whose download I would like to automate. Normally, I would have to paste the address in Internet Explorer's address ...more >>

ListView and Registry Key
Posted by Laserson at 1/15/2007 7:35:25 AM
Hi! How can i save all ListView items into registry key with Multistring type and then extract them again and add to ListView?...more >>

Console application to generate Excel file
Posted by Senthil at 1/15/2007 5:33:02 AM
Hi all I created a C# console application that is called through a stored procedure using xp_cmdshell. The application generates an Excel report from the database with a macro embedded in it. The report generation fails when it is through xp_cmdshell. But when I tried to run the execut...more >>

converting bitarray to int64
Posted by vidishasharma NO[at]SPAM gmail.com at 1/15/2007 5:07:54 AM
I have a bitarray with values as {true,false,true,true} I want to convert this bitarray to Int64. How can I do the same, when I take byte[] testbytes = new byte[bit1.Length]; bit1.CopyTo(testbytes, 0) where bit1 is my bit array I get everything as zero When I take bool[] testbytesb...more >>

Resize a control at runtime.
Posted by Ray Cassick at 1/15/2007 1:56:20 AM
Does anyone here have any code that shows how to resize a control at runtime with the mouse like you can do in the designer? The method has to change depending on what corner of the control you are dragging since of you drag the upper left corner the location changes but the width and height g...more >>

not CLS-compliant
Posted by John at 1/15/2007 12:42:55 AM
Hi After importing my vs 2003 project into vs 2005 I am getting the error Name '_DateColumn' is not CLS-compliant. on the second line of below code; <System.Diagnostics.DebuggerNonUserCodeAttribute()> _ Public ReadOnly Property _DateColumn() As System.Data.DataColumn Get Return Me...more >>


DevelopmentNow Blog