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 > june 2007

programmatically adding entries to a tool strip menu item...
Posted by Brad Pears at 6/29/2007 2:00:47 PM
I am working on a vb.net 2005 project. I have a tool strip menu across the top of the form with such items as 'File', 'Edit', 'Actions', 'Reports' and 'Help'. When the user selects the 'File' menu item, I would like to read an sql server 2000 db table and load items for that user into the lis...more >>


Tab control
Posted by Luke R at 6/29/2007 12:00:00 AM
I have a tab page with 2 tabs on my form. The controls on tab A return a visible property of False if tab B is currently selected even though the Control.Visible property for each control has been explicitly set to True. Is this how its supposed to work? Why does it go ahead and modify the ...more >>

vb.net add records to MOSS 2007 List
Posted by Chris at Pierce at 6/27/2007 8:08:41 AM
I have a Windows Forms Vb.net program written in vstudio2005 that I would like to have access a MOSS (Microsoft Office Sharepoint Server 2007) List, and have the ability to add records to that list. Additionally it would be nice to loop through existing MOSS list rows (records). If anyone ...more >>

DataGridView Focus Rectangle
Posted by Luke R at 6/27/2007 12:00:00 AM
Can i get rid of it?...more >>

Object reference not set to an instance of an object
Posted by Ben at 6/26/2007 12:00:00 AM
Hi, (i tired to post it in newsgroup asp.net but it never came into ). I want to access in code-behind a label within the ItemTemplate of a Formview. <asp:FormView ID="FormView1" runat="server" DataKeyNames="id" DataSourceID="SqlDataSource1" > <ItemTemplate> <asp:Label ID="nameLabel" ru...more >>

Auto Hide Form
Posted by Karthik at 6/22/2007 11:48:48 PM
Dear All, I am using VB .NET 2005 I want show my form with Auto Hide action Like Solution Explorer Is ther any property? i already see some Payble control. Every word that you given form is highly appreciated Thanks In advance. Regards. Karthik.C --------------------------------------...more >>

Open sequential file
Posted by Skenny at 6/20/2007 7:25:43 AM
Hello, Im new to Visual basic 2005 express. Been using VB6 for a couple of years. What is the format for reading seq files line by line? In VB6 it was: (very simplified) open "file" for input as #1 Do until eof(1) input #1, "string" loop close 1 But of course this doesnt work in ...more >>

How to calculate DataGridView CurrentCell screen position when the mouse is elsewhere?
Posted by stroudpete NO[at]SPAM gmail.com at 6/19/2007 3:06:02 AM
Sounds basic, but my problem is doing this when the "context menu key" is pressed. Background: a datawise small DataGridView where I have a variety of ContextMenuStrips. I set the appropriate one for the cell in the CellContextMenuStripNeeded event using the Row and Column indexes. To cater f...more >>



comboBox Events
Posted by jay at 6/16/2007 4:38:20 PM
OK, which event should I check on a comboBox, that fires consistently? I can't ask the user to press the tab or enter key when making a selection from the 1st comboBox. Have tried the textChanged, but that seems worthless. I have three comboBoxes and two of them are disabled. Based on a ...more >>

Perfomrclick() problem
Posted by Michel Vanderbeke at 6/14/2007 6:16:21 PM
Hello everyone, In my application I have two forms: form_1 and form_2 On form_1 two buttons: button_1 and button_2 The code on button1_click form_2.ShowDialog() form_2.Dispose() In theFormClosing of form_2 form_1.button_2.PerformClick() When I close form_2, the line form_1.butt...more >>

How to customize the Label and set the property of AutoSize to False?
Posted by Ryou kaihou at 6/14/2007 12:00:00 AM
Hello All, As we known, in Visual Stdio 2003 or 2005, the property of Autosize is set to True by defaut, how can I customize this and set property of Autosize to False? Any ideas? Thanks ...more >>

Drawing a rectangle around my control
Posted by Adam Stachura at 6/14/2007 12:00:00 AM
Hey! I need to draw a rectangle around my control but not inside it. How can I do it? Is it possible? My code isn't working correctly during resising a window: Protected Overrides Sub OnPaint(ByVal e As System.Windows.Forms.PaintEventArgs) MyBase.OnPaint(e) If Me.Parent Is Not...more >>

Music file formats
Posted by Bob at 6/13/2007 11:44:31 AM
Hi everyone: I have both VB 6 and .NET. Does anyone know of any free controls to convert music format? For example, I have a m4a or wma file, and would like to convert it to an mp3 or vice versa. If not, does anyone know where I can get some information on the details of these various ...more >>

How to capture the click event of the Activeex Flash control in C#.net
Posted by Prasanth Joseph at 6/7/2007 12:00:00 AM
Hello, Iam using one Flash control for displaying flash pictures dynamically.I want to capture the click event of this control.It will be helpful if anybody suggest a solutions for this. thanks ...more >>

dateTimePicker and does not allow nulls
Posted by jay at 6/5/2007 5:44:15 PM
My problem is with a datetimePicker bound control. The startdate is initialized to Today on an AddNewRecord. Unless the User changes the date from something other than today, I get a message indicating "StartDate does not allow nulls". The startText.Value shows the date I initialized it to...more >>

List box rearrange items
Posted by Lou at 6/2/2007 11:26:40 PM
How do you implement drag and drop within the same listbox control to re-arrainge the order of the items? -Lou ...more >>

German Characters in textbox
Posted by Martin at 6/2/2007 1:28:57 AM
Hi all, When a user enters a german character in a textbox (such as ö ä ü ß) and I try to save it, these characters get converted to a different character. How can I prevent this? Tia, Martin ...more >>


DevelopmentNow Blog