all groups > vb.net controls > july 2004
Filter by week: 1 2 3 4 5
Formatted TextBox
Posted by Daniel Billingsley at 7/31/2004 9:34:22 AM
I'm considering writing a custom TextBox that works similar to the 3rd party
controls.
Let's say I want to display "##/##/####" by default and when the user enters
"04" I want to jump the cursor over the "/" and land it on the next "#".
And vice versa if backspace is pressed. Hope that's clea... more >>
Tabcontrol setting focus on a textbox
Posted by Michael Evans at 7/30/2004 3:06:00 PM
I have a form that has a tabcontrol and some textboxes. when the user
navigates thru the form textboxes and saves the record. I would like to set
the focus to the first textbox on the tab.
i tried to use textbox.focus
any ideas
thanks
... more >>
Tab Control And Web Browser control [Question]
Posted by Tiraman at 7/28/2004 8:24:08 PM
Hi,
lets say that i have the tab control with 3 pages and i would like that each
page will have the web browser control.
should i add web browser on each of the tabs or one webbrowser for all of
the tabs ?
what is the best way from the performance point of view ?
Best Regards ,
Tira... more >>
Custom TextBox
Posted by Thara DK at 7/28/2004 11:07:39 AM
I'm a Baby to vb.net and i want to use my own customized textbox to use in
all my forms.
ie.. a text box with font "verdena" and backcolor=red"
How can i buid a common one for my project and use it for all the forms ?
... more >>
Formatting an ASP datagrid using VB.Net code-behind
Posted by Coleen at 7/27/2004 1:26:24 PM
Hi all :-)
I'm back to trying to format my ASP. Net datagrids...I can format the =
totals row easily enough by doing a count -1 in the VB code behind. =
What I need to do is for each row, I need to set the alignment of each =
cell to either left or right. In my for loop I have code to add th... more >>
are "standard" bitmaps available?
Posted by Daniel Billingsley at 7/27/2004 1:06:17 PM
Does Microsoft make some of their "standard" button graphics available -
like the ones used in Office, for example?
I looked but couldn't find them anywhere.
... more >>
Floating Toolbar
Posted by Simon McCabe at 7/26/2004 5:05:15 PM
Hi All,
Has anyone come across a floating toolbar for .NET that does not come from a
third party vendor?
I have searched the net, but have come across nothing useable!
Regards,
Simon McCabe.
... more >>
ActiveX components missing?
Posted by Marcel Kollenaar at 7/26/2004 1:59:46 PM
Hi,
It seems that I miss a lot of ActiveX components such as mscomm32.ocx. I saw
there was some plain code code written to do serial IO in Visual Basic .NET
on the Microsoft website. I've seen this kind of code in C on their site but
then with a year 1995. I'm I crazy?
New language, new fra... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
disabling mousewheel on conbobox
Posted by Roger Uribe at 7/23/2004 10:03:04 PM
There are references to using the wndproc form sub to trap and swallow the
mousewheeel events - but they don't get there when a combobox (or many other
controls) has the focus.. Yet the MSDN does suggest this is a way to stop
the mousewheel scrolling a combobox
anyone know the REAL answer???
... more >>
Newbie - Can't Kill Program
Posted by google.4.oracle NO[at]SPAM xoxy.net at 7/23/2004 11:29:16 AM
I wrote a simple VB program that runs.
When I click on the close button in the upper right hand corner
of the main windows, the program closes. Or at least it appears to.
The form closes on the the screen.
If I look in the Task List manager, I can still see my app TTEST.EXE
running.
If I start... more >>
extracting a winzip file in code
Posted by Andrew Baker at 7/22/2004 11:01:43 PM
I have tried the Component One zip functionality, but it does not seem to
extract files from either Winzip of XP's compressed folders.
Has anyone used an unzip control that will extract these formats?
TIA
Andrew.
... more >>
AddHandler and dynamic context menus
Posted by Dave Taylor at 7/22/2004 9:37:11 AM
I have a TreeView that I wish to build dynamic context menus for. So I have
a function which examines the SelectedNode and builds the appropriate menus
in the AfterSelect event of the TreeView. I direct the Click event of each
MenuItem to one of two routines using the AddHandler mi.Click, Addre... more >>
Datagrid update
Posted by Bob at 7/22/2004 9:12:54 AM
Hi,
What is the best way to detect when a new entry has been added to a
datagrid, or an existing entry has been changed before the database is
updated? I need to set the value of a stored procedure parameter before the
insert/update is called.... have tried using the grids currentcellchanged
... more >>
Check Email
Posted by Ajit at 7/21/2004 2:59:52 PM
Is there anyway i can download/check EMail and/or Emails with attachments
Using VB.Net
The application i am working on need to download attachments and update
database
... more >>
VB.NET Power Pack
Posted by Lou Civitella at 7/20/2004 4:53:10 PM
I just downloaded the VB Power Pack from GotDotNet.com. I am testing the
controls in a brand new project but am not able to run the project after I
insert one of the new controls. This is the message that I get:
An Unhandled exception of type 'System.TypeLoadException' occurred in
VBPowerPack.ex... more >>
TabControl buttons not working during design time...
Posted by Greg at 7/20/2004 11:33:23 AM
There probably isn't a way to fix this, but I figured I would post any way.
I have a tabcontrol in my application. I can click the actual tabs during
design time without any problems, but the < and > buttons stop responding
preventing me from going to tabs that aren't showing. Due to the size, ... more >>
Outlook Like DataGrid
Posted by Norton at 7/19/2004 12:00:49 PM
Hi All
I would like to write a customized datagrid with a function like Outlook's
Group By Column. (eg.
http://www.componentsource.com/AssetLib/original/512926.gif)
I am thinking to create a temp dataset and re-establish the parent-child
relationship and then change the datasource of the ... more >>
How to show a CheckBox in a DataGrid when using SQL Server?
Posted by samike NO[at]SPAM ns2.com at 7/18/2004 11:47:54 PM
How to show a CheckBox in a DataGrid when using SQL Server?
I use SQL server and for boolean values I use a tinyint with possible
values of 0 and 1. 0 being False, and 1 being True. If the value is
1 then I want a checked checkbox to show up in the DataGrid. Likewise
if the value is 0 then ... more >>
radio buttons question
Posted by Sameh Ahmed at 7/18/2004 6:53:41 PM
Hello there
I have 2 radio buttons on the same control.
I need to make a check (using a message box with yesno buttons) before the
checked state is reversed.
I tried a checkchanged event and an if statement with the input of the
msgbox to see if the user has chosen yes so it will do nothing or ... more >>
Border widths and colours
Posted by Vilem Sova at 7/16/2004 10:40:26 AM
I'm an Access programmer in the process of converting an Access application
to VB.Net.
In Access you can set border widths and colours on virtually all controls,
but this doesn't seem to be the case in .Net. All you've got (it seems) is
thin black borders. This is a pretty major restriction on... more >>
Flat Combo Box?
Posted by Vilem Sova at 7/16/2004 10:27:17 AM
I've only recently installed the latest version of .Net, and I thought it
was supposed to give us a flat style combo box.
Have they not provided one, or have I got an install problem?
Thanks,
Vilem
... more >>
Formatting a datagrid in a Web form - NOT a Windows form
Posted by Coleen at 7/16/2004 9:28:51 AM
Are there any tutorials or links to help me with formatting my datagrid in
the code-behind using VB.Net for a datagrid in a WEB form? I see them for
Windows forms, but I need to know how to do this using a Web (.aspx) format.
Any help is greatly appreciated. TIA,
Coleen
... more >>
Simple Newbie question- Help Please
Posted by google.4.oracle NO[at]SPAM xoxy.net at 7/16/2004 6:55:13 AM
I am new to VB.net and have a simple question. I have a program with
one main form(Form1.vb) and another module (Main.vb) with a bunch of
subroutines and functions. If I want to update the text in a Textbox
(i.e. ResponseTextBox) how do a do this from outside the Form1.vb
window (i.e. from Main... more >>
ActiveX control wrapper
Posted by fs311 NO[at]SPAM web.de at 7/16/2004 1:09:03 AM
Hi,
as a VB dummy, I would like to create a wrapper for an ActiveX control
that behaves exactly like the control that I am wrapping. You might
ask if that makes any sense at all. Well, it does: I would actually
like to use my original control in Matlab, but Matlab seems not to
support the I... more >>
Non-Rectangular Form Question
Posted by Tiraman at 7/15/2004 9:11:21 PM
Hi,
i have some questions about non-rectangular forms
1) i build a form as a non-rectangular by setting the form background to
some bmp file and the transparenceyKey to the
color which i want to make transparent and every thing ok BUT when i m
replacing the bmp
file i can see the n... more >>
Treeview like "properties windows"
Posted by Agnes at 7/15/2004 10:11:29 AM
I had create a treeview and dock to left hand side, How can I make it like
the properties windows ?
there is a "hide" and "dock"option for the user ???
thanks a lot
From Agnes
... more >>
Adjusting form height for Windows theme
Posted by Vilem Sova at 7/14/2004 3:10:26 PM
Hi,
When I try to adjust a form's height, I get different results depending on
whether running a Windows XP or Windows Classic theme. It looks like this is
because of a different TitleBar/CaptionBar height applied for the two
Windows themes.
Can I find out the TitleBar/CaptionBar height so ... more >>
Calling ProcessCmdKey in control
Posted by csgraham74 NO[at]SPAM hotmail.com at 7/14/2004 2:23:48 AM
I am using the following code on my form to capture whether the tab
control has been pressed.
Protected Overrides Function ProcessCmdKey(ByRef msg As
System.Windows.Forms.Message, ByVal keyData As
System.Windows.Forms.Keys) As Boolean
Select Case keyData
Case Keys.Tab
... more >>
FullRowSelect problem with a datagrid.
Posted by Andrew Baker at 7/13/2004 10:31:13 PM
I have a problem while using a datagrid that I just cant solve.
First, the client wants the entire row to highlight when the row is
selected.
However when FullRowSelect is true, the entire row selects and it is not
visible which cell is selected. Additionally when this happens, the values
... more >>
new dot net'er -- DataGrid, List, Table?
Posted by eagletender at 7/13/2004 4:25:44 PM
It seems that it has gotten harder to do this:
I want to make a list where there is a break each time a certain value
changes with that value as a subheader, in this case, I am listing names and
addresses and separating by county:
County 1
John Doe, address, city, state, zip
Mary Jon... more >>
semi-complicated query with joins and Distinct -- need to select distinct on only some columns
Posted by eagletender at 7/13/2004 12:19:02 PM
My query:
select distinct
c.lastname,
c.firstname,
c.state,
c.phone,
cp.regionname,
cp.countyname
from primarylist pl
inner join contact c on c.contactid = pl.contactid
inner join corp cp on cp.id = pl.id
where(primaryperson = 1 And ... more >>
VB.Net DataGrid annoying "(null)"
Posted by Justin Emlay at 7/12/2004 8:42:34 AM
Is there any way to suppress the DataGrid from displaying (null) for each
empty cell? I'd rather it just be blank.
Thanks for any input,
Justin
... more >>
Browse Folders on Windows Form
Posted by josefszeliga NO[at]SPAM hotmail.com at 7/11/2004 12:53:25 AM
I am trying to recreate the drive/folder explorer control that you
normaly see on the left of your windows explorer. I want it to appear
on the left of the windows form that I am creating so that users can
drag and drop a folder off any drive, mapped drive or network drive
onto another part of t... more >>
Where is the browser control?
Posted by J. Garrido at 7/8/2004 8:31:43 PM
I refuse to believe that it doesn't exist in VB.NET, but I sure can't
seem to find it. Just to clarify, I'm looking for the control that sits in
my Toolbox that can be used to create a browser window within an
application. Thanks in advance.
- J. Garrido
... more >>
Custom MessageBox in vb.net
Posted by Viktor Zadro at 7/8/2004 12:39:44 PM
How make custom messagebox in vb.net (Croatian)?
... more >>
loading multiple usercontrols at runtime
Posted by microsoft at 7/7/2004 7:37:25 PM
Trying to find documentation for how to load usercontrols at runtime in
vb.net.
We can drag and drop multiple instances at design time, but can't seem how
to load them at run time.
Any help?
Thanks.
... more >>
Freeware/shareware Windows controls
Posted by Richard L Rosenheim at 7/7/2004 3:24:02 PM
I'm experimenting with .Net programming and is wondering what free (or
low-cost) UI controls are available for non-commercial use.
As I'm just playing around with code and concepts at the moment, I'm not
really ready to go out and start purchasing commercial libraries at hundreds
of dollars ea... more >>
Cannot dispose of all controls within a panel
Posted by Dean Slindee at 7/7/2004 12:51:29 PM
Drop a panel onto a form, name it pnlParameter. Into the panel drop two
label controls. Then put the following code into the form's load event.
Launch the form. The second label control added will dispose without a
problem, but the first label control is Nothing and will generate the
message ... more >>
Developer Express
Posted by Viktor Zadro at 7/7/2004 8:05:14 AM
Please, Developer Express XtraEditors Library Version 2.1.2 ???
... more >>
How to make a week view and day view calendar just like month view calendar in .NET ?
Posted by parthivjoshi NO[at]SPAM rediffmail.com at 7/6/2004 2:35:26 AM
Microsoft provides calendar control for month view in .NET. I want to
make
week view and day view on based of that. So how can I make that in
..NET .
If any one have an idea or if some one have the source code for that.
Please pass it on...... more >>
Looping Through All Nodes In A VB.NET Tree View And Highlighting Them.
Posted by michaelthered NO[at]SPAM hotmail.com at 7/5/2004 9:31:10 PM
I am attempting to loop through all the nodes in a tree view and
highlight them as the loop is active. All nodes would include to
children nodes of parent nodes and so on.
I have a function in my application that builds a tree view. It
populates the tree view with parent nodes. The parent n... more >>
Find item in ListBox based on ValueMember
Posted by Steve at 7/5/2004 5:00:05 PM
Hi all
I have a ListBox and I need to find the index of a particular item. I =
know you can find a particular item using: myList.FindString("String To =
Search For"), but the item I'm searching for is in the ValueMember =
property of the ListBox.
I am binding to a DataTable and setting the ... more >>
hide problem on forms in pocket pc application
Posted by Enver A at 7/5/2004 1:20:39 PM
Hey there ppl,
I am using a 4 form based application in pocket Pc and i am having trouble
hiding my forms.let me tell you like this...
Form1 is my main form.... after selecting what to do it launches form2.The
problem is when i click to close the form my form Form1 is shown again . I
tried to... more >>
ListViewItem Context Menu
Posted by T Cordon at 7/4/2004 11:32:33 AM
What happened to HitTest in the listview? How can I determine if a
RightClick occured over a listviewitem o some place else to evaluate if a
popup should show?
Thanks
... more >>
IP Edit box
Posted by OpticTygre at 7/2/2004 7:07:44 PM
Anyone know if microsoft provides a control in .NET to mimic the IP Edit box
that appears in the properties of the Internet Protocol (TCP/IP) under your
Local Area Connection properties? I'd rather not have to build my own if I
don't need to. :o)
Thanks,
-Jason
... more >>
programmatic multisel in listbox
Posted by Marc Miller at 7/2/2004 11:58:40 AM
I am stumped, again. How do you programmatically
select multiple items in a multislect listbox?
I.E., I have a list of fruits, vegetables and wines. I want
to check a box labeled wines and have all the listbox
items that are wines selected.
TIA,
Marc Miller
... more >>
Week View calendar control !!!!
Posted by parthivjoshi NO[at]SPAM rediffmail.com at 7/2/2004 4:12:12 AM
I want to make week view control just at month view control available
in .NET..Can anybody help me how to make it..or do anybody has the
source code..please tell me..I want to learn it..... more >>
Error !Object reference not set to an instance of an object. !!! Help
Posted by parthivjoshi NO[at]SPAM rediffmail.com at 7/2/2004 2:34:58 AM
I am getting this error when I am trying to create a listbox of 7
textbox values on my page..In below code ( dateone to dateseven are
label controls )..I want to collect the values of these label controls
when the page executes..but I am getting above error...
Dim weekdayslist As ListBox
... more >>
Pops up another window when clicking on a graphics
Posted by Hugh at 7/1/2004 8:24:41 AM
My application has a user interface with pictureBox shown
many rectangles. I want a window to pop up when user
clicks certain rectangles (not everyone) to show detailed
information. What is the best way to do this?
Thanks very much in advance.... more >>
|