all groups > vb.net > february 2006 > threads for thursday february 16
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
emulate tab key
Posted by Starbuck at 2/16/2006 10:00:15 PM
HI
In a edit form which has text boxes is it possible to emulate TAB and
Shift-TAB with the UP & DOWN keys
Thanks in advance
... more >>
Different Approaches to Saving settings: Which is better?
Posted by Martin the Third at 2/16/2006 6:30:14 PM
Okay, I have a program that has many optional windows. Its not mdi or
anything, it just has alot of windows that you can choose to have that
would add extra features to the program.
Now, I need to have the properties of these windows to stay when the
user exits (which windows are opened/closed... more >>
Which collection object to use similar to SortedList\Hashtable
Posted by Kiran at 2/16/2006 6:25:54 PM
Hi,
I need to store two columns of values in an object after getting the
same from a dataset\similar object.
1. I need to sort this data at one place, so I use sortedlist here.
2. In another place, I just need to store the data and pass it to a
business object where it gets further proc... more >>
Reference to a variable
Posted by Rob Nicholson at 2/16/2006 6:09:55 PM
How do you handle references to a variable in VB.NET? Consider something
like this:
Public Class MyClass
Private m_Widget As MyWidget
End Class
I realise that if you do something like:
m_Widget = New MyWidget
The m_Widget holds a reference to the new MyWidget object. If you t... more >>
BindingSource.AddNew
Posted by Leonardo at 2/16/2006 4:09:07 PM
Hi. I'm trying to build my first application with database access using VB
2005. I'm a VB 6 programmer and learning everything again has been
challenging. I managed to write a code using some tips from a book I
recently bought. The navigation works fine. My problem starts when it comes
to adding... more >>
Properties of a Property
Posted by OpticTygre at 2/16/2006 2:47:11 PM
Is it possible to detect if a property of a class is Readonly, WriteOnly, or
Read/Write?
... more >>
Avoiding Implicid Conversion?
Posted by gregory_may at 2/16/2006 1:48:14 PM
I am using a threadpool to process UDP broadcast messages. I cant figure
out how to type the threadpool call back. Below is a snip of my code. The
"process_UDP_Message" needs to pass a byte array .... but the Call Back
only passes back a generic object. Anyone know how I can force the typ... more >>
Open then Close Explorer directory using Process.Start
Posted by Mike Kober at 2/16/2006 1:21:15 PM
I'm having difficulty getting this to work. Any help would be appreciated.
What I'm trying to do is to open Explorer onto the Windows/fonts directory
and then close it. I've added a font programmatically to the directory and
found that the easiest way to refresh the folder is to just open wind... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Replace Selected Text
Posted by jvb at 2/16/2006 12:49:50 PM
Can anyone tell me why this isn't working in VB.NET 2003? And no, the
problem lies between the keyboard and the back of the chair is not a
valid answer!!!!
Me.TextBox1.SelectionStart = 0
Me.TextBox1.SelectionLength = 3
Me.TextBox1.SelectedText = "MOO"
Thanks
... more >>
printing problem with dotmatrix printer using vb.net
Posted by sukhsinghin NO[at]SPAM gmail.com at 2/16/2006 12:49:36 PM
Hi,
I am trying to print a invoice form with data from dataset using vb.net
and printer is dot matrix. Invoice is a continues paper with
pre-printed headers like First Name, Last Name, SSN# etc. and after
each header their are some blank block like for SSN# 9 small box. I hv
to print each dig... more >>
Activating Windows Forms
Posted by simchajoy2000 NO[at]SPAM yahoo.com at 2/16/2006 12:10:20 PM
Hi,
Let me see if I can explain this, I have noticed that when I create new
windows forms (within my larger window form which serves as the primary
interface with dropdown menus etc) that sometimes you can activate more
than one window at once if you click back and forth enough. Normally I
w... more >>
Getting current user name
Posted by Steve Enzer at 2/16/2006 11:09:18 AM
How can I get the login name of the user currently logged into Windows as a
string?
Thanks,
Steve Enzer
... more >>
Treeview,
Posted by Marc R. at 2/16/2006 10:28:11 AM
Hi all,
newbie one again.
In a treeview how can I get the selected one to still be "reverse" (as
Selected) went control lose focus ?
That Will help me to see on which record I work !
Marc R.
... more >>
converting Date to long
Posted by Brian Shafer at 2/16/2006 10:21:30 AM
In vb 6 i had a something like result = CLng(UserDate) - CLng(MyDate)
in vb.net I get an error
"Value of tyep 'Date' cannot be converted to 'Long'.
How do i get around this?
... more >>
by default, public or private?
Posted by prefersgolfing at 2/16/2006 9:35:38 AM
I'm trying to find on MSDN, or someplace, that speaks to variables being
public or private by default. Anyone know where? Thanks.
... more >>
Context Menu
Posted by tm at 2/16/2006 9:30:10 AM
I have added a ContextMenuStrip to my form and assigned
several controls to it.
My question is how can I retrieve the menu item that has been
clicked with in the ContextMenuStrip1_Click event and also
how do I find the calling control that clicked the menu item?
Thanks
... more >>
need help on DateDiff function!
Posted by Learner at 2/16/2006 9:03:59 AM
Hi ,
I am trying to use DateDiff to get the date after subtracting 60
days from today.
Please help
thanks
-L
... more >>
IFrame With DataView
Posted by Brian Shafer at 2/16/2006 8:27:13 AM
Hi,
I am creating a web app, and using a dataview. I want to be able to put an
iframe on around the dataview. How do I do this?
Brian... more >>
Getting Color Depth / Quality of display adpater / screen
Posted by hayworth NO[at]SPAM hotmail.com at 2/16/2006 8:07:21 AM
How do I get the color depth of the screen/display adapter with vb.net
2003?
Background: We're having transparency problems (long side story and
known Windows "bug") that requires our systems to have the Color Depth
or "Color Quality" (bits per pixel) of the display adapter (screen) to
be 16 ... more >>
Property of List of Classes
Posted by zacks NO[at]SPAM construction-imaging.com at 2/16/2006 7:44:48 AM
I asked this question before but got no responses. Let me rephrase the
question. I have a class that as a property defined as a list of
classes.
Public Class ClassA
Public Property Prop1 as List(of ClassB)
In a code segment, I can add an instance of ClassB to the Prop1
property of an ins... more >>
Is it possible to have different columns of a datagrid bound to different datatables?
Posted by Thomas Beyerlein at 2/16/2006 6:57:57 AM
Is it possible to have different columns of a datagrid bound to
different datatables?
I am working on a project and the specks have suddenly changed. Now a
item can have multiple reports/ versions assigned to it. But they like
the look of the datagrid and want to keep it. So now I have one c... more >>
TripleDES class - Suggestions Requested.
Posted by d4v3y0rk NO[at]SPAM gmail.com at 2/16/2006 3:51:23 AM
i have a class i found/wrote (meaning i found it originally and
tinkered with it to make it mine) and i would like some suggestions on
how to make it better. i am looking for things i need to add,
weaknesses, whatnot. Thanks in advance.
---------------------------------------------------------... more >>
Can't WaitHandle.WaitAll in an STAThread ?
Posted by Larry Lard at 2/16/2006 2:43:53 AM
[the xpost is justifiable, I think]
Just now I translated Jon Skeet's WaitHandle.WaitAny / .WaitAll
(<http://yoda.arachsys.com/csharp/threads/waithandles.shtml>) from C#
into VB.NET, and after the first go I ran into trouble:
(from the docs for WaitHandle.WaitAll)
>>
NotSupportedException ... more >>
VB.NET : Show print dialog before printing Word object
Posted by rija at 2/16/2006 12:28:21 AM
Hi all,
I would like to know how can I do to display print dialog so that the
user can choose printer when printing word document object.
Basically, I download rtf document on the HD and open it with VB.NET
then use printout method to print it.
Now, what I want to do is to make the prin... more >>
Edanmo Shell Extension: How to Install it?
Posted by Pieter at 2/16/2006 12:00:00 AM
Hi,
I'm trying to use the Edanmo Shell Extension Library
(http://www.mvps.org/emorcillo/en/code/shell/shellextensions.shtml) to make
a Context Menu in the Windows Explorer with VB.NET 2005. It seems realy easy
to use this library:
- I inherited from ContextMenuHandlerBase
- I made the ass... more >>
How is it possible ...
Posted by Alison Givens at 2/16/2006 12:00:00 AM
....... that nobody knows the answer.
I can't imagine that I am the only one that uses parameters in CR.
So, my question again:
I have the following problem.
(VB.NET 2003 with CR)
I have a report with a multiple-value discrete value and a rangevalue.
The report shows fine in the viewer, ... more >>
Transparent splash screen
Posted by JJ at 2/16/2006 12:00:00 AM
I remember reading somewhere that transparent forms will not display
correctly on some systems.
The Microsoft help says the about the opacity setting:
"Windows 2000, Windows Server 2003 family Platform Note: This property has
no effect on platforms that cannot display layered windows."
a... more >>
Transparent Label
Posted by Martin at 2/16/2006 12:00:00 AM
I've been complaing about the VB2005 Help-Information (or rather the lack of
it) before, but when I was looking how to set the backstyle of a label
control to "Transparent" I found that the VB2005 documentation has reached
an all-time low (please note the part about the z-order):
MSDN:
In ... more >>
Compiling Dependancies into a .NET APP???
Posted by Jason Myers at 2/16/2006 12:00:00 AM
Hi
I've just wtritten a desktop app using VB.NET 2005 Express Edittion. It
makes use of the MS Word 10 Com Components, andsome ZIP libraries that I
have. I need the appropriate DLL's to be built into the solution so that
when I install on another machine in my organisation, it will also instal... more >>
Determine disabled status
Posted by James at 2/16/2006 12:00:00 AM
vb.net 2003
i read the msdn documentation on Const ADS_UF_ACCOUNTDISABLE = &H2
how do i use the above to determine whether my account is disabled ? The
following does not work.
select case userAccountControl
case ADS_UF_ACCOUNTDISABLE
console.write ("account is disable")
... more >>
|