all groups > vb.net controls > april 2005
Filter by week: 1 2 3 4 5
Tabs
Posted by Tom McL. at 4/29/2005 9:24:34 PM
Is there a way to set tabs in the RichTextBox control?
TM
... more >>
web controls
Posted by Dan at 4/29/2005 9:32:11 AM
Is there a way to get the Top and Left attributes of a control on a web page
in asp.net code?
Thanks
... more >>
.NET NEWBIE... Listview control question
Posted by Guy Cohen at 4/29/2005 12:00:00 AM
Hi all,
I am new to vb.net (2003).
I created a listview with two columns.
I want to add an item and alter the text in both columns.
I tried some code but could not find the right way.
How do I change the first column text ?
How do I change the second column text?
TIA
Guy
-------------... more >>
Listview...
Posted by Guy Cohen at 4/29/2005 12:00:00 AM
Hi all...
Lets say I want to add 100 items (e.g. Row1, Row2....Row100) to a listview
and for each item I want to add two subitems (total columns=3).
Do I have to declare a new listitem variable for each listitem ?....
TIA
Guy
... more >>
VBPowerPack FileViewer bug?
Posted by Philip Tepedino at 4/28/2005 1:25:10 PM
I'm trying to make a basic document browser using the FolderViewer and
FileViewer controls from the vbpowerpack
Everything works fine if a start a new solution, add the reference and
create the controls, however, when i try to do the same thing on my existing
project, the icons do not draw!... more >>
Raising events from constituent controls
Posted by snesbit at 4/28/2005 8:46:17 AM
If a screen is made up of several user controls and those user controls =
contain various packaged or standard controls such as a grid, how do you =
raise both standard and custom events from the user control so the form =
containing the user control can see the events you want them to see.
... more >>
How to make the backcolor of user control to transparent
Posted by Ellis Yu at 4/28/2005 12:00:00 AM
Dear all,
I try to set the backcolor of user control to Transparent in design
mode, but the system prompt me it's a invalid value. Anyone know how to do
it? Thanks
Best Rdgs
Ellis
... more >>
Really slow list view in detail mode when you have a sorter.....
Posted by UJ at 4/27/2005 10:05:56 AM
I got from this newsgroup an object that will allow you to make a list view
in detail mode sortable by any field. When I use it with more than a couple
of items, it gets really slow. I know it's the sorter because if I comment
out the line that turns the sortable on, it takes forever to load. ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
About TextChanged Event in UserControl
Posted by Ellis Yu at 4/27/2005 12:00:00 AM
Dear All,
I'm writing a usercontrol which contain a combobox and a textbox
inheriting from system.form.usercontrol. Anyone know when the textchanged
event in usercontrol will be triggered? And also, if I want the textchanged
event of usercontrol trigger when the textchanged event in co... more >>
Accessing com port with Sax Communication control
Posted by ValK at 4/25/2005 5:19:03 AM
Hello All!
Production PC has 3 available ports(com1, com2, com3).
Also there are three scan guns plugged to those ports.
I guess my question would be: How can I set multiple
connections to all ports with the single control? And
have some kind of event that will fired up if data
arrives to a... more >>
.NET - MaskedEdit control
Posted by Bill S. at 4/25/2005 2:37:32 AM
Hi,
I'm having much difficulty binding a MaskedEdit control. I can't get it to
format dates and times properly, and any values that are entered are
immediately replaced by the previous value. Futhermore, if I set the
PromptInclude property to 'True', I can't tab pass the control once it
recie... more >>
My usercontrol can't move in design mode
Posted by Ellis Yu at 4/25/2005 12:00:00 AM
Dear All,
I want to build a simple user controls that with a combo box and
textbox inside. The textbox is a component which inherit from
system.window.forms.textbox and I just simply change its readonly property
to "TRUE". When I try to use this user control in the form, I found I can'... more >>
User Component and Collection handling
Posted by Joop Muis at 4/25/2005 12:00:00 AM
Hi,
I'm trying to write a simple user component that handles a stringcollection.
I have looked at some examples and created a stringcollection and made it
accessible in the designer. The designer shows a collection and opens the
collection editor and lets me enter new values, however when I st... more >>
UserControl on IE. Delete from browser cache
Posted by ms NO[at]SPAM mstn.com at 4/23/2005 2:12:21 AM
I have a Windows User control hosted on IE it works great, I can tested
on my machine with VS.net, I upload it to my production server with no
problems, and it works as well, but when I upload a new version of the
control i'm having trouble seeing the new version, I delete files from
internet (i... more >>
How to disable the effect of pressing 'DEL' in a datagrid?
Posted by ywchan at 4/22/2005 12:13:21 AM
I have a datagrid that have some rows that can't be deleted (some can be
deleted and some can't)...
I want to know how to disable the effect of pressing 'DEL' ?
... more >>
Creating a NumericTextbox
Posted by Fia at 4/22/2005 12:00:00 AM
Down below is code for creating a control, NumericTextbox
Public Class NumericTextbox
Inherits System.Windows.Forms.TextBox
Private Sub NumericTextbox_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles MyBase.KeyPress
Dim KeyAscii As Inte... more >>
OT: ComponentOne TrueDB Grid.Net Issue
Posted by Simon Verona at 4/21/2005 12:00:00 AM
I don't know if anybody has any experience with using the TrueDBGrid =
from Component One (I believe that it's included in some of the =
Microsoft CD's as an additional component, but I've got the full =
registered component).
I use the truedbgrid in an inherited control with some additional =... more >>
FindControl by Name
Posted by Horst Klein at 4/21/2005 12:00:00 AM
Hi How can I find a Control faster in the Controls-Collection?
Is there a default function to do this?
Like this:
dim c as Control = FindControl("myTextBox",Me)
Public Shared Function FindControl(ByVal name As String, ByVal parent As
Control) As System.Windows.Forms.Control
Dim c As Con... more >>
Web Links in the menu bar
Posted by George Medlock at 4/17/2005 12:26:36 AM
Is there any way to put a hyperlink in the menu bar?
... more >>
Building Custom Controls
Posted by Dino Buljubasic at 4/15/2005 6:23:33 PM
Please help,
I am trying to build custom control but have some problems right at
the begining
I did following:
1) Created a ClassLibrary project and added it to my solution
2) I created a public class as :
Imports System.Windows.Forms
Imports System.Drawing
Public Class ClassName
... more >>
Communication between two User controls
Posted by Ben Wallace (3) at 4/15/2005 8:28:23 AM
I have a form which consist of two User Controls. Each of the two user
controls contain each a treeview control. we'll call the two controls UC_a
and UC_b. When I drag and drop a node from UC_b's tree control onto a node
on UC_a's tree control. What would be the most efficient way to remove the
... more >>
Textbox
Posted by at 4/15/2005 12:00:00 AM
Hi all,
I would like to add a click event for textbox. I know that it is a
TextBoxBase.Click Event. But I am no idea how to do ?... Anyone can teach me
how to do that ..
Thanks
Edmond
... more >>
Get date from server
Posted by at 4/15/2005 12:00:00 AM
hello all,
Anyone know that how to get server date or date time from server ?
Thanks
Edmond
... more >>
Treeview with a dataset
Posted by Steve Lloyd at 4/14/2005 4:59:50 PM
Hi,
can anyone tell me if it possible to autogenerate a treeview from dataset
with realtionships, kind of similar to the way a datagrid handles it. If
possible could you point me in the right direction too please.
Thanks for any help
Steve
... more >>
Panel-height greater Int16.MaxValue?
Posted by Olaf Rabbachin at 4/13/2005 2:31:42 PM
Hi folks,
I'm have a user-control that imitates a thumbnail-listview. Within, I have
a panel (pnlOuter) that represents the viewable area and another panel
(pnlInner) which represents the list as a whole with a scrollbar that'll
enable the user to change the viewable area.
Hence, pnlInner wil... more >>
Listbox
Posted by Bob at 4/13/2005 12:32:28 PM
Hello all:
I recently have converted from VB 6.0 to VB.NET. I was wondering if you can
tell me how to obtain the value of an item of a listbox without actually
selecting that item. For example, let's say that I have a listbox that
lists the 50 states of the US. Currently let's say item 10 i... more >>
Get Control Name
Posted by CHEPChap at 4/13/2005 8:57:55 AM
This is probably a very simple question but I can't seem to get a
working solution.
Is there anyway that when I click a dropdown box (whether or not I
change the value in the box) I can get the name of the control through
vb so that the control name can trigger different CASE options in a
mac... more >>
vb.net - openfiledialog control change current directory - how to reset it
Posted by mystologic NO[at]SPAM hotmail.com at 4/13/2005 7:45:03 AM
hi, i have a problem using the openfiledialog in vb.net.
The problem is that i use a lot of relative path in my program to
reach informations in the directory that comes with the applications
AND
when the application is runing, opening a file with the .net control
change the current path... more >>
BINDING ARRAYLIST to DATAGRID and DataTable efficiency
Posted by tommaso.gastaldi NO[at]SPAM uniroma1.it at 4/13/2005 5:47:45 AM
I have a question. I would like to make the binding described
in the following (just copy/paste the code to try).
I have seen that binding usually requires the object has properties
(which will be the different columns of the datagrid).
However in this case I would like to bind the values cont... more >>
Can i add a button to a listview field?
Posted by Peter van der Veen at 4/12/2005 12:00:00 AM
Hi
I have a listview in the column mode and was wondering if it is
possible to add a button to one of the fields so that it is part of
the listview and will scroll accordingly.
Peter... more >>
Listbox not display properly on client machine
Posted by Bill Nguyen at 4/11/2005 9:41:28 PM
A listbox is not displayed properly on 1 of our client machines. There's a
thin line where the list box should be. The client is a Windows XP machine.
I applied SP1 to .NET framework but it doesn't help.
Any sugegestion is greatly appreciated.
Thanks
Bill
... more >>
Datagrid with columns that are read only
Posted by UJ at 4/11/2005 3:28:54 PM
I'm trying to make a datagrid where only one of the columns is editable.
What's the easiest way to do this?
TIA.
Jeffrey.
... more >>
Datagrid where you can't add rows.
Posted by UJ at 4/11/2005 3:20:52 PM
Folks,
I know that this is an easy question but I can't figure out how to do it -
how do you have a datagrid where a person can navigate around it and change
values (so readonly is not true) but they can't add rows?
TIA
Jeffrey.
... more >>
Failure to add msrdp.ocx control to C#.NET or VB.NET form.
Posted by Bill Struve at 4/11/2005 12:00:00 AM
Need: Auto-logon to a terminal server, start a program, and, when the user
is quits the program, auto-logoff.
Problem: When msrdp.ocx is added to the Toolbox, attempting to draw the
control on the form gives the following "Microsoft Development Environment"
message:
"Compiler errors occured... more >>
how to hide an application and show an item in the system tray when minimize?
Posted by ywchan at 4/11/2005 12:00:00 AM
I want to write an application that will show in the system tray(the bottom
right hand corner) when the application is minimized. How to do this?
Thanks!
... more >>
Shadows???
Posted by Fia at 4/10/2005 12:00:00 AM
Hi
Below is a code for a combobox which acts like the comboboxes in Access. But
now when I'm using the combobxes event KeyUp to get this action, I don't
wan't programmers who uses this comboboxes to be able to use the event KeyUp
for their own code. Should I use shadows or is there a better wa... more >>
Searchable List View
Posted by Ellis Yu at 4/9/2005 12:00:00 AM
Dear all,
I want to create a user control including a textbox and a listview.
When user typing words in the textbox, the listview will automatically
scroll to the row that like the typed words. Anyone can help?
Thanks
Best Rdgs
Ellis
... more >>
Invalid Property Value Error
Posted by Alex at 4/7/2005 12:00:00 AM
Hi, what's happened to my project: each time I try to change any property of
a control, I get an error message: "Invalid property value" and in details:
"Object reference not set to an instance of an object. "
Could it happened after I'd moved the project to a different location?
Please, help.... more >>
my own ComboCox
Posted by Fia at 4/6/2005 4:06:27 PM
Hi
I have tried to create my own combobox, with properties and methods. But
when I use it in a Form and try to use the KeyPress Event for the control in
the Form, nothing happens. Do I have to do anything to make the KeyPress
Event work for the control, I thought it inherited the event.
Fia
... more >>
Does control have this property
Posted by kevininstructor NO[at]SPAM state.or.us at 4/4/2005 11:38:02 AM
I have the following code and would like to optimize it (if possible) by
looping through controls to see if the current control has the FlatStyle
property, cast it then set the value. Any thoughts?
Thanks, Kevin
Dim ControlItem As Control
For Each ControlItem In TheForm
... more >>
defrag and compress Registry
Posted by yxq at 4/2/2005 1:58:25 PM
Hi,
I dont know how to defrag and compress Registry to decrease its size, is
there the component for selling?
Thank you
... more >>
SQL Error
Posted by RTT at 4/1/2005 11:59:37 AM
I keep receiving an SQL error. Not everytime but frequently. Does anyone
know what to problem could be? This is the error i recieve:
Timeout expired. The timeout period elapsed prior to obtaining a connection
from the pool. This may have occurred because all pooled connections were in
use and ... more >>
Simple buttons
Posted by Bradley at 4/1/2005 11:15:16 AM
I need to create/acquire an up and down button to allow the user to
manipulate the ordering of inforamation in a list box. I've played with
adding a bitmaps to the button's image, but the coloring and overlay isn't
very clean. I initially thought that this would be trivial, but I haven't
c... more >>
|