all groups > vb.net controls > february 2006
Custom control is not holding design-time values
Posted by Jason Barnett at 2/27/2006 10:31:55 AM
I'm using Visual Studio 2005 to create a custom VB usercontrol that I named
"ProgressList" (derives from System.Windows.Forms.UserControl). The
ProgressList control contains a label control and a collection of
"BulletItem" controls (custom controls that display a GDI+ graphic along
with a l... more >>
BackColor not gray when enabled = False
Posted by Bruno at 2/23/2006 9:43:22 PM
Hello,
When I use a listview and I set enabled = False,, BackColor is grey, and I
an't change It.
I found on the net lots of same problem, but without answers.
Please help me...
... more >>
HOW TO get the value of ComboBox item?
Posted by Dursun at 2/23/2006 11:46:46 AM
I am using the following code as an example. Once the user selects an
item from the combobox (e.g., "Martin"), how can I access the value of
that item (e.g., "1")?
Dim dtAdjuster as new DataTable
dtAdjuster.Columns.add("Names")
dtAdjuster.Columns.add("Keys")
dtAdjuster.loaddatarow(new object... more >>
CheckedListbox control is broken
Posted by Ray Cassick (Home) at 2/22/2006 9:55:04 PM
Ok, this seems like a simple thing but I can't see how this is NOT a bug...
Just posting here to validate that I am not out of my mind before I try to
file it as a bug.
One form with a single CheckedListbox on it named clb. The code follows:
Private Sub Form1_Load(ByVal sender As Object, B... more >>
Context sensitive help in MsgBox
Posted by Dave Baker at 2/22/2006 3:14:57 PM
I have a VB.Net 2003 messagebox with an OK button & a Help button in it.
Clicking the help button pulls up the help file as I have this defined in the
Form1_HelpRequested subroutine.
What I would like to do is to get context-sensitive help instead - i.e. to
get the MsgBox help button to take m... more >>
Creating undetermined number of controls at runtime
Posted by Denny at 2/21/2006 9:55:52 PM
Does anyone know how to do this.
I need to create controls at runtime. The part that I am wondering is =
how do I create controls when I don't know the number of controls I =
want.
For example, one time I will need 2 combo boxes and textbox... but =
another time I will need 1 combo boxes an... more >>
Combo Box control Visual Basic net 2003
Posted by Paul Buckman at 2/19/2006 1:56:26 AM
I am migrating apps from Access to .net & a consistent Access method I use
for record selection is the Combo Box. The .net combo box (& listbox) seems
to be restricted to just one field for display at dropdown selection time.
(List boxes I can live with, the DataGrid is much superior).
Cons... more >>
PropertyChanged event with VB.NET (.NET 1.1)
Posted by Mark at 2/18/2006 10:29:31 PM
Hi.
I searched for hours now but can't find how to get the following to work:
A usercontrol with two properties (A and B).
If A is changed in the designer, B should be changed as well.
This works but the change in B is not instantly reflected in the
designer, it's only shown if you click o... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
User Control - setting "default" event
Posted by Simon Verona at 2/16/2006 12:00:00 AM
I know I've seen the answer before, but can't seem to find it using
google...
I have a usercontrol...
I want to set one of my custom events as being the "default" event for the
usercontrol, such that in the designer, when I click on it it opens the code
for that event rather than the "lo... more >>
Is there a Tool Tip for controls at run time?
Posted by Doru Roman at 2/9/2006 10:50:47 AM
Can the controls have tips? Once that the mouse moves over a control is it a
kind of Tip available that pops and gives details on the control at run
time?
Thanks
Doru
... more >>
Loading HTML into an HTMLDoc problem
Posted by Joe at 2/7/2006 4:48:56 PM
I am trying to load some HTML code in a string variable into a
mshtml.HTMLDocument object. I want to do that so I can access the various
tags and structures (<table>, <a>, using VB.NET code)
So is there a good way to load HTML to an object and access its parts with
VB.NET ?
I have an erro... more >>
selecting a rootfolder for folderbrowsedialog
Posted by Rene at 2/2/2006 6:04:35 PM
Hello all,
At the moment I am trying VB2005 express edition to see
if I will make the step from VB6 to 2005 (in
VisualStudio). To see how this all works out I am
reprogramming an app I build a few years ago.
In a Form I place a button and a textbox. the textbox
is, by default filled wi... more >>
Interview Questions Feb 01 2006
Posted by Jobs at 2/1/2006 7:58:01 PM
What's difference between thread and process?
A thread is a path of execution that run on CPU, a process is a
collection of threads that share the same virtual memory. A
process has at least one thread of execution, and a thread always run
in a process
Full Interview Questions for .NET ... more >>
Register insertion of USB drives in .NET 1.1
Posted by Paul Taylor at 2/1/2006 12:00:00 AM
Hi there,
I'm trying to write something in VB.NET that registers the insertion of a
USB device (specifically a USB flash drive) and acts upon the event. I've
done some reading up and it seems that using ManagementEventWatchers is the
way to go, yet using the code below in a test project, I... more >>
Child Form does not display on MDI Form
Posted by Mike TI at 2/1/2006 12:00:00 AM
Jan 31, 2006
Dear all
I am new to VB Net 2005 and learning by building a small project.
I have created an MDI Form. I placed a SplitContainer on the MDI Form. Now
when I want to display a Child Form on the MDI Form, it will not show. If I
remove the SplitContainer, it is displayed.
(Co... more >>
Remove User Control from Memory
Posted by Mike TI at 2/1/2006 12:00:00 AM
Feb 1, 2006
Hi all
(New to VB.Net)
I have created several User Controls. I am displaying User Controls using
UserControl.Show()
I am removing UserControl using
UserControl.Hide()
I am assuming that Hiding simply makes the control invisible. Is there a way
I can remove the User Con... more >>
|