Groups | Blog | Home


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

Filter by week: 1 2 3 4 5

DataGrid like VS.NET Properties Window
Posted by Salman Ahmad Khan at 4/30/2004 9:21:27 PM
Hi there, I need to manipulate DataGrid in such a way that it acts something like VS.NET Properties Window i.e. it consists of two columns one acts like a non editable lable and the second one is editable field. Is there any other way? ListView wud have been suitable had it provided editio...more >>


Append node to xml with vb.net.
Posted by matpn NO[at]SPAM yahoo.com at 4/30/2004 8:41:39 PM
I'm trying to append the contents of TextBoxes as a node of an existing XML file by clicking a button. I tried making the form write a new xml file with same schema as the main xml file and using the example below to merge the new file into the main file using a dataset but I get access error,...more >>

datagrid in a windows form
Posted by William Gower at 4/30/2004 5:37:05 PM
Is the datagrid as robust in a windows form as in a asp.net app? Most of the examples that I have seen for the control are asp.net oriented and not windows. ...more >>

Other ways of displaying a webpage in VB.Net?
Posted by Johan Christensson at 4/30/2004 10:21:33 AM
Hi. Is there any other ways of displaying a webpage in an VB.Net form other then using the "Microsoft Web Browser" object? Any third-party? /Johan Ch ...more >>

Scrollbar
Posted by Alessandro Mostarda at 4/29/2004 10:48:04 PM
How can i detect a scrollbar in a combox and how i can redraw it? Thanks in advance ...more >>

How to add hyperlink to listview control subitem
Posted by steve b at 4/28/2004 9:33:26 AM
Anyone know how to add a hyperlink to a listview control subitem. ...more >>

Attaching array to combobox.datasource
Posted by Eric Dreksler at 4/27/2004 6:47:03 PM
Hello all, I'm trying to use an array as a combobox datasource, however, I seem to be hitting a small wall here. I've simply set ComboBox1.DataSource = f_arrData, but this produces nothing. I've been trying to figure out how to set the DisplayMember and ValueMember, but these are both Strin...more >>

Terminate Event for User Control?
Posted by Tom at 4/27/2004 2:55:38 PM
Let's say I have a user control that I wrote in VB.NET. When it is loaded I open a file; now, when the user control terminates, I need to close that file. In VB6 this was easy because it had a UserControl_Terminate event; however, there is no such event for .NET. How is this handled, especiall...more >>



TreeView context menu question
Posted by Lucvdv at 4/27/2004 9:56:26 AM
Hi, When you assign a context menu to a treeview, how do you find (in the menu handler) what node was clicked on? Suppose you have two nodes, N1 and N2. N1 is selected, then the user right-clicks on N2. The focus appears to change to N2, but the SelectedNode property still points to N1...more >>

Seperate objects in same Windows Form?
Posted by Johan Christensson at 4/27/2004 8:54:01 AM
Hi. I have a Windows form with two "Microsoft Web Browser" objects on it. I'm woundering if there is a way to seperate these two objects. We have a ASP-page that display different information depending on the credentials supplyed when requesting the page. I want to use different credenti...more >>

VS.Net DataGridColumnStyle Collection Editor
Posted by Norton at 4/26/2004 5:44:33 PM
Dear All, Currently the VS.Net can let me to add only 2 types of Column Style(DataGridtextBoxColumn/DataGridboolColumn) in the DataGridColumnStyle Collection Editor. I have created a custom column style, how can i make integrate it into VS.Net? Thx a lot Regards, Norotn ...more >>

[ANN] April 27, "Working with the DataGrid Control in Visual Basic .NET" chat
Posted by Jason Cooke [MSFT] at 4/26/2004 3:55:46 PM
Join members of the Visual Basic .NET and SQL teams for a discussion on how to effectively use the Windows Forms DataGrid control with Visual Basic ..NET. Date: April 27, 2004 Time: Time: 1:00 - 2:00 P.M. Pacific time 4:00 - 5:00 P.M. Eastern time 20:00 - 21:00 GMT (For a list of loc...more >>

What runs when you drop a control onto a form at design time?
Posted by Tom at 4/26/2004 1:22:24 PM
I have a visual control that I wrote in VB.NET... The control itself has a rather large area; however, when I drop it onto another form, I want the control to automatically resize itself to be smaller. I want this to occur ONLY the first time they drop the control onto a form (i.e. they select it...more >>

Panels, Subforms or Something else???
Posted by chris.hill NO[at]SPAM mailcity.com at 4/26/2004 8:56:05 AM
I'm struggling to figure out how to do implement part of an application I'm working on. I have a form with 2 panels and splitter. The left panel is a treeview and the right panel should display a wide variety of data depending on what node the user has selected. Ex. I have 3 types of nodes ...more >>

DoubleClick on Button
Posted by Hannes Sima at 4/25/2004 9:39:43 PM
I would like to distinguis between a click and a doubleclick on a button. But always the event "click" is raised, no matter wether i do a click or a doubleclick. Can anyone help me? Thank you Hannes ...more >>

onpaint
Posted by Alessandro Mostarda at 4/25/2004 1:37:39 PM
Hi, I've been trying to build a textbox with a border color property in VB ..Net. I'm not having any luck. For some reason the OnPaint method never executes. If i inherit from any control other than a textbox or combobox , it does execute! Can someone please tell me what's wrong with this code...more >>

Keyboard control
Posted by divpip NO[at]SPAM hotmail.com at 4/25/2004 4:50:41 AM
I have played around abit using VBNET to create some arcade style games, one of which is the typical - catch the eggs game - what ever you want to call it where, by moving left and right u can catch falling objects. Obviously the most sensible way to do this is to use left and right arrow keys -...more >>

How do I stop pictures blurring
Posted by divpip NO[at]SPAM hotmail.com at 4/25/2004 4:21:49 AM
Hi im quite experienced in vb6 progrmmin and have just updated to vbNET but im converting my small programs manually to avoid hassle etc. I have several forms with a background image, with hidden pictureboxes over top (mimicking whatever they are covering) as concealed buttons. I can do this as...more >>

Dropdownlist State??
Posted by Curt Emich at 4/24/2004 4:16:36 PM
Is there a better way in .NET to preserve the state of say, a dropdown list other than using hidden fields and the like? I've noticed that the method "SelectedIndexChanged" of a dropdown list is only called when "Autopostback" is true. This seems to defeat the purpose altogether. When I cha...more >>

[Q] HOWTO show WebPage on a WinForm
Posted by Johnny Slos at 4/24/2004 3:35:17 PM
Hi, I'm looking for a way to display a HTML-page in a part of a WindowsForm. I was thinking of Embedding a IE on a WinForm. Can any-one give me some advise on how to deal with this problem ? greetings johnny ...more >>

Regular expression.
Posted by Tim Marsden at 4/23/2004 2:37:57 PM
Hi, Can you tell me the regular expression syntax needed to validate an Excel Cell Reference. e.g. A1, B1200, IV54000 etc Thank Tim ...more >>

something like property pages
Posted by frank at 4/23/2004 10:29:39 AM
Hi: I would like to know if does exists anything that could works as propertypages did in Visual Basic 6.0. Colud anybody help me? Thanks in advance. Frank. ...more >>

How to disable event handler?
Posted by norton at 4/23/2004 12:35:16 AM
Dear all, I have 2 combo boxes, both selectionchanged event will change the other combo box's vlaue.And it runs into an infinite loop...is there any method to suspend the event handler of the combo box? thx in advance ...more >>

MessageBox Issues
Posted by Curt Emich at 4/23/2004 12:24:36 AM
I always thought writing a simple diagnostic message in a message box would be pretty simple. Not in .NET. First, I wrote this amazingly complex piece of code: MessageBox.Show("yer mama") It wouldn't even complile. "Gee...", I mused. "Maybe there's no reference to that method in my pro...more >>

Problem with font on treeView vb dot net !!
Posted by 404 found via .NET 247 at 4/22/2004 9:57:33 PM
hello I have problem to assign font style to a node of my treeView !! i dont found any exemple on the net !! Someone have an exemple off assing font style to parents and childs in a tree view !! thx :) -------------------------------- From: 404 found (France) ----------------------- Post...more >>

.NET listbox performance
Posted by Kari Glover via .NET 247 at 4/22/2004 9:55:25 PM
I have run into an issue using the =2ENET listbox control=2E I am= converting a piece of software from VB3 to =2ENET and must be able= to load upwards of 3 million items into a listbox=2E This action= ran smoothly and instantly in VB3 but the =2ENET listbox slows= down at what seems to be an...more >>

Is there a Serial(Com 1 port) component with support for ANSI Emulation?
Posted by Jose Michael Meo R. Barrido at 4/22/2004 5:44:33 PM
I'm looking for a .net framework component to read write to Serial(Com port) that supports ANSI Emulation. ...more >>

Read Image from Memory and Write to the hard disk in tif format
Posted by ItsMe at 4/22/2004 3:25:26 PM
Greetings! I've a scanned image (Raw data) in a memory. I've a pointer and file length as well. Can anyone show me how to read and write to a hard disk in TIF FORMAT. Cheers Simon ...more >>

Extend a TextBox Property
Posted by Steve at 4/22/2004 3:21:53 PM
Hi all The System.Windows.Forms.TextBox has a Property called CharacterCasing. I am creating a custom control that inherits from the TextBox class and so inherits all of the properties of that class. I'd like to extend the capability of the CharacterCasing call by adding an extra value in t...more >>

pdf viewer controls
Posted by Vincent Finn at 4/22/2004 12:59:59 PM
Hi, Does anyone know of any pdf viewer controls for .Net? We are creating pdfs and wish to display them in a browser simply relying on acrobat reader being there isn't good enough since it shows lots of buttons which you can't disable from your web app So what I would like is a .Net contr...more >>

How does one control the what is entered in a bound DataGrid control?
Posted by acool at 4/22/2004 10:52:52 AM
How does one control the what is entered in a bound DataGrid control? ie: I have an nvarchar field bound to a particular colomn in a Datagrid and i want to be able to control (or check what a user enters in that particular column). ...more >>

Jet Won't Open
Posted by Curt Emich at 4/22/2004 12:52:46 AM
I get the following error when I write any code against a connection that is hooked to an Access database: The Microsoft Jet database engine cannot open the file 'C:\Inetpub\wwwroot\TimeTracker\Data\TimeTracker.mdb'. It is already opened exclusively by another user, or you need permission to...more >>

Allow user to resize control at runtime
Posted by johnnyholland NO[at]SPAM hotmail.com at 4/21/2004 3:45:17 AM
Hi, Anyone know how I can allow the user to resize a control that is on a form at runtime. If possible I would like to display small squares on each corner of the control and allow the user to drag those corners to a new position and when they release the mouse to resize the corner to that new ...more >>

Binding ListBox to Date Only
Posted by Eric Lemmon at 4/18/2004 3:23:09 PM
Greetings, I have a VB.NET Windows app where I bind a listbox to a DataView column = that contains date values. In this list, however, only the date (not = the time) is relavent, so I want to eliminate the time. As an example, = SQL Server returns: 2004-04-18 00:00:00.000. Instead, I want: ...more >>

VB.NET Forms (Master / Master-Detail / Views) Wizard
Posted by eazycode at 4/18/2004 11:43:06 AM
visit http://www.eazycode.com Introducing a unique product "EazyCode", that can do coding/programming for you at the click of a button, in a matter of seconds. What is EazyCode? EazyCode is a RAD tool that integrates into Visual Studio .NET and helps you develop and maintain front-end GUI...more >>

ImageList don't accept icon?
Posted by Microsoft at 4/16/2004 4:23:00 PM
How to add an icon into imagelist in VB.Net? ...more >>

is it possible to inherits a msgbox control
Posted by Norton at 4/16/2004 3:08:02 PM
I would like to add some function to the msgbox control without creating a new windows form (as i don't want to write its behaviour like its size and the button...) it is possible to inherits a msgbox control? thx in advance ...more >>

How to get lines in a textbox?
Posted by dgk at 4/16/2004 12:44:05 PM
I need the user to enter a number of lines of a particular number of characters, say up to 5 lines of up to 15 characters each. The Lines property of a textbox only seems to break on hard returns where the user actually pressed Enter. I was wondering if there is a way to get the soft line breaks...more >>

Add Textboxes Dynamically WithEvents
Posted by fplisa NO[at]SPAM yahoo.com at 4/16/2004 9:10:50 AM
Hi- I have code that dynamically adds 1 to 10 textboxes to a form. The user is asked how many boxes he/she needs. Problem is, I can't get to the events of each box that is added EXCEPT for the last one. I need to do a running total of the text boxes as the user enters a value and moves on...more >>

allow user to dynamically create controls
Posted by johnnyholland NO[at]SPAM hotmail.com at 4/16/2004 2:43:58 AM
Hi, I have used vb6 for years and am just getting into .NET. I want to allow my users to dynamicaly build their own forms by displaying a list of available fields. This means that the user needs to be able to dynamically add controls to a form and resize and move them and then I will record whi...more >>

How to intercept the datagrid just before it is commiting the values to underlying datasource?
Posted by Frederik Wehlin at 4/15/2004 2:32:03 PM
Hi, I´m having problems with the datagrid. I have bound it to a table where one of the columns does not allow null. I the user forgets to fill in this value in the textbox I want catch it before the datagrid tries to right it back to the datasource. It would be nice if an event like Commiti...more >>

data bound ComboBox problem
Posted by Marcin Floryan at 4/15/2004 10:46:13 AM
Can anyone explain this strange behaviour of a ComboBox (is it a .NET bug? ) I have a collection of several objects of my own class (this class exposes two properties: IdValue and TextValue and have ToString method) Public cItems as new Collection() cItems.add(New dataClass("1","One")) cI...more >>

ListView, Drag & Drop
Posted by Dick Bellnier at 4/15/2004 10:09:48 AM
I have two identical listview boxes where I have the need to drag & drop selected items from one listview box to the other. These selected items consist of text, a subitem, and the item tag. I've found some code on msdn that enables me to drag the text from one listview to the other which works...more >>

REPOST: Help re WndProc and DateTimePicker
Posted by Dino Buljubasic at 4/14/2004 9:12:10 PM
Hi, can somebody help me with this problem please? I am trying to build my own DateTimePicker control that will appear flat and have a thin border around. So far my control is flat, and the border around is thin but the button on the right side of my DateTimePicker still appears 3D. Even wh...more >>

What is the latest VS.NET version?
Posted by Dino Buljubasic at 4/14/2004 8:07:25 PM
Is VS.NET 2003 the latest version of Visual Studio.NET? Thanks, Dino...more >>

TreeList view for VB6.0 pls!
Posted by Sinex at 4/14/2004 4:59:42 PM
Hi ! Is there a free ActiveX TreeList View for VB 6.0. I badly need one and the internet doesnt have nething for me :-( Sinex ...more >>

how to find the name property in menuitems
Posted by Brett Sinclair at 4/14/2004 12:12:50 PM
Hello everybody I'd like to know how to find the name of the menuitem when looping thru each item in a MainMenu control placed on a form. The property doesn't seems available. Any help ? Here is a quick sample of what I'm doing. Dim tmpMenuItem As MenuItem For Each tmpMenuItem In ...more >>

User Controls Question
Posted by Dino Buljubasic at 4/13/2004 10:14:35 PM
Hi, I have a user controls that simulates DateTimePicker control on my form one above another. I consists of a label, button and Month Calendar controls. When I click the button, my user control enlarges so the month calendar is visible. It looks good but I have noticed that when I add 2 ...more >>

Question for Ken Tucker
Posted by Dino Buljubasic at 4/13/2004 3:49:49 PM
Hi Ken, first of all thank you for your reply regarding WndProc and DateTimePicker. I am going to work on the code today and see how it works. I am pretty new to programming and my question is where can I get a good introduction to programming with the messages, WndProc, etc? What programmi...more >>

Inherit controls and routines from another form
Posted by cmayan NO[at]SPAM lesliecontrols.com at 4/13/2004 10:57:42 AM
I am somewhat new to oop programming. I am writing a program where the same functionality will be duplicated on serveral forms. Instead of copy and pasteing, and then running into a maintance nightmare I want to put all the controls and associated code on one form, then inherit them into a tab...more >>


DevelopmentNow Blog