all groups > vb.net controls > november 2006
better way to program than this?
Posted by André at 11/27/2006 7:33:52 PM
Hi,
I was wondering whether there is a better way to program code than this:
assume i need to create a lot of TabelCell with the same characterists
(HorizontalAlign, BackColor etc ...).
I can't use a loop (for/next) because the 'Text' is always different. What i
did was:
Dim c as Table... more >>
Alpha Fix
Posted by Lespaul36 at 11/27/2006 5:12:11 PM
I am working on a project that uses associated icons....sort of like the
windows explorer would do. I can draw the icons no problem, but I need to
create a selected icon. I am trying to convert the icon to bitmap, but the
alpha gets all screwed up. I have tried a few fixes that I found, but... more >>
Time Edit control
Posted by Rob at 11/25/2006 11:49:50 AM
Is it easy to create a time edit control ?
One that is structured hh:mm AM where each segment is editable using a
NumericUpDown control ?
... more >>
DateTimePicker value changes after validation
Posted by ElrondCT at 11/20/2006 8:34:01 AM
I've discovered an odd behavior of the DateTimePicker which I frankly think
is a bug in the control. I'm working in VB .NET 2003, but I've verified this
happens in VB 2005 as well. If you enter a single digit for a day or month,
and don't change anything else in the date, the ValueChanged even... more >>
TreeView Check box
Posted by Lespaul36 at 11/18/2006 7:39:47 PM
I am making a custom treeview, but I want some some nodes to be disabled.
So I want it to show the checkbox disabled and I want it to not be
selectable. How can I do this?
Thanks
... more >>
Outlook Express
Posted by Steve Arndt at 11/17/2006 9:56:50 PM
Anyone have code on how to get an Outlook Express new message dialog window
to pop up? And how to set the fields, attachment, and send.
Thanks
... more >>
Dialog
Posted by Steve Arndt at 11/17/2006 8:30:35 PM
I'm calling a dialog form from a parent form using showdialog. When I
return to the parent form, how can I validate which button was clicked on
the showdialog form.
Thanks
... more >>
textbox containing percentage
Posted by Steve Arndt at 11/16/2006 2:35:09 PM
How can I display a value in a textbox as a percentage while still using the
value as a decimal.
For instance, the user enters 33. When I leave the textbox, I was using
Format.Percent(txtbox, 2) to format the value as a percentage. But it
changes to 3300.00% instead of 33.00%.
I tried set... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
tabControls and CheckBox/Texbox problems
Posted by JJ at 11/15/2006 5:16:21 PM
This stuff drives me nuts.
Checkbox's on a form inside a tabControl that I seem to have no
control over. Checkstate=Checked and Checked=True, but the controls
appear checked and dimmed. Same checkbox on a form with no tabControl
works fine.
Assigned a textbox.text on tabControl.tabpage2 ... more >>
Serial Control
Posted by Lou at 11/15/2006 10:11:36 AM
When I send non-printable text Chr(248) to the control and it shows question
marks (?)
and doesn't recognize the chr(248)
I have tried setting the controls "Encoding" to ASCII, UTF7,UTF8 but
the Buffer does not accept the characters above 128?
Private Shared Sub SerialPort_DataReceived(ByVa... more >>
Move through DataGridView records
Posted by Kevin at 11/15/2006 8:55:16 AM
I've populated a DataGridView manually using a query. I'd like to know how
to programatically move to various rows in this DataGridView from other
procedures, by supplying a key value. I guess I don't know how to reference
and manipulate the DataGridView's source outside the procedure.
Th... more >>
problems manually binding a datagridview control
Posted by Brad Pears at 11/14/2006 6:48:17 PM
I am a complete newbie to VB.net 2005 - and am fairly new to VB in general.
I want to manually bind a datagridview control using code. In my code I
create and set the DataSet and DataAdapter objects , set the BindingSource
object and then attempt to set the datagridview's datasource property It... more >>
using ENTER key to move to the right cell datagridview
Posted by BisterBooster at 11/12/2006 7:52:41 PM
Hi,
Can someone help me for next problem
How to for using ENTER key to move to the right cell instead of the TAB key
Many thanks in advance
Marc.
... more >>
Compression namespace for Array
Posted by Fla at 11/12/2006 6:29:41 AM
Hi!
I would like to use Compression namespace for Array, i.e. use .NET
native Compression for compress a String, or an Array of Integer whose
elements are returned values of AscW for each char of the String.
I tried with the code available @
http://msdn2.microsoft.com/en-us/library/system.io.co... more >>
VS2005 and BindingNavigator
Posted by JJ at 11/10/2006 7:36:21 PM
I am really baffled by this BindingNavigator thing, and hey I'm a
newbie and trying to figure this stuff out.
I drag a field from my dataset onto the form, and this
bindingnavigator is created for me, ya know, with all the buttons to
navigate, add, delete and such.
So how come, if I delete... more >>
AUTOMATIC FONTS
Posted by Raul at 11/10/2006 1:02:39 PM
This becoming crazy.
I have a panelgroup inside with an option.
If I change the font to the panelgroup it also changes it to the secondary
controls.
And I don't want him to make it.
I have proven with autosize=false, with the autoscalemode and all the
options, but anything.
I ha... more >>
Dynamic EventHandler
Posted by David Bell at 11/10/2006 12:00:00 AM
Hi,
I am adding DropDownLists, textboxes controls dynamically to my page and I
need to and an event handler to a dropDownList which then populates another
DropDownList.
How can I add this Event Handler dynamically and can someone show me some
example code?
Thanks in advance.
... more >>
How can I set a TabControl's backcolor?
Posted by Steve at 11/8/2006 8:39:18 AM
I need to set the background color of a tab control. Not the tab page
backgrounds (that is pretty straightforward), but the background color of
the physical tabs and even more importantly the border at the left, bottom,
and right of the tabcontrol (which seems to take on the color of the tab's... more >>
Annoying Panels behavior
Posted by Steve at 11/5/2006 4:22:51 PM
I'm having a strange problem that I never had back in VB6 and can't figure
out how to deal with it.
I have a simple forms app with several navigation buttons on a form that
show and hide an adjacent set of panels. These panels present several pages
of the app's user interface.
I created ... more >>
SplitContainer
Posted by Stuart Nathan at 11/4/2006 12:00:00 AM
Has anyone else given up on the splitcontainer and moved back to the
splitter control?
I have found the splitcontainer control to be unpredictable and buggy.
... more >>
DataGridview context menus in row headers
Posted by Prashwee at 11/3/2006 12:00:00 AM
Hello All
I have added the DataGridView and ContextmenuStrip to windows applicattion
where I need to popup my context menu only in rowheader position.
When I RMB the the mouse I get the context menu but the position is wrong.
It appears in the top most left postion of the Grid control and not ... more >>
determining the image name for a picture box
Posted by Brad Pears at 11/2/2006 5:14:26 PM
Hello all!! I am completely new to vb .net. I have a picturebox with an =
image assigned to it via a project resource file.
If in code I want to check what the image is and do something based on =
that, I thought I could just do something like ... (where "logo_350x300" =
is the actual name)
... more >>
Host Winforms In IE
Posted by Adam at 11/2/2006 3:57:51 PM
Hello Everyone,
I have a control library full of controls that I am attempting to host in IE
using:
<object ..... classid="[location of assembly]#[classname]">
.....
</object>
This works wonderfully on my local machine (WinXP - IE7), after I set up the
..NET configuration to allow... more >>
|