Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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

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

Vectors in VB.NET?
Posted by John at 3/31/2007 11:05:53 PM
Is it possible to implement vectors in VB.net as done in C++? If not, how can I declare an object that is a collection of integers similar to a vector? ...more >>


Newbie - Combobox Fill and Update Confusion
Posted by Randy at 3/31/2007 10:29:44 PM
Hi, I'm venturing out from VBA into VB Express 2005. I've searched MSDN and this group for what I think should be a simple and common exercise - populating a combobox with the values in a table and allowing the user to enter a new value, which would then be added to the table. I've made a re...more >>

VB.NET 1.1 - Listbox vs. CheckedListBox question
Posted by bh at 3/31/2007 4:56:11 PM
In the Listbox, there are properties for DisplayMember and ValueMember, just like the combobox, however, those properties are not present for the CheckedListBox. Does this mean that the only value you can actually reference in a CheckedListBox is what is actually dispalyed in the item? Is ...more >>

Resource Location vb 2005 .net Expr Edition - multilanguage
Posted by spig.marco NO[at]SPAM gmail.com at 3/31/2007 10:59:58 AM
Hi to all, I read from internet that doesn't exist "Generate Resource Location" for vb 2005 .net EE. But can I do this with a manually procedure? And How can I do? A can't find a simple/sample tutorial thanks! I want to make a simple application with multi-language ITALIAN and English, w...more >>

An app to generate the standing of a race
Posted by mrjaune NO[at]SPAM hotmail.com at 3/31/2007 8:56:11 AM
Hi, I'm quite a newbie and I want create an application to generate the standing of a race. 1 - You enter the data relating to the racers: Name Number Points in round 1 Points in round 2 2- The app calculates the total of points for each racer. 3- The app give the list of the racers fro...more >>

bindinglist not synching
Posted by Rick at 3/31/2007 12:00:00 AM
VS 2005 I have a class of BindingList(of T) to use as a datasource for a lookup combobox. The combobox is to lookup the Terms for a Purchase Order. When I implement this on my Winform, the combobox does not synch with the underlying data, i.e. the Terms description does not show for the t...more >>

XML Validator Mistaken?
Posted by Peter at 3/31/2007 12:00:00 AM
Hi, I think the XML validator in VB is screwing up somehow. Not sure what the problem is. I have a line in an XML file that reads: <PXPPaperColor color="ff928a" name="Cherry"></PXPPaperColor> The XSD statements corresponding to the "color" attribute are: <xs:attribute name="color" type...more >>

Screen resolution
Posted by Michel Vanderbeke at 3/31/2007 12:00:00 AM
Hello, Can someone help me with tips and code on how to make a VB.NET 2005 program fit to any screen resolution, the user might have. Is there a standard resolution in which I have to make the program, so it can be adjusted through code on every possible resolution that is on the users PC?...more >>



Toolbarbutton as toggle
Posted by Michel Vanderbeke at 3/31/2007 12:00:00 AM
Hello, Is it possible to use a Toolbar Button as a toggle, so that one click shows a form and a second click closes it again? MAny thanks and greetings, Michel ...more >>

XML Data Access
Posted by Peter at 3/30/2007 10:11:05 PM
Hello, I must confess I am now very confused. I am simply trying to write a program that uses data from various XML files to populate a sea of controls, and uses them in turn to make changes to the XML files. Sounds easy, right? I'm used to programming in VB, but this is my first foray into...more >>

Keep FoxPro Alive!
Posted by Ioannis Stefis at 3/30/2007 10:01:28 PM
This page is opened by an idea from the Visual FoxPro Spanish community, this page is opened for doing a campaign asking to Microsoft to continue with the Visual FoxPro development, release the full source code as Open Source or make an agreement with a 3rd party for continued development of fut...more >>

Fill Datagridview with rows so that it does not look empty?
Posted by Mar72Vin at 3/30/2007 8:44:00 PM
Hi All, If a datagridview only has a few records the grid looks very untidy because there is is lot of blank space in the grid. Is there anyway to tell a datagridview to fill the entire viewable area with blank rows? cheers, Tim ...more >>

Error handling
Posted by Michel Vanderbeke at 3/30/2007 7:49:14 PM
Hello, In all my VB.NET 2005 routines, I already inserted a Try...Catch routine in order to handle my errors. Is it possible - despite the presence of the Try...Catch routine, to let the program break on every error thus giving me the opportunity to adapt my code? Many thanks and greetings...more >>

Start exe in new process and pass a parameter?
Posted by Dean Slindee at 3/30/2007 7:46:08 PM
From an executable that I have running, I would like to start a different executable, and if possible, pass it the key of the row in a table to display upon launch. Assume that I have written both executables in VB.NET. What would be required in the way of startup code in the called executabl...more >>

Asking Again, Why Would I Have This Runtime Error
Posted by David C. Barber at 3/30/2007 7:19:24 PM
Asking again, I've just built my first Setup-Installable VB 2005 package. I have the full Profession Edition VS 2005, not the Express edition, and am patched to the current SP. It installs on the development machine (Win 2K) and runs just as well as it does in the VS IDE. I used the Walkthrou...more >>

Datasets accross a network.
Posted by tclancey at 3/30/2007 6:22:10 PM
Hi All. I've been trying to think of a way to pass datasets, or tables from one PC to another. This would be the scenario. Client PC sends an SQL query to a 'server'. The 'server' would make a connection to a back end database. The 'server' would retrieve data and send it back to the cl...more >>

Why do these two methods produce diffrent output
Posted by Chad Miller at 3/30/2007 5:31:22 PM
Public mLength As Integer Public mChannels As Short Public mSampleRate As Integer Public mDataLength As Integer Public mBitsPerSample As Short Public Sub CreateWaveHeader(ByRef sPath As String) Dim fileNumber As Integer Try fileNumber = FreeFile() ...more >>

best way to check my local area network is up and running
Posted by cj at 3/30/2007 4:07:33 PM
How would you suggest I test that my network drive is still up and running. Right now I'm going to write to a file at the root of the drive and then read it back in. If either the write or read fail I figure the network is down. Any better ideas?...more >>

Raising Events
Posted by Rob at 3/30/2007 4:06:05 PM
I'm new to event processing in vs 2005 - what I'm trying to achieve is broadly a network simulation of two workstations sending packets to each other . I have defined a class 'Workstation' and I was hoping to define events where in instance A (or workstation) I could raise an event 'Send' ...more >>

newbie: RadioButton
Posted by bz at 3/30/2007 2:17:09 PM
Hi, Sorry... for all these newbie questions but MSDN sucks nowaday... ;( I have 5 groups of RadioButtons and each group has 10 buttons. There is no control array. So, am I understanding this correctly that I need to have 5 x 10 = 50 If-Then-Else statements to check which RadioButtons are...more >>

Deploying the framework.
Posted by tclancey at 3/30/2007 2:15:18 PM
Hi all. I can't find any information on the best way to include the current Framework in my deployment, or automatically set it off if it isn't already installed. Can anyone point me in the right direction? Cheers, Tull. ...more >>

Now number to ascii string
Posted by Freddy Coal at 3/30/2007 2:12:28 PM
How convert a number for the string equivalent? For example: I have the number "16448", I would like take this number in a two bytes strings, the number represent the "@@". Thanks in advance. Freddy Coal ...more >>

Transpernat form
Posted by yhlove NO[at]SPAM gmail.com at 3/30/2007 1:59:09 PM
Hi I want to make a project in which only the controls will be seen. I want the form to be transperant (include the blue title of the form and the borders) but the buttons,TextBox,etc to be seen vy the user (It should look like thers a "floating" buttons\textBox on the screen...) How can I...more >>

Enable application framework
Posted by vovan at 3/30/2007 1:56:39 PM
In a new WindowsForm project with default settings I wrote a loop: For Each frm In My.Application.OpenForms If frm.Name <> "MDIMain" Then frm.Close() End If Next Everything was fine until I decided to use Sub Main as Startup object. In order to have it in the list of startu...more >>

newbie: how to use the CheckListBox
Posted by bz at 3/30/2007 10:59:30 AM
Hi, I fill out a CheckListBox from the IDE with 10 items. I am trying to mark the checkboxes in a CheckListBox at runtime. But... I have absolutely no idea how to do that. (e.g.) I want to mark the 5th and the 6th items at Form_Load. <g> be using VB6 for 10 years and have no idea what t...more >>

DataGridView and Generic.Dictionary (VB.NET 2005)
Posted by Stephen Costanzo at 3/30/2007 10:00:51 AM
I have: Public Class test Private displayValue As String Private dbType As Integer Property Display() As String Get Return displayValue End Get Set(ByVal value As String) displayValue = value End Set End Property Property DataTy...more >>

Soap
Posted by cj at 3/30/2007 8:48:34 AM
I've got a Soap web client written in VB. I'm wondering if it would be ok to run this same program multiple times on the same pc. Would they get confused with which of them requested what information? I'm guessing it would be ok but......more >>

Custom Date Validation Check Function
Posted by John Smith at 3/30/2007 8:47:28 AM
Hello, I have a VB.NET application with a Windows form that have several textboxes fields where I have dates entered. I would like to do a date validation check after the the field is updated, so I' using the leave event. Right now I am creating a 'leave' sub for each of the fields. However,...more >>

Lookup combobox
Posted by Rick at 3/30/2007 6:47:09 AM
VS.2005 I have several lookup combo boxes in my windows project and would like to do a "lighter weight" binding. Currently I am using a strongly typed dataset with a binding source as the DisplayMember and ValueMember. This seems like overkill since I don't use much of the datatable funct...more >>

StackOverflowException in Thread
Posted by Bubba at 3/30/2007 6:22:02 AM
I've written code that uses a thread to read a 70K line CSV file one line at a time, however, after about 9 to 10 thousand lines into the file I get a StackOverflowException while the thread tries to update a counter. I'm sure I'm doing this correctly but if anyone can tell me different I'd ...more >>

system.web.mail
Posted by HDI at 3/30/2007 5:26:13 AM
Hi, How does the this work? Can you use a valid smtp-server to send mail from 'whatever you choose' to 'whatever you choose'? Without checking? I Don't need to gife a username and paswoord of my account. Thx ...more >>

How to search for a keyword in a StringBuilder?
Posted by Laser Lu at 3/30/2007 12:00:00 AM
Sometimes, I need to do some time-consuming operations based on whether a specific keyword was contained in a lengthy string. Then, for a better performance, I wrapped that lengthy string into a StringBuilder. But after doing that, it seems there's no proper methods defined in StringBuilder f...more >>

ListView and Thumbnail Sizes
Posted by Duracel at 3/29/2007 4:02:54 PM
Hi (this is a rephrase of my question from yesterday!), How can I set the size of the thumbnails of a listview in thumbnail mode? I'm owner drawing images from my own cache (i.e. they aren't stored in LargeImageList) but the only way I can see to tell the listview how large I want each thumb...more >>

Add Domain user to local group
Posted by Mike at 3/29/2007 11:26:49 AM
I am trying to create a small admin toolset using visual studio 2005 (vb). I want to be able to supply a domain username and have it add to the local workstation Remote desktop user's group. This is the code I have so far. Dim LCL As New DirectoryEntry Dim DOM As New Directo...more >>

ToString Format
Posted by Verticon:: at 3/29/2007 11:02:37 AM
Is there a way to call Integer.FormatString(format) that will return the integer value along with its symbol? Integer 56 should return "+56" Integer -34 should return "-34" ...more >>

OOP Inheritance
Posted by RSH at 3/29/2007 10:26:02 AM
Being rather new to OOP constructs I have a question regarding inheritance. What is the proper way to setup my classes in a Company/Employee relationship. I have a Company Object and a company has employees (one to many relationship) and CompanyDeductions. The Employees have EmployeeDeduct...more >>

on screen keyboard
Posted by jonathandrott NO[at]SPAM gmail.com at 3/29/2007 8:41:58 AM
Hi, i'm kinda new to vb.net and i'm trying to make an on screen keyboard to use with a touch screen. how do i get it to print a letter on the screen when the button is pressed in the textbox that is selected? do i do it as a ascii character? i'm trying to get data from a user. there are a c...more >>

Help with TreeView control
Posted by Dan Rolfe at 3/29/2007 7:46:30 AM
Hello all! I am wondering how to read the KEY value off of a TreeView Node. I assign the nodes these key values when I add them to the control, but I cannot figgure out how to recall that information back. Is this possible even?? Why do they allow you to add a unique key value if you cant ...more >>

TextBox.SelectAll() not working
Posted by PR at 3/29/2007 3:59:32 AM
Hello, I have a bunch of textboxes on my form, and I would very much like it if their text could be automatically selected when each one is entered. I've tried code like this: Private Sub TextBox3_Enter(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox3.Enter ...more >>

Custom Structures in a Custom Control?
Posted by PR at 3/29/2007 3:55:21 AM
Hello, I'm creating a Windows control that includes a few textboxes. In the form designer, I want there to be one property that drops down into a few sub-values for the different text boxes, somewhat akin to how Location and Size usually work for many standard controls. (There may be mor...more >>

Interaction of windows service with UI
Posted by sonu at 3/29/2007 3:07:14 AM
Hello all, I am trying to develop an application which will run as a windows service. The application should have Normal options available with service like start, stop and pause but along with this I need an option to show the windows application which my service has started as a re...more >>

Can you enumerate all inherited classes?
Posted by jacques NO[at]SPAM designfault.co.uk at 3/29/2007 2:33:34 AM
Hi all, I've written a load of classes which inherit from another base class which I've written. Is it possible to enumerate all the classes which inherit from a particular base class? I'd like to dynamically produce a list or collection of all these classes, so when I add another dirved clas...more >>

How to show progress bar during the files or folders deletion
Posted by Riky at 3/29/2007 2:21:36 AM
hi i have a windows application. I am select the folder or file name from the folderbrowserdialog box and to delete the folder or file i am calling the following code. Public Function DeleteFile(ByVal path As String) As Boolean 'Delete a specified file Try I...more >>

Cannot store arraylist in session
Posted by ricardo.sobral.santos NO[at]SPAM googlemail.com at 3/29/2007 12:05:51 AM
Hi there, I cannot store an arraylist in a session. I have read some posts and still found no solution. I am sure it might be something simple, but since I have been around it for quite sometime I ask for your advice. Here is my page load. Protected Sub Page_Load(ByVal sender As Object, B...more >>

Resources and Unit Testing
Posted by Duracel at 3/29/2007 12:00:00 AM
Hi, How is it possible to write a series of files (contained in a test project) out to the test project location (i.e. whatever apppath will be)? Test suite doesn't run the executable from bin\debug, but puts it somewhere rather random (application data). So the build environment variable...more >>

DateTimePicker - Format Value
Posted by Terry at 3/28/2007 10:32:34 PM
My system short date format is dd/mm/yy. The DateTimePicker returns mm/dd/yyyy hh:mm:ss PM. I need to get this value formated into dd/mm/yyyy regardless of the system short date format, what do I need to use please. Regards Terry ...more >>

VB .NET SQL issue
Posted by Jawad at 3/28/2007 8:14:17 PM
I cant seem to figure out why my full outer join query works fine in Query Analyzer but its not returning all the data when i read the data back from reader. QUERY: ------------- SELECT * FROM ( (SELECT col1, col2 FROM table1 WHERE col1 LIKE 'STRING1') t1 FUL...more >>

Virtual List View and VirtualListSize property
Posted by Duracel at 3/28/2007 8:02:57 PM
Is there a maximum number for the VirtualListSize property when using a list view in Virtual Mode? When I set it to 1,000, 10,000 or 100,000 I seem to be able to scroll the correct number of items, but when I set it to 1,000,000 the scroll bars behave like there are 1,000,000 items, but ren...more >>

Binary string (4) to Double
Posted by Freddy Coal at 3/28/2007 4:56:46 PM
Hi, I'm recovery data from an spectrum analizer, the equipment send me data in binary, each data in the trace have 4 bytes, I would like convert that to double, how make that?. I'm trying extract the data in substrings of 4 chars, and convert this with Cdbl(my substring), but I get an Inval...more >>

wow so you guys ALMOST have the same functionality as Access 10 years ago!
Posted by Susie DBA [MSFT] at 3/28/2007 4:33:33 PM
I just love this http://www.ftponline.com/channels/net/reports/vslivesf/2007/lthekeynote2/ Microsoft still thinks that SQL Server should be 'brought into Visual Studio' hasn't this been a feature that they've already sold to us-- in ever version of VS for the past decade? I just find it ...more >>


DevelopmentNow Blog