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 > october 2004

Filter by week: 1 2 3 4 5

About DataGrid
Posted by yoshitha at 10/31/2004 12:19:06 AM
Hi, I have to place command buttons in datagrid control in vb.net .Is it posible to place buttons in datagrid control if possible plz tell me how to place . If my datagrid contains 10 rows it has to display 10 comand buttons so when i click on that button some action should be performed on that ...more >>


dataview wildcard searches
Posted by John Hernry at 10/30/2004 1:20:47 PM
I have a datagrid that is bound to a dataview. I am looking to create a form that will perform wildcard searches on the dataview and move the datagrid to the found row. I can get the find to work in that it returns a valid row, but it is not the first row with that value. I suspect that i...more >>

DataGrid Without DataBase? Sample/Example?
Posted by eBob.com at 10/30/2004 10:23:55 AM
I suspect that it is possible to use a DataGrid without using a database. But everything I've been able to find about the DataGrid control involves a database. I'd like to be able to experiment with the DataGrid control without having to deal with the complexity of database stuff. Are there a...more >>

Display a Progress Bar within a row/column of a grid?
Posted by David R. Jenkins at 10/29/2004 6:50:16 PM
Is it possible to display a progress bar control within a row/column of a FlexGrid? I am working on a file copy procedure that lists all of the files in a grid, and I want to display the file copy progress with a progress bar. Any help or insight someone can provide would be greatly appreciat...more >>

Can't instantiate a user defined control
Posted by Ralph Koettlitz at 10/28/2004 8:20:37 PM
I have the following code: ============================ 01 public class A 02 inherits System.Windows.Forms.TextBox 03 04 private mtimer 05 06 public sub new() 07 mtimer = new System.Timers.timer(1000) 08 AddHandler mtimer.Elapsed, AddressOf Me.OnTimerElapsed 09 end sub 10 11 ... 1...more >>

Getting dataset row from datagrid
Posted by Ron L at 10/28/2004 11:20:04 AM
I have a grid that is the list portion of a list & detail set. I am catching the SelectedIndexChanged event and using dslistdata.Tables(0).Rows(grdListDisplay.CurrentRowIndex) to get the data that fills the grid's row from the underlying dataset. This works fine if the grid hasn't been sor...more >>

Sort error on datagrid column name
Posted by nate axtell at 10/28/2004 7:30:29 AM
In VB .NET I load the contents of an Excel or comma seperated values file into a dataGrid (via a datatable). One of the columns has a comma in the name of the column. So for the comma separated values files I put double quotes are the column name. What I see is that the name ends up getting...more >>

Threading and updating form question.
Posted by Roger at 10/27/2004 3:03:56 PM
I have a function that is currently wrapped up in a Class so I can pass a variable to it. This function is going to be threaded out and I would like the class function to be able to update a control on my form. (Treeview). Is this possible and how do I do it? Here is a simplisitc overv...more >>



Multiple Transparent Controls
Posted by Lee at 10/27/2004 3:20:43 AM
I'm trying to make an interface where the main form is an ellipse shape. When the user clicks a particular area, another non-rectangular "panel" slides out from behind the main ellipse (similar to how some of WinAmp's skinned modes do for control panels). I'm using a Form as a "canvas" for ...more >>

Grid Control Suggestions
Posted by ML at 10/25/2004 7:19:46 PM
Been using the FlexGrid from ComponentOne from the VB Resource Kit. I also use the Infragistics grid for another project. Basically I 'd like some feedback on what others use and find decent. Like to find something that has some basic built in support for editors, such as a numeric input con...more >>

Problem using a custom control
Posted by Richard L Rosenheim at 10/25/2004 6:04:43 PM
Okay, I haven't hit it problem before. I'm writing a program, and as part of the solution, I've created an user control. I dragged some labels, progress bars and a button onto the control's form. No code yet. If the control hasn't be placed on the program's form, I'm able to compile the proj...more >>

PDF Viewer for VB.net
Posted by Brij Singh at 10/25/2004 3:45:12 PM
Can any one please suggest some control for PDF File to view in VB.net We have pdf files and we need to view it in the viewer but i dont want to use adobe acrobat viewer as we dont want to diplay the default toolbar and menu and also it seemed little slower too. Thanks, Brij ...more >>

Text not showing in list box
Posted by Steve Lloyd at 10/25/2004 10:27:32 AM
Hi, I am having a nightmare with a list box, when I load my form the text in the list box does not display but i can select the blank line and they work fine. After a couple of operations the text magically returns but i cannot get it to display to begin with. I am using VS.Net 2002 and i...more >>

Combo Box Problem
Posted by trialproduct2004 NO[at]SPAM yahoo.com at 10/24/2004 9:25:02 PM
Hi all I am using combobox. I want to disable scrollable event of combobox( same as address bar of windows explorer). Does any one know how to disable scrollable event of combo. Please help me. Thanks in advance....more >>

Improved Tab Control Suggestion
Posted by ML at 10/24/2004 2:14:48 PM
Does anyone know of a good replacement for the standard VB.NET tab control? Looking for something with a better look to it, something similar to the tab in OneNote. Free is possible but if no free options then something at a decent price that works well. ...more >>

Listview having checkbox as a subitem
Posted by Mukund Patel at 10/22/2004 5:33:43 PM
How to add checkbox in Listview as a subitem in vb.net. The CheckBoxes property of ListView add the checkbox as item but I need the checkboes as a subitem. -- Mukund Patel Sr. Software Engineer IntraAction Software Ahmedabad, India PH: 9426501727 ...more >>

Termination of a file
Posted by Tor Inge Rislaa at 10/22/2004 2:23:41 PM
Hi I am using the code below to execute a file in the program corresponding to its filetype. Is there a way that I can control the termination of a file and it's corresponding program. E.g. if I open the file "c:\data\test.txt" it will open in the notepad. On my command from VB.NET I want to clos...more >>

vbc.exe
Posted by Ernest Morariu at 10/22/2004 11:16:19 AM
Hi ! I try to create a batch file to automate the compilation of my project. I have some problems with the "/resource: <resources_list>" option of the vb compiler. It seems that it does not accept more than two resources. Specifying more than two resources as <resources_list> I get the follo...more >>

Overrides BackgroundImage()
Posted by Tom S. at 10/21/2004 10:17:06 AM
Hi All, I am trying to create a User Control with no BackgroundImage property, so that I override the property with Browsable is false as the followings: <Browsable(False)> _ Public Overrides Property BackgroundImage() As Image Get End Get Set(ByVal Value As Image) End Set End P...more >>

TextBox.BackColor - Set VS Check
Posted by [tridy] at 10/19/2004 5:32:12 PM
Hello. I am trying to check if the control's (textbox) background is red. two lines -- first works, second does NOT. 1) txtFirstName.BackColor = System.Drawing.Color.Red 2) If txtFirstName.BackColor = System.Drawing.Color.Red Then ' blah blah blah it is possible to make it work ...more >>

context menus with icons
Posted by Matt Michael at 10/19/2004 11:11:28 AM
Hi, is there any way to add menu items to a context menu with icons next to them. When I declare a menuitem, it does not seem like there is a .icon property or anything similar or intuitive like that. An example that illustrates this is right clicking on your desktop, choosing "New", and for ...more >>

tabbing out of a container
Posted by rejirajan NO[at]SPAM gmail.com at 10/19/2004 6:40:29 AM
I have a vb.net form with several controls(textboxes, comboboxes, buttons) grouped in several groupboxes and panels. Once I tab into a panel or groupbox, the tabbing cycles in that groupbox or panel (container). Is there any way I can tab out of a textbox in a panel to another textbox in anothe...more >>

Me.WindowState vs. FormWindowState.Minimized
Posted by eBob.com at 10/16/2004 11:47:23 PM
I am using Resize and having the typical beginners problems. Some research eliminated one problem (the Resize firing much earlier than an earthling would expect). But I haven't quite licked the Minimize/Maximize problem. I found some non-vb code (probably C#, but how would I know) which is su...more >>

A Control SOMETIMES On Top of Another Control
Posted by eBob.com at 10/16/2004 12:10:47 PM
I have a panel on my form which is used for a scatter plot. Any one of several user interactions, including enlarging the form, can invalidate the graph. When the graph becomes invalid I fill the entire panel with a gray box. What I'd like to do now is put a button on top of the gray box whic...more >>

Richtext SelectedText Selectionstart
Posted by Gary Shell at 10/15/2004 1:46:36 AM
I have a very ODD situation. I have a RichTextBox and a button. In the button click event I have the following: me.richtextbox1.SelectedText="test" Assuming I start with "aaaabbbbcccc" in the richtext box and I place the caret between the a and b and hit the button. I get "aaaatestbbbbc...more >>

DataGrid
Posted by David FĂșnez at 10/14/2004 4:02:03 PM
Hi; I have a Datagrid in ReadOnly Mode, so i want to show from the selected row the first two cells by pushing a botton. Thanks on advance. -- David Fúnez Tegucigalpa, Honduras "La Piratería Mata Las Ideas" Desarrollador Cinco Estrellas Visual FoxPro ...more >>

VB.NET and Outlook styled calendar
Posted by ThunderMusic at 10/14/2004 11:05:58 AM
Hi, I'm building an enormous application and would like to incorporate something to take appointments. I'd make it look like the calendar in Outlook, but I don't know how exactly. Is there a control to make it easier or will I have to make my own? Thanks ThunderMusic ...more >>

Problem with ImageList
Posted by David FĂșnez at 10/13/2004 3:31:15 PM
Hello; I have a form with the XP Theme activated, the buttons are with FlatStyle=System to show the XP Theme. "System.Windows.Forms.Application.EnableVisualStyles()" My problem is that i can't add a bmp image to a button if it is with the Flatstyle property set to System, if i change it t...more >>

ComboBox.SelectedValue
Posted by dbuchanan52 NO[at]SPAM hotmail.com at 10/13/2004 12:22:43 PM
How do I get a comboBox to return the text contents of the ValueMember property that I bound to it? ============== My form has a ComboBox bound to a table where one column (a friendly description) is set to the DisplayMember property and another column (a table name - text of course) is set to ...more >>

Public Property SelectedValue() as Object - (?)
Posted by dbuchanan52 NO[at]SPAM hotmail.com at 10/12/2004 9:50:12 PM
First: If ComboBox.ValueMember is Text then why is ComboBox.SelectedValue an Object? Why do I have to force this to a string with CStr() instead of having the option of using .ToString()? One common use of a comboBox is to bind data to it, but maybe there are ways to store other objects th...more >>

Combo/Treeview Control
Posted by Darren Linsley at 10/11/2004 10:54:44 AM
I am looking for a control that would basically be the combination of a dropdown combo box and a treeview control. That is, the default state on screen would look like a combo box, but when it was expanded (dropped down), the list items would appear hierarchically , such as they would in a tre...more >>

can run javascript can't run vbscript - WHY
Posted by dwang NO[at]SPAM woodace.co.uk at 10/9/2004 12:35:33 PM
why does this work :- <HEAD> ...... <SCRIPT LANGUAGE="javascript"> function test() { alert("test 1") } </SCRIPT> ..... </HEAD> <BODY> .... <A HREF="JavaScript:test">test</A> ...... </BODY> but this does not :- <HEAD> ...... <SCRIPT LANGUAGE="vbscript"> function test() ...more >>

Thumbnail Tif Management "type Office Document"
Posted by John at 10/8/2004 10:39:20 AM
I must make form of management images TIF's I would want to make to visualize the pages type "Microsoft Office Document Image" Some control exists ? Thank yoy ...more >>

Variable substitution for object name?
Posted by b2newman NO[at]SPAM or.blm.gov at 10/8/2004 10:00:58 AM
I have a form with five rows of text boxes, displaying data. For certain reasons, I can't bind these directly to data records, so I'm using code to load the data into an object, then manually get each field value and assign it to each text box. The text boxes are named like this: txtSPctTree...more >>

How to clear datagrid
Posted by ksedran at 10/8/2004 8:43:04 AM
Hello All, I am having an issue with clearing a datagrid in a windows form. I am loading data into the grid based on checkboxes that are checked. When a checkbox is checked the corresponding column is added to the datagrid. If a checkbox is unchecked that column is removed from the datagri...more >>

Populating Combo during load of Control
Posted by SQLScott at 10/8/2004 7:05:03 AM
Forgive me if this seems trivial, but any and all help is greatly appreciated, and I will attempt to explain this as best I can. I have created a combo and added a certain number of properties to it. When I place that combo on a form, I set any number of those properties. What I would lik...more >>

Change Border Color on TextBox's and ComboBox"s
Posted by Jeff Jones at 10/6/2004 6:44:10 PM
I am trying this code to be able to change the color of the borders on a textbox and combobox but the text is not being displayed until I click on the control. Imports System.Drawing Imports System.Windows.Forms Public Class CustomTextbox Inherits TextBox Private m_BorderColor...more >>

disable events for controls on a form
Posted by Scott Emick at 10/6/2004 2:04:42 PM
How can I disable events for the controls on a form? I tried setting the form's enable property to false, but that doesn't stop events from firing on its controls. I need to temporarily disable a form and load values into controls without any events firing, then re-enable the form. -- ...more >>

@ Register User Control Tag Problem
Posted by ATJaguarX at 10/6/2004 11:38:55 AM
I have an asp.net web application that I'm having problems with. Everytime I view certain pages in design mode, Sourcesafe asks me to check out the page because of requested changes. When I go to view the page in design mode, .Net is switching the user control registration tag with the page la...more >>

Item Templates HTML Table cannot insert a Custom Control - work around?
Posted by hi_jase NO[at]SPAM yahoo.co.uk at 10/5/2004 10:24:24 PM
Hi I have created an item template for my project. The item template contains a HTML table. All fine so far, however, it is not possible to drag and drop either my custom controls or standard ASPX controls into this container. Is there a way to achieve this? Draging and dropping shows a no-en...more >>

TabControl in a WebForm?
Posted by no0spam NO[at]SPAM yahoo.com at 10/5/2004 8:27:46 PM
I'm trying to figure out how to create a tabControl in a WebForm (I'm a newbie - sorry if this is a dumb question :) I've been able to set it up in a Windows Form, but would prefer to get it working directly in the WebForm. a) Is it possible to do? b) If it is, can an anybody point me to som...more >>

Listview and scrollbars
Posted by ThunderMusic at 10/5/2004 10:12:24 AM
Hi, I have a problem using the Listview. I want it to display the horizontal scrollbar whenever the data in it goes beyond the right side. Is there a property to do it? Some code, etc. Must I subclass the control? thanks ThunderMusic ...more >>

Label Text Problem
Posted by Graham Payton at 10/5/2004 9:39:16 AM
Hi All I am having some problems with labels on my forms. If I want to centre the text across the label it does not actually centre it properly! It is always offset to the left by a chunk. Also if I want to have several labels below each other, with the text aligned to the right, the t...more >>


DevelopmentNow Blog