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 > march 2004 > threads for wednesday march 17

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

What is the difference between these statements
Posted by Mat at 3/17/2004 11:53:40 PM
Dim s() as string Dim s as string() ??? ...more >>

Distributing vb6 runtime with vb.net application
Posted by quantum at 3/17/2004 11:03:17 PM
I have this third party vb6 ActiveX DLL in my application that require the vb6 runtime dlls to be distributed to the target machine. I am using the msi installer. I already have a working setup project. I included the files in a windows/system32 folder that I created unde "Target machine file ...more >>

how to convert an ado recordset xml format to an ado.net dataset xml
Posted by afsheen at 3/17/2004 11:00:07 PM
Hi, I have a visual basic client using soap tool kit 3 using consuming vb.net web service . I wanted to know that at the server side when i receive an ado recordset xml format string , how can i convert to ado.net dataset xml format to load it to a dataset ... i.e converting an ado recordset x...more >>

converting an ado recordset xml format to an ado.net dataset
Posted by afsheen at 3/17/2004 10:57:49 PM
Hi, I have a visual basic client using soap tool kit 3 using consuming vb.net web service . I wanted to know that at the server side when i receive an ado recordset xml format string , how can i convert to ado.net dataset xml format to load it to a dataset ... i.e converting an ado recordset x...more >>

Need to know which form is active
Posted by SamSpade at 3/17/2004 10:26:01 PM
Two instances of a usercontrol on a form ( same usercontrol class on two forms). I need to know which control is active. I've tried using the controls Enter event. Also tried using the controls WindProc WM_ACTIVATE and WM_ACTIVATEAPP But still sometimes gctlText ( described next) points to ...more >>

Install
Posted by QuocTuan at 3/17/2004 10:21:08 PM
Hi, I write a small program in my computer. How can I run it (my program) in orther computer, it means I want other computer can run my program may I install some program? SomeOne help me?...more >>

ComboBox
Posted by QuocTuan at 3/17/2004 10:16:08 PM
Hi I have a combox in from, please tell me align my text in combox in cente thanks...more >>

Whidbey delayed.
Posted by Fredrik Melin at 3/17/2004 9:52:57 PM
Postponed to Q1-Q2 2005 according to Microsoft in press today.. New SQL Server get's the same date. - Fredrik Melin ...more >>



Webservice and Unix
Posted by Chris at 3/17/2004 9:46:07 PM
Hi I have a progress database on a unix box. Where can I find information on creating webservices to access the unix box Thanks...more >>

HttpWebRequest - How do I make a subsequent request?
Posted by Eria Tlov at 3/17/2004 9:45:09 PM
Ok, I hope this sounds basic. I'm able to set up a HttpWebRequst to go to a site, post my form data, successfully logon, and get the cookie passed. Now how do I navigate to the page I want to go to on this site? The address property of the WebRequest is read only. If I create a new WebReque...more >>

dynamically createing controls
Posted by Brian Henry at 3/17/2004 9:33:28 PM
How would you dynamically create controls and give each one a unique name? I know how to make one control and add it to the forms controls collection x number of times, but what if i want to change the name for each one so its like control1,control2,control3, etc etc... how would you do that? I w...more >>

How to make a auto upgrade using vb.net (null)?
Posted by yxq at 3/17/2004 9:30:02 PM

Open form with cursor in text box ready to receive input
Posted by Terry Olsen at 3/17/2004 9:12:38 PM
I want my form to open with the cursor blinking in a text box ready for the user to start typing. I tried using the txtBox.focus() method in the Form_Load event but that doesn't work. Any suggestions? ...more >>

DTS
Posted by Chris at 3/17/2004 9:06:14 PM
Hi Where can I find information on using DTS with vb.net. I need some samples Thanks...more >>

Newbie ?
Posted by Barry at 3/17/2004 8:30:43 PM
Hi all I am just trying to learn VB.Net. I have no Pryor experience in programming so be kind.. I have a small project that has a working DataGrid and want to print the contents of the DataGrid. I have downloaded a Print Handler from thescarms.com and added it to my project as a class. Now how d...more >>

Pls help me with this VB6 Code conversion
Posted by ErwinRommel at 3/17/2004 8:27:34 PM
in VB6, you can refer a control using this; form1.items("textbox1").text = "Value" can you help me how to do this in VB.NET. thanks in advance. ...more >>

Crystal Reports x Print Manager
Posted by Erich-BR at 3/17/2004 7:44:24 PM
Hi everybody! Does anybody know how can I make the CR.NET calls the Windows XP Print Manager in order to use any printer in my network and printer settings? TIA Erich São Paulo/Brazil. ...more >>

Embedding a Web Control
Posted by Keith at 3/17/2004 7:41:18 PM
Forgive me if this is a dumb question, but I am new to VB. I am designing a web-based application for in-house operations, and would like to build a very simple VB front end that simply contains a web control object as big as the window in which to display the web app I am building. That way m...more >>

VB6 Format() equivalent
Posted by Matthew Hood at 3/17/2004 7:39:46 PM
I'm in the transition on moving from VB6 to VB.NET, and I'm having a hard time finding the equivalent Format function for VB.NET. example: ?Format("1000.1234567", "0.00##") would return "1000.1235" Though the example, I just used numeric values. My routine will need to handle all string obect...more >>

Retrieving raw HTML from web site...
Posted by Terry Olsen at 3/17/2004 7:26:21 PM
I want to retrieve the raw HTML code from a web site into a file so I can parse it. I tried lifting code out of Mike Gerlach's article (http://msdn.microsoft.com/msdnmag/issues/02/10/SpiderinNET/default.aspx), but all I got in the final string was "System.Net[]". If anyone has a different exam...more >>

OT: VB.NET Humor
Posted by William Ryan eMVP at 3/17/2004 6:30:19 PM
I was at DevDays in Atlanta yesterday and someone was showing off some of the new features in Whidbey. Someone asked "What's the better language, C# or VB.NET?" Answer: "Program in whatever you like. If you have a C background, then program in C#. If you have a VB background, program in VB...more >>

Component Toolbox Problem
Posted by Tom at 3/17/2004 5:31:08 PM
Hi I have created a component inherited from the standard ComboBox but cannot get it to appear in the toolbox for use within the project. Anyone know how to get it on there? Thanks Tom...more >>

Enlarge a textbox...
Posted by Ross at 3/17/2004 5:26:21 PM
Hello everybody How do you enlarge the basic textbox settings? I try to do it through properties and set the width and height to different measurements but it puts it back to the "default" settings.(the settings prior from me adjusting it Thanks Ross...more >>

seek help with regular expressions
Posted by usenet_daughter NO[at]SPAM yahoo.com at 3/17/2004 5:25:39 PM
hi i am trying to do a replace in HTML of all instances of <LI><FONT FACE="Times New Roman" SIZE="3" COLOR="#000000"></FONT></LI> for all font faces, all sizes, and all colors with <P>&nbsp;</P> for instance, my document of abc <LI><FONT FACE="Times New Roman" SIZE="3"...more >>

Desktop Communication
Posted by Percy NG at 3/17/2004 5:21:08 PM
Hi Al I am developing a program for Pocket 2002/2003 by using vb.ne I have used FileStream class to create File Handl m_FileHandle = New FileStream(FileName, Mode, FileAccess.ReadWrite, FileShare.Read) and It will be released until the program is closed. I use ActiveSync to retrieve the data dur...more >>

Best Way To Quit An Application - Newbie question
Posted by Richard Harris at 3/17/2004 5:12:22 PM
I have a form that opens a password checking form. Can anyone tell me how to quit the application half way through a Sub without running the rest of the code if the user enters the wrong password. I've tried application.exit() but that still runs through the rest of my code. .. ...more >>

find a value after the character
Posted by DaveF at 3/17/2004 4:29:12 PM
Lets say I have a string like "www.ssss.com/images/theimage.jpg" I want to parse the string and just return the: theimage.jpg ...more >>

Simple caching question
Posted by Jim Owen at 3/17/2004 4:21:51 PM
I know how to use the cache, but in VB.Net I don't know how to be able to get at it. When I type Cache("MyKey") it complains that Cache is not declared. What namespace do I need to import? According to the help, it's System.Web.Caching, but that isn't a valid namespace. I can get System.Web, bu...more >>

A VB.NET Bug ?
Posted by mklapp at 3/17/2004 2:56:06 PM
One of the articles I read touting the new changes with VB.NET, mentioned that VB now optimized it's compilation so that Line 605: Return Line 606: Els Line 607: If IsNothing(ts) Or ts.Length = 0 Then <-------This lin Line 608: ...more >>

DirectCast
Posted by Merlin at 3/17/2004 2:49:03 PM
Hi, I want to call a procedure that exists in more than one form in my MDI application - If I was to know the base form name I would use "DirectCast(me.ActiveMdiChild, mybaseformname).callmyprocedure" How do I call a procedure in my application that exists in more than one created form, fro...more >>

StreamReader
Posted by Chris at 3/17/2004 2:31:06 PM
Hi How can I use the streamReader to read a CSV file and possibly fill a dataset Thanks...more >>

Reading the contents of a picture box?
Posted by Wayne Hoover at 3/17/2004 2:09:39 PM
If a user has not selected a new file for upload but there is already an image displayed (bitmap) in a picture box, how do I read the contents of the picture box into a byte array? ...more >>

Exception on deployment of application
Posted by Simon Jefferies at 3/17/2004 2:02:55 PM
Hello, I have written a VB.NET application and created a setup project for it. I have deployed this project on to Windows XP (no service pack), and when I run a specific form, I get an unhandled exception has occurred in your application. The error message relates to "External component has th...more >>

LOG File?
Posted by CJ Taylor at 3/17/2004 1:30:48 PM
Hey, there is this log file in my Project directory (Bin) that is the same name as my project name with a log extension. It's massive, and here is an example of whats in it. What is this? Anyone have somewhere I can read about it at? f 0 NATIVE FUNCTION ( UNKNOWN ARGUMENTS ) 0 0 s 1 ...more >>

FYI: FAQ for 'System.Web.Mail'
Posted by Herfried K. Wagner [MVP] at 3/17/2004 1:01:08 PM
Dave Wanta published a FAQ on the 'System.Web.Mail' namespace (SMTP mail): <http://www.systemwebmail.net/> -- Herfried K. Wagner [MVP] <http://dotnet.mvps.org/> ...more >>

how to use "For Each Loop in UserControl"
Posted by Shaurya Vardhan at 3/17/2004 12:44:19 PM
Hi, I am working on a User Control in VB. As I have to navigate to all the controls present on that User Control. How to use For Each Loop in Case of User Control ? Or any other better option to do this? Thanx & Regards, Shaurya ...more >>

How to hide public properties in property window at design time
Posted by popman at 3/17/2004 12:37:59 PM
I develop a webcontrol which has some public properties.These properties are shown in propery window at design time. My question is how to hide public properties in property window at design time? Thanks in advance. ...more >>

Syntax problem
Posted by Wayne Hoover at 3/17/2004 12:36:50 PM
Perhaps it's just that I don't fully understand VB.Net at this=20 point (does anyone?!), but I can not figure out how to manage=20 this most simple of processes. I have an image that I load from=20 disk and then save to a SQL database. That part works fine. The problem has to do with my DIM stat...more >>

Is it possible to set a unique constraint on a dataset column but still allow null values?
Posted by tim_frawley NO[at]SPAM fishgame.state.ak.us at 3/17/2004 11:59:05 AM
Is it possible to set a unique constraint on a dataset column but still allow null values?...more >>

Extended ASCII Characters on Korean Computer
Posted by Gordon at 3/17/2004 11:41:15 AM
I have written a Application in VB that sends hex characters to a piece of instrumentation hardware. This works great in Windows "English" speaking computers. But when this is run on a Windows "Korean" speaking computer. I have disovered that the Korean computer does not send the correct characte...more >>

Winsock Control vs System.Net
Posted by Robert at 3/17/2004 11:14:07 AM
Is there a reason I shouldn't use the Winsock ActiveX control and instead use the System.Net and System.Net.Sockets? Thanks Robert ...more >>

Copy Folder
Posted by Andrew at 3/17/2004 11:09:59 AM
Hi all, I am pretty brand new to VB.Net, but I want to begin getting away from VB6 and start using VB.Net for some of my more simple apps to gain some experience. I need some help on what is probably a very simple program. I would like to create a form where I specify a source drive ...more >>

Build an enterprise application for a customer with aprox. 100 Clients ???
Posted by gicio NO[at]SPAM gmx.de at 3/17/2004 10:58:01 AM
HI!!! If you would happen to get the chance to build an enterprise application for a customer with aprox. 100 Clients (.and increasing) which technology and architecture would you choose. The security policy is pretty strong so we would have actually only port 80 available. Besides that no dep...more >>

ASP.NET Datagrid problem
Posted by Pepehammer at 3/17/2004 10:57:01 AM
Hi guys; I got a datagrid, binded to a datareader. This datagrid has columns with datat, plus one column with text boxes. I need to loop thru the datagrid to extract one by one all the values on it How can do this? Thanks MP ...more >>

Key Press in Phone Fields
Posted by Michael Murschell at 3/17/2004 10:48:31 AM
I have 3 fields for the phone number, and I want to have it automatically jump to the next field when 3 characters are entered into the first or second field. How do I do this? Thank you, Mick ...more >>

Net Send
Posted by Richard at 3/17/2004 10:31:10 AM
How do I send a message using Net Send to a group of computers using VB.Net? I would like to provide our I.T. guy with a small app that he can use to select computers from a list of active computers and send them a popup message, like the way Net Send does. Which classes would I use to: loop through...more >>

Real newbie questions
Posted by Danny Ni at 3/17/2004 9:56:44 AM
Hi, The following statement in VB.Net: <%# DataBinder.Eval ( Container.DataItem, "price", "{0:c}" ) %> Can somebody explain to me what DataBinder and Container are? Specifically please explain what classes they are, what namespace they belong to, why they are available in ASP.Net page. T...more >>

DateDiff just got complicated
Posted by Danny J. Lesandrini at 3/17/2004 9:25:31 AM
Maybe I'm missing something, but a search of Google suggested that I = need to do the following to perform DateDiff in VB .Net with native CLR calls. Watch = for word wrap ... there's plenty of room for it with the verbosity of this code ... Dim d1 As Date =3D DateTime.Parse(txtEndDate.Te...more >>

OnPaint override causing graphics to leave artifacts when resized
Posted by Brian Henry at 3/17/2004 9:18:29 AM
I am trying to draw a rectangle that sizes to the size of a user control... which the user control is docked to the form... when i resize the form it redraws but the old lines are still left on the screen makeing garbage images and lines... how do you get the OnPaint event to draw correctly? this...more >>

Declaring object arrays as public
Posted by WStoreyII at 3/17/2004 8:22:58 AM
when ever i try to declare an object array in the declarations area for instanc, Dim MyRows() as DataRow it will let me do this fine but if i try to add a length to it for example Dim MyRows(myds.tables("MyTable").rows.count ) as datarow it will not let me do this it says that "Consta...more >>

What control event allows RaiseEvent?
Posted by SamSpade at 3/17/2004 8:05:59 AM
In Usercontrol code which of it's events is the first one I should do a RaiseEvent in? Also, in which on is the controls Handle valid? Thanks ...more >>

passing object reference
Posted by Thom at 3/17/2004 7:28:58 AM
Hello, I am creating an array of objects in one Sub and passing by value to another Sub for processing where part of the data is displayed in a listview box. I would like to pass the same array of objects to a third sub for additional processing based on user selection in listview box. I mu...more >>

Search A DataSet
Posted by compharm NO[at]SPAM bellsouth-dot-net.no-spam.invalid at 3/17/2004 7:19:02 AM
I have created a DataSet from a MySQL db using the ByteFX fxns, however now that I have my dataset how do I search within that dataset? Basically I need to search a non-primary key against an array, found/matched records will be updated, and unfound records will be inserted/created. If som...more >>

copy paste
Posted by Dom at 3/17/2004 7:11:09 AM
I have a form I use to add new user or display existing user When the form load, if it's an existing user, I fill the form fields with user's data. For a new user, I do nothing My problem is with an existing user, I can right-click fields to get the default menu to cut-copy-paste data Why do...more >>

Multiline TreeNode
Posted by roy_clemmons NO[at]SPAM hotmail-dot-com.no-spam.invalid at 3/17/2004 5:20:03 AM
Greetings, The Text property for a TreeNode only displays one line. For example: Root Node | | - Child Node Line 1 | | - Child Node 2 However, I need a TreeNode that displays multiple lines of strings. For example: Root Node | | - Child Node Line 1 Child Node Line 2 Ch...more >>

Option Strict On disallows implicit conversions from 'System.Object' to '1-dimensional array of System.Windows.Forms.ListViewItem'.
Posted by jpeeters NO[at]SPAM lashout.net at 3/17/2004 5:08:11 AM
Hello, I'm using the example from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchimpdragdrop.asp , Dragging Between Lists However, with option strict set to on, i get the following message:Option Strict On disallows implicit conversions from 'System...more >>

VB.NET Bug in Code Formatting
Posted by lee.ottaway NO[at]SPAM nuesoft.co.uk at 3/17/2004 2:53:37 AM
I wonder if anyone else has had this problem. Everything in my VB.NET 2003 project has been working wonderfully for months however, suddenly whenever I delete some code or cut and paste it elsewhere the divider lines between the various procedures becomes screwed up. The dividers move into the...more >>

Hiding columns in data grid
Posted by Jawahar at 3/17/2004 2:31:09 AM
I have an unbound datagrid that has the DataSource set at run time depending on the user selection of various catergories In the Grid there is for column(0) a select command button that is not visible and is used to select the row in the gird The next column is the column I an trying to hide like ...more >>

datagrid in vb.net ( not asp.net )
Posted by James Lang at 3/17/2004 1:28:01 AM
OK all you clever people I have a datagrid in vb.net that is bound to an arraylist I have created a DataGridTableStyle and added the columns I want to show and all works well Now for the sticky bit If I edit a cell and tab or click to the next cell then the edit is OK the underlying data i...more >>

How to draw this type of control
Posted by msbhalla NO[at]SPAM yahoo-dot-com.no-spam.invalid at 3/17/2004 1:18:18 AM
http://www.geocities.com/msbhalla/perc.htm Please visit the above link. I need to draw this type of control in a windows application. So, how can I do it? Are there any ready made controls available for this? Looking forward to a speedy reply. Regards, Manpreet Posted Via Usenet.co...more >>

Biast to WM_COPYDATA
Posted by nak at 3/17/2004 1:05:07 AM
Hi there, I'm trying to send messages to and from applications written in VB.NET, I wish to do this by sending windows messages. Though I have come across a problem, I wish to be able to send my own custom packets in the form of a string in the lParam parameter but can only seem to do thi...more >>

Threading newbie problem: How do I join once a thread is done?
Posted by Matthew Speed at 3/17/2004 12:01:33 AM
I've written a TCP/IP server. The main loop in the code looks like this: While Not shutdown Console.WriteLine("Listening for connection...") Dim svrsocketforclient As Socket = tcpl.AcceptSocket svrsocketforclientthread = svrsocketforclient ...more >>


DevelopmentNow Blog