Archived Months
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


all groups > vb.net controls > august 2004

Filter by week: 1 2 3 4 5

Bug with Label Text?
Posted by cmwells1 NO[at]SPAM hotmail.com at 8/31/2004 6:51:00 AM
I'm using Development Environment 2003 with .Net Framework 1.1. I have a right-aligned label on a Win form as part of the copyright notice. The text property is set to: "All rights reserved." Problem is, the period displays at the beginning of the text, not the end. Just for grins and gigg...more >>

Progress Bar
Posted by Dino Buljubasic at 8/27/2004 7:55:14 PM
I have a form that has a progress bar on it for tracking opening of a file. Everything works fine but when I click on X (Close) toclose the form while my progress bur is running, I get the window saying "This program is not responding" How do I fix this? Thanks...more >>

Left click listview item
Posted by Gerry Viator at 8/27/2004 11:21:16 AM
Hello all, Please help, I want to send a left click over an item in a listview vb.net on the first item. How can I do this? thanks Gerry ...more >>

Drag/Drop with listviews
Posted by Matt Michael at 8/27/2004 11:05:48 AM
I'm writing an application that has a treeview that represents different user folders that a user can have messages in, and a listview that displays messages within that folder. The listview is multiselect, and I can move multiple messages to a different folder through a context menu that ca...more >>

Listview Problem
Posted by trialproduct2004 NO[at]SPAM yahoo.com at 8/27/2004 2:24:12 AM
Hi all I have one problem regarding listview control When i set view property of listview to largeicon, it works fine but if i change view to detail and clear listview as well as imagelist and then add items to listivew and imagelist, it is not displaying images in listview can some one help m...more >>

format datagrid column for negative numbers
Posted by Randy K. at 8/26/2004 12:03:32 PM
I need to format a column that contains money/decimal datatype and want it to display as -$1000.00 and not ($1000.00). How do I format this WITHOUT converting it to a string and without globally having to change the way currency is formatted? TIA, Randy ...more >>

Looping through a Combo Box
Posted by Jay Esguerra at 8/26/2004 11:09:46 AM
Can anyone tell me what is the best way to loop through a combo box collection because I would like to do a comparison on the value which is the selected value (not the value this is displayed)? ...more >>

multi column combo box
Posted by Randy K. at 8/26/2004 10:22:47 AM
How do I get a multi column combo box like in office/VBA? I am looking to have 2 or 3 columns displayed in the drop down list and then show one column in the box when selected and may use a different column as the 'bound' column. Is this possible with the standard combo box control in 1.1 fra...more >>



Baloon or Tooltip Message at SystemTray How-to
Posted by Sam Learner at 8/24/2004 2:20:04 PM
Hi Everyone, I want to design a utility that will give the user some notification messages similar to the way Outlook 2003 or the "Windows Updates Notification" Notify users with a Balloon that is animated at the lower-Right corner of the Screen. I am using VB.NET 2003 Is there a class alr...more >>

3rd Party Fuzzy Logic Control
Posted by cemich NO[at]SPAM comcast.net at 8/23/2004 12:22:44 PM
I'm trying to find out if there are any third party controls out there that perform fuzzy logic searches. For example, I have a search that is based on first name, last name, and phone number. If I put in: First Name: Chuck Last Name: Smith Phone: (410) 333-2222 I want to make sure we...more >>

INTERNET VB
Posted by divpip NO[at]SPAM hotmail.com at 8/22/2004 10:49:35 AM
can i put a vb exe onto a webpage, so the file runs when the page loads? thanks Div...more >>

Changing label.text programmatically
Posted by dan at 8/21/2004 9:00:23 AM
The program processes a large number of files. I want to display in a label the name of the file under process. Thus I inserted the statement: Me.MyLabel.Text = FileName. The label remains blank. In the same program I have the statement: Me.MyLabel.Text="Validation completed" which works af...more >>

Textbox control missing the focused property.
Posted by pbernst2 NO[at]SPAM csc.com at 8/20/2004 5:54:51 PM
I am currently working on a project that requires programmatic control of the tabbing order on the form. This is a rich client app. I need to detect which control has the current focus. For some reason, the textboxes and radio buttons do not have a "focused" event when I right-click in the code...more >>

Setting dataitem in a data grid
Posted by Steve Lloyd at 8/20/2004 5:22:11 PM
Hi, Is it possible to change the text in a datagrid item in the the itembound event ? I am executing the following code but it fails to update the row on the webpage, it doesn't throw any errors but neother does it update the text. Thanks for any help. Private Sub DataGridArticles_It...more >>

Creating my own Tabcontrol-like control in VB.Net
Posted by André Nogueira at 8/20/2004 3:27:41 PM
Hi there. First of all, sorry for the double post, but I was not sure about which was the most correct group for this question... I am trying to create my own control that will be alot like the control Outlook 2003 has where you can choose "mail", "Calendar", etc. However, I've got two questi...more >>

Datagrid background color
Posted by Starbuck at 8/20/2004 11:57:18 AM
Hi Is it possible to set the background color of each line in a datagrid depending on the numberic value of one of the columns Thanks in advance ...more >>

datagrid question
Posted by Starbuck at 8/20/2004 11:54:04 AM
HI Is there a way of making the grid highlight the entire selected row? Thanks in advance ...more >>

Refresh datagrid on main form from sub form
Posted by m_doolio NO[at]SPAM hotmail.com at 8/20/2004 7:46:57 AM
I've got 2 forms: 1 main form with a datagrid (dgCurOrder) and one small form for OrderEntry When the user adds a record to the datatable (OrderDs.Tables("orderregels")) the record's added I can update the underlying access database with the dataadapter. But I cannot refresh the datagri...more >>

Determine what control fired the event
Posted by Ray at 8/20/2004 12:16:52 AM
Hi guys, considering the following code below, how do I determine which control caused the sub to execute? Ray. Private Sub TwoButtons_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click, Button2.Click End Sub ...more >>

Listbox scrollbar
Posted by James Grant at 8/19/2004 8:09:42 PM
Is there a straightforward way to recognize when the user uses the scrollbar of a listbox? Thanks for any suggestions. Jim ...more >>

TreeView drag and drop
Posted by Dave Taylor at 8/19/2004 1:02:47 PM
I'm implementing a drag-n-drop operation from a TreeView to a ListView control Everything seems to work fine except one little hitch...if the user clicks on and starts dragging (i.e. no MouseUp) a node which was not previously the SelectedNode, the SelectedNode does not change to the node the ...more >>

Invisible VB.NET Controls in Visual Studio 2003
Posted by Viet at 8/19/2004 8:37:30 AM
Hi, I am working on an in-house complex VB.NET application that has numerous controls. This application loaded up fine in Visual Studio 2002. Unfortunately, my Windows 2000 workstation crashed and I had to re-install everything and upgrade to Visual Studio 2003. The situation that I am having i...more >>

Excel File Format of ".CVS"
Posted by a NO[at]SPAM b.c at 8/17/2004 11:59:06 AM
Dear Programmers, Could anyone send me to the right location to find code/example on how to take information from Excel File Format of ".CVS" into VB.Net for data manipulation? TIA ...more >>

Question regarding Disposal Collector
Posted by astroboy at 8/17/2004 11:55:49 AM
I have a form, inside the form a multiple user control and and different control. When that form is close, dispose or set to nothing, does the user control automatic get dispose, and clean it itself without setting it to dull or dispose it? Or it will floating around if not provide in Sub F...more >>

Coolbar in VB.NET
Posted by Vikash Yadav at 8/16/2004 7:20:07 PM
Hi, I am new to this group. Can anyone, please tell me how to integrate Coolbar similar to VB6 in VB.NET. Thanks and regards, Vikash ...more >>

MDI Child formQuestion catching Child Closing
Posted by Neil at 8/16/2004 1:51:01 PM
I have a MDI child that I instantiate after a button click. (ex: If (frmPositions Is Nothing) Then frmPositions = New Form2 frmPositions.MdiParent = Me Me.ResumeLayout(True) frmPositions.Show End If Problem: ...more >>

2 newbie questions
Posted by Hari at 8/13/2004 2:55:24 PM
From: "Hari" <harixseshadri@yahoo.com> Subject: 2 extreme newbie ?s Date: Friday, August 13, 2004 2:43 PM I just started programming in Visual Basic.NET about a month ago, so I am completely oblivious as to which libraries to look in. However, I have good experience with Java and C. Below a...more >>

MenuItems and TAGs?
Posted by John Rugo at 8/13/2004 7:57:15 AM
Hi All, Does anyone know if there is some type of TAG property to assign values to a MenuItem? Thanks, John. ...more >>

Remove Multiple Sub Menu Items?
Posted by John Rugo at 8/12/2004 11:13:27 PM
Hi All, I am trying to figure out a simple way to remove all the sub menu items of a specifid menuitem. For example Menu1 Menu1-A Menu1-A-001 Menu1-A-002 Menu1-A-003 Menu1-A-004 Menu1-A-005 Menu1-B I want to remove all the Sub MenuIte...more >>

Textbox positioning
Posted by Robin at 8/12/2004 8:23:27 PM
With a page that is in gridlayout mode how do you dynamically position a text box to appear after a datagrid? ...more >>

PowerPack Notify Window
Posted by bmeents NO[at]SPAM argotech.com at 8/12/2004 4:58:50 PM
Hello, I realize that the PowerPack isn't officially supported or anything, but I thought I would post anyway and try to get some feedback on this. What I'm trying to do is show the notification window outside a form - as in the notification window is created and shown using code inside a cl...more >>

Context Menu / Pop-Up menu
Posted by Ray at 8/11/2004 11:12:05 PM
Hello, I want to right click on my form or control and have a context menu appear right next to the mouse instead of some silly relation to the 0,0 of the screen. Can somebody please tell me the normal way to do this. Ray. ...more >>

Remove Added Buttons?
Posted by John Rugo at 8/11/2004 4:59:05 PM
Hi All, I am getting errors when trying to remove buttons from a form that I added via code. I have a Panel called panBTN I have added buttons to it... Several buttons Private Sub AddButton() btnScrMgr = New Button With btnScrMgr .Parent = panBTN ...more >>

Making a Data Navigator User Control
Posted by Spence at 8/11/2004 12:49:06 PM
This is really a stupid question but I can't figure out how to make a user control that allows moving record by record thru a database. My application uses datasets filled from sp running against a table. I have several such datasets on a form that uses a tab control to display different pages...more >>

Tree view selection question
Posted by Sameh Ahmed at 8/11/2004 9:54:23 AM
Hello there Need to programmatically select a node in a treeview control. the IsSelected property is read only, any ideas? Regards Sameh ...more >>

key combination question
Posted by Sameh Ahmed at 8/11/2004 5:33:35 AM
Hello there I need to take a specific action when the user presses a combination of keys in a listview control the problem I am facing is that the code executes when I press only one of the keys. here's the code that I use and does not work thanks in advance Private Sub lv1_KeyDown(ByVal send...more >>

Make Combo Box ReadOnly?
Posted by Dianne Siebold at 8/10/2004 9:58:00 PM
I have a number of controls on a tab and they display data but I want to prevent the user from editing them. Right now, I set the ReadOnly property of the text boxes to true which displays the data in a dark font on a gray background and the user cannot edit them. However, right now for the opt...more >>

Add multiple buttons on the fly?
Posted by John Rugo at 8/10/2004 11:37:10 AM
Hi All, I am trying to figure out how to Add multiple buttons on the fly onto a form. Long story short... I want to dynamically provide buttons for a number of functions and associate them to an Event. For instance: I may want the following buttons created: Button 1 Button 2 Button 3 o...more >>

Associate an Event with a New Button?
Posted by John Rugo at 8/10/2004 10:24:31 AM
Hi All, Can someone tell me how to associate an existing event with a new button? Dim NewBtn as Button() I have a paint event called CPPaint(byVal Sender, ..........) Handles Button1, Button2, etc..... Now how can I associate my new button(s) with the existing event? Thanks, John. ...more >>

FlexGrid from Component One - Put an Image in a Cell using Styles
Posted by Ray at 8/10/2004 12:57:16 AM
Hi Guys. This is a question about the juicy little MS/Component1 freeby flexgrid = that was very nicely spotted by Ken Tucker. = http://www.componentone.com/products.aspx?ProductCode=3D1&ProductID=3D17 http://msdn.microsoft.com/vbasic/vbrkit/default.aspx This code is to set a style to any ...more >>

Hotlight a Listbox Row
Posted by Al at 8/9/2004 4:44:53 PM
Hi All, I am trying to duplicate the hotlight feature of a combobox (with a DropDownStyle of DropDownList) in a listbox. I want whatever row the mouse is over in the listbox to appear selected. Unfortunately, I can find very little information on this. Thanks for the help. Al ...more >>

Internet Explorer
Posted by a NO[at]SPAM b.c at 8/9/2004 11:26:09 AM
When downloading a file a dialog box pops up... how does one deal with it using VB.Net? Details: I select a file to download.... a dialog box pops up for me to confirm the file download... I would like it to select "ok"... TIA ...more >>

Create Class to Create Button Objects?
Posted by John Rugo at 8/9/2004 10:58:40 AM
Hi all, I need some direction creating the following. I want to create, on the fly, Buttons within a Panel object on Form1. I want to learn more about class modules. I want the buttons created to supply a text Name and Click events. Any examples of how to do this would be Great! Thanks, ...more >>

How do i to set field focus in a tab control automatically
Posted by csgraham74 NO[at]SPAM hotmail.com at 8/9/2004 9:22:44 AM
Hi all, Basically ive built a vb .net app using a tab control for displaying and entering data. I originally hard coded this with the names of the various fields to have focus when i moved between tabpages. I feel i should be able to do this in code by obtaining the highest or lowest tabindex...more >>

IDE crashing, HELP!
Posted by Spence at 8/8/2004 10:35:16 PM
I've been working on a program that I developed a custom control for. Suddenly when I attempt to place the control on a form, the IDE crashes with a stack overflow. It's obvious(I think) that the problem is the custom control itself yet the build works without any problems. I've tried putting ...more >>

AutoRedraw alternative?
Posted by Ray at 8/8/2004 12:51:30 AM
The AutoRedraw property of the forms is no longer with us it seems. I can use the paint event but it's slow, if I drag a msgbox over my control/form I get flickering. If I drag the msgbox over a dotNET control (like a large datagrid) it doesn't flicker! Any suggestions? Ray. ...more >>

Update control on Main form from subroutine
Posted by bill at 8/8/2004 12:29:02 AM
I have a single VB.NET form, "Main", with several labels and a button. When I click the button, it calls a chain of nested subroutines one of which contains a line counter that increments with each pass through a loop. I haven't been able to get the label to show the value of the line counter...more >>

Where is the old fashioned flexgrid control?
Posted by Evan Tomlinson at 8/6/2004 9:49:09 PM
Hi, I am recently started to work with the dot-net framework but has several years of exprience of Visual Basic (version 4-6). In my old VB 6 environment I have a FlexGrid control which is simply a plain grid you can do anything with, including connecting to a data source. However, what I f...more >>

2 DataView's from 1 DataSet/DataTable influence each other...
Posted by DraguVaso at 8/6/2004 12:09:31 PM
Hi, I have 2 comboboxes, both bound to a different DataView, but thoe DataViews are bound to 1 DataTable in 1 DataSet. Like this: Dim dvwList2 As New DataView dvwList2 = MyDataSet.Tables("tblAccounts").DefaultView dvwList2.Sort = "Account ASC" cmbAccount.Da...more >>

Invisble controls
Posted by Carlos Caraballo via .NET 247 at 8/6/2004 11:13:17 AM
Please, Help!!! When a control is visible=false, or is used in a tabpage that is not the current one, de value is not updated in the control. For examples, use a tabControl, place two tabpages, in the tab 2 place a textbox control, in the tab 1 place a button that set a text to de textbox ...more >>


DevelopmentNow Blog