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 > january 2005

Filter by week: 1 2 3 4 5

How to catch the cell content change event?
Posted by Ellis Yu at 1/31/2005 6:45:20 PM
Hi all, I want to capture the cell content change event in data grid, just like TextChanged event in Textbox control. Anyone know how to do it? Thanks Best Rdgs Ellis ...more >>

out of the range
Posted by Patricia Kline at 1/31/2005 10:25:35 AM
I have a listbox.. i have a dataset that gets the values from the database and i add three values to the dataset using code. If i have three or less items in the database, it works fine. Once i add the fourth item.. I get the following error when i try to set the SelectedValue of the listbox...more >>

RE: populating dropdownlist from db
Posted by Keith at 1/30/2005 4:28:44 AM
help me! Posted via DevelopmentNow Groups www.developmentnow.com/g www.developmentnow.com...more >>

Buttons on OwnerDrawn TabPage and TabControl not visible.
Posted by Philip Tepedino at 1/29/2005 9:06:48 PM
Hello all, I'm having an issue getting a button to show up on a TabPage control. Here's my setup. I have a derived TabControl that uses my own derived, customized TabPages. The TabControl is set to OwnerDrawFixed and I have code in the DrawItem and OnPaint events drawing everything. This pa...more >>

Sending a path to a FILE control ( it has to be possible! )
Posted by CHIN NO[at]SPAM KD at 1/28/2005 11:13:03 AM
Hi all.. here s my problem ( maybe some of you saw me on other groups, but i cant find the solution !! ) I have to upload a file to an external site, so, i made a .vbs file , that logins to the site, and then i have to select the file to upload.. i used sendkeys.. and i worked perfect.. BUT ...more >>

how to show in $xx.00
Posted by chiuchiu_2000 NO[at]SPAM yahoo.com.hk at 1/27/2005 11:26:36 PM
how to show in $444.00 thanx...more >>

sharing code
Posted by an at 1/27/2005 7:07:38 PM
Hi, two of us need to share code for one asp.net project we have one server win2k & each has win xp pc, it possible? Ab ...more >>

Presenting 2 related datatable into a datagrid
Posted by norton at 1/26/2005 6:23:17 PM
Hi Everyone I have a DataSet with two datatables Say One is Customer and one is CodeTable_Country Customer Table contains a field called CustomerID, CustomerName, CountryID, like [Customer] ----------------- CustomerID CustomerName CountryID And the CodeTable_Country Table contai...more >>



Event fired before Datagrid is re-sorted?
Posted by shuckjunkmail NO[at]SPAM sbcglobal.net at 1/26/2005 9:24:50 AM
It was suggested that I re-submit this question as a new post rather than adding onto an old and unanswered post. The basic problem has to do with the .NET datagrid and sorting. I am having trouble getting the correct row of data from the datagrid immediately after re-sorting the datagrid. I a...more >>

DropDown Combo Box Flaky
Posted by Sam at 1/26/2005 3:51:07 AM
I am using VB 6 Enterprise Edition. I am using an Access Database that was created via Visual Data Manager. I have 2 DropDown Combo Boxes. The 1st one called "cboCalcBuyListName"; the 2nd one is "cboCalcBuyListDate" Scenerio: cboCalcBuyListName has names in it. cboCalcBuyListDate has dates...more >>

sumup on datagrid width
Posted by Najm at 1/25/2005 11:03:09 PM
Hi, this question was asked before but i didnt get the core idea of how to have a datagrid (datagrid1) with three columns (col1,col2 and col3) have the same size everytime we run the application. in VB6 it was straight forward (right-click ->properties). isnt VB.NET supposed to be simpler and m...more >>

.NET TabControl Colors
Posted by Garet at 1/25/2005 6:12:33 PM
Hi everyone, Is there any way to change the color of the tabs of the TabControl (System.Windows.Forms.TabControl)? I can change the background color, but the little tabs on the top are still gray. Thanks for the help. Regards, Garet ...more >>

Frustrating Datagrid-- Where is the word wrap?
Posted by spongebob-straight-pants at 1/25/2005 11:44:10 AM
How do you set the multiline to true? Tried to do this TextCol = New DataGridTextBoxColumn() With TextCol 'I am giving up trying to do multiline End with Thanks ...more >>

thank for you..help
Posted by chiuchiu_2000 NO[at]SPAM yahoo.com.hk at 1/25/2005 5:56:09 AM
how to write the code to complete following action in vb.Net 2003 > ______________________________ > Total Amount > > > ______________________________ > after press the button(calculate)-> > ______________________________ > Total Amount > result1 > > > _____________________________...more >>

Urgent Problem!!!!!!!!!!!!!!!11
Posted by chiuchiu_2000 NO[at]SPAM yahoo.com.hk at 1/24/2005 8:06:08 PM
how to do as follow in vb.Net ______________________________ Total Amount ______________________________ -> ______________________________ Total Amount result1 ______________________________ -> ______________________________ Total Amount result1 result2 ______________________...more >>

datagrid control
Posted by bill at 1/24/2005 4:07:10 PM
I have figured out how to hide columns, implement double click functionality and some other things with a datagrid control in a windows forms application. But I can't figure out how to set the background color of a row in the grid based on a value in the data. For example, if I have a datas...more >>

Simple Question regarding Datagrid
Posted by Dan at 1/24/2005 12:14:09 PM
Newbie with simple question :) I have a datagrid with 4 columns. What I need to do is when the focus is on the last column, and I press ENTER, it change the focus to the next row, first column. Any easy way to achieve this? - Dan ...more >>

Datagrid Column widths (VB.NET)
Posted by spongebob-straight-pants at 1/23/2005 3:05:31 PM
Hi, I apologize if this was discussed before but I could not find a solution that worked by looking through these NGs. If I made the DG resizeable, the user resizes it in run time and the form is reloaded, the column widths are setting back to their default values. How would I prevent that (...more >>

.NET ListBox with Column Widths Like MS Access ListBox
Posted by Howard Walters at 1/21/2005 11:52:49 PM
Is there a VB.NET ListBox (Microsoft or 3rd party) that simply has similar properties of the Microsoft Access ListBox? You know where I load it up with several columns of data and can hide the column(s) I want with a zero length property. I really liked this Access ListBox where I could ge...more >>

Listbox - Multiple Columns
Posted by Ulka Shah at 1/20/2005 10:03:28 AM
How to use multicoumns in listbox ? ...more >>

Editing ListBoxes
Posted by Matt at 1/20/2005 9:06:09 AM
Is it possible to click into and add/delete items from a listbox on the fly? If not, which would work better for this situation? Thanks, Matt ...more >>

Problems when using extendeddatagrid
Posted by norton at 1/19/2005 11:33:31 AM
Hi All, i am trying to use an ExtendedDatagrid (http://dotnet.leadit.be/extendeddatagrid/CategoryView.aspx?category=Home) to display data from a DataSet. However it returns an exception during Paint. It won't happen when the data source is my self defined Object() as at the VB Sample(htt...more >>

List View
Posted by Matt at 1/18/2005 2:13:03 PM
How do I select index 0 in a list view by default? Thanks, Matt ...more >>

Custom property edit dialog
Posted by Bill Tinker at 1/18/2005 10:28:15 AM
I have a custom control that has a Text property that can contain a significant amount of text - more like a Memo value than a short piece of text. It is rather awkward to set this value in the design-time property window using the small internal Text item - especially as it would be convenient ...more >>

Progress bar with text?
Posted by Tom at 1/17/2005 11:39:58 AM
Is there a way to put text (i.e. xxx%) in the middle of a Windows Form progress bar while it is being updated? I am sure there is a way to do this (maybe via OnPaint?) but I can't find any VB.NET examples. I thought I could make a component that inherits the Progress Bar but it is not inheritable...more >>

maintaining relationships between tabl;es at runtime
Posted by gaffar at 1/17/2005 11:11:26 AM
Hello Sir, I have created database(ms access) and tables at runtime how to maintain relation ships between the tables. by using vb.net. Thanking u sir. ...more >>

Combobox Load Issue
Posted by Atley at 1/15/2005 12:07:55 AM
I am trying to load a combo box using record IDs as the Index numbers. I cannot seem to find a way to do this properly, what am I missing? I have tried to use the Insert and the Add methods of the combo box with little success. I must be missing something obvious, but I cannot find it. Is ...more >>

Problem with Text property
Posted by Richard L Rosenheim at 1/14/2005 1:34:48 AM
I have an user control that contains a single label. I overrode the user control's Text property with the following code: <Browsable(True), _ DefaultValue("My default label")> _ Public Overrides Property Text() As String Get Return Label...more >>

Groupbox Text
Posted by fred at 1/13/2005 2:31:31 PM
I have put four Groupboxs on a form. I changed the font size from 8 to 12. When I run the application some of the groupboxs do not display their heading (Text property). If I change the font size back to 8 it is OK. I am running VS 2003 on Win 2K SP4. Is this a know bug? Is there a fix? Thank...more >>

Checkbox changed
Posted by Edward van Nijmweegen at 1/12/2005 1:36:11 PM
Hello, I'm working in VB.net and want to take actions after someone selected one of the checkbox items. I've 2 checkboxes, and some fiedls that are disabled. If a person select checkbox 1 some of the other fields should be enabled. If the user select checkbox 2, other fields should be enabl...more >>

Howto use VB6.0 UserControls in VB.NET App?
Posted by Thor Egil Leirtrø at 1/10/2005 2:52:54 PM
I am just about to start upgrading a VB6.0 App to VB.NET It contains a lot of UserControls which I - as a first step - want ot leave as VB6.0 There is however, one slight problem: some of them are created using the old interface inheritance model (I have one module defining just the interface, a...more >>

Create or add icon to a component?
Posted by Jerry H. at 1/10/2005 10:14:20 AM
I've successfully put together a couple of small components that I can add to the VS Toolbox. However, they both default to the "gear" icon. If I highlight the project for the component in Solution Explorer, and then select "Project | Properties" there is an "Application Icon" setting that...more >>

how to create flex grid on vb.net
Posted by Sumit Gulati at 1/8/2005 6:58:20 PM
hi please help me to create flexgrid controles on vb.net for data entry regards sumit ...more >>

FormStartPosition.CenterParent not working??
Posted by Rob R. Ainscough at 1/7/2005 2:38:35 PM
I've set my forms StartPosition = FormStartPosition.CenterParent, but the form will not center to the parent form? (always in the upper right corner) CenterScreen works fine. What am I missing? Is this because I'm running from within VS IDE? Rob. ...more >>

assigning primary key to more than one column
Posted by gaffar at 1/6/2005 4:47:22 PM
Sir, if we want to assign a primary key to a single cloumn. below code is used. objTable1.Keys.Append("PrimaryKey", KeyTypeEnum.adKeyPrimary, "PrimaryKey_Field") if i want to assign primary to more than one column then what will be code. ...more >>

storing data in to the tables
Posted by gaffar at 1/6/2005 2:35:16 PM
Sir, I have created database(ms access) and tables by clicking the menu item. now a form opens and the data entered in the textboxes must stored in the table. and how to maintain relationships after creating the tables. ...more >>

Databound Combobox not updating when I change datasource
Posted by BradC at 1/6/2005 2:00:27 PM
My form has a drop-down to allow the user to select a person for a certain role (Engineers, for example). Everything works fine for new and recent records. For OLD records, however, we may have a User ID in the dataset that isn't in the /current/ list of valid Engineers. I'm trying to find a w...more >>

Get cursor position in combobox?
Posted by Becker at 1/6/2005 11:16:06 AM
I have a need to know in one of the keypress events, what position the cursor is in. For example, as I position the cursor and type, I'd like to know for each key I press where in the string of text in the combobox I am. I didn't see anyway to do this. Thanks, Becker ...more >>

combobox - lookup data
Posted by P C at 1/6/2005 10:37:53 AM
HAPPY NEW YEAR Hi I am looking for an example for binding a ComboBox to a datatable lookup there is no problem with the lookup side (DataSource - DisplayMember - ValueMember ) the issue is with the DataBindings property, the combo doesn"t care of the SelectedValue property which i...more >>

Set cookies in axWebBrowser Control
Posted by Nikolay Petrov at 1/6/2005 9:33:11 AM
How to set a cookie in axWebBrowser Control? I can easy get a cookie from the control, but I fail to set one. The control Navigate2 method have an option to pass a cookie, but I just can't make it work. TIA ...more >>

Disappearing buttons
Posted by timm.wong NO[at]SPAM gmail.com at 1/5/2005 8:44:19 PM
Hi, I have a form where i have a thread working in the background that tests a connection to a server. If the connection is not successful, then I want it to display 2 buttons on the form. I have tried doing this so far by simply setting the buttons Visible property to true (since they will...more >>

basing the values of a combo box from the results of another combo box
Posted by hcs at 1/5/2005 2:22:49 PM
Hello, How do you base the contents of a combobox ( combo2) on what was selected in another combobox ( combo1). I am using VB.net and populating the comboboxes from an Access database using ADO.net. each combo box will be assigned a dataset. Please help!!! Cheers ...more >>

VB.NET: Controls on various screen resolutions
Posted by Bill S. at 1/5/2005 12:02:38 AM
Hi, I have a demo I'm about to show a client, and I have concerns about computers with different screen resolutions. With VB6 I did not have to worry about this. However, it seems that this has changed with VB.NET. Can anybody give me some advice, point me towards a web page, or, preferably...more >>

Textbox or Combobox on VB.Net Toolbar?
Posted by Noozer at 1/4/2005 11:21:22 AM
I'm trying to use the Toolbar control that comes with VB.Net 2003. The only option I can add to these bars are buttons. Is it possible to add a textbox or combobox to one of these toolbars? ...more >>

about listview control
Posted by gaffar at 1/3/2005 12:14:51 PM
i want the code for i have a listview with 2 columns.if i selected the item of the listview and clicking on a button the selected item must be displayed on the another listview control. ...more >>


DevelopmentNow Blog