all groups > vb.net > january 2004
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 29 30 31
TopMost
Posted by Jason Garland (Secure Access Pty Ltd) at 1/31/2004 9:50:02 PM
Does anyone know a way of making an item the highest form ? (eg nothing can
go above it, stays on top ?)
I have used the
TopMost = True
But if users hit the Start Button, it then goes over the top. Anyway of
keeping it higher or another way around the problem ?
... more >>
Where to put images
Posted by MC D at 1/31/2004 9:45:14 PM
I'm new to win forms programming, and am having a bit of trouble figuring
out where to place images that will accompany the program. Do you place
them in the bin directory?? What if you are making a control library to
accompany the app, and there are images that accompany the controls? Do you
... more >>
...., Optional ByVal avarText2() As String =?????)
Posted by SamSpade at 1/31/2004 5:23:16 PM
....., Optional ByVal avarText2() As String =?????)
The above is an argument in a function declaration.
I can't finish it because I don't know how to spcify a literal string array.
I tried {""} but the compiler complains.
Nothing seens to wotk but I'd like a one dinensional array with ... more >>
Convert Structure to Byte Array
Posted by Charles Law at 1/31/2004 4:15:51 PM
Suppose I have a structure
Private Structure MyStruct
Dim el1 As Byte
Dim el2 As Int16
Dim el3 As Byte
End Structure
I want to convert this into a byte array where
Dim st as MyStruct
Dim arr(3) As Byte
arr(0) = st.el1
arr(1) = st.el2 >> 8
arr(2) = s... more >>
DirectoryServices Problem on Windows NT Workstation
Posted by Günther Rühmann at 1/31/2004 4:05:02 PM
Hi,
I´m not sure if i´m right int this group...
My problem:
I made a vb .net application that reads from AD via
System.Directoryservices.Directoryentry.
The appliocation enumerates group members.
It works fine on W2k - machines. It works on a WinNT 4 - server, too, but it
stops with a runtime... more >>
Issues with .NET
Posted by Shelly at 1/31/2004 4:03:29 PM
Hi
I understand that there is nothing like disabled image list in toolbar of
VB.NET
Also, there is no placeholder button on it.
Why have these features been removed. Any plans of MS to incorporate them in
future versions of .NET?
Regards.
... more >>
H
Posted by Günther Rühmann at 1/31/2004 3:59:59 PM
Hi,
I´m not sure if i´m right int this group...
My problem:
I made a vb .net application that reads from AD via
System.Directoryservices.Directoryentry.
The appliocation enumerates group members.
It works fine on W2k - machines. It works on a WinNT 4 - server, too, but it
stops with a runtime... more >>
getting file position
Posted by Vicky at 1/31/2004 3:45:11 PM
is there any function of any class avilable which do the same work as
internetsetfilepointer win32 api function does.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
text height problem
Posted by liups at 1/31/2004 3:22:09 PM
Hi,
I have a multi-line textbox that accepts text input, I want it to
adjust its height according to the text it holds, so I use a
SendMessage API to get the line count of the text, then set the
TextBox.Height to (linecount * font.Height), but there is something
wrong with this calculation, the... more >>
MOD question
Posted by Edward Mogel at 1/31/2004 1:31:07 PM
What would be the correct code when entering a number between 102 and 676 and having it find the average of all the even numbers between 1 and the supplied number using the looping construct.
Also how do I code the program to use the Escape Key to exit and the Enter Key to perform a computation?
... more >>
hashTable.RemoveAll
Posted by msnews.microsoft.com at 1/31/2004 12:56:27 PM
So what is the best way to iterate through the hash table to remove all the
members?
i tried using the enumerator but it gets an exception as it removes each
element.
dim de as dictionaryEntry
for each de in xHashTable
xHashTable.remove(de.key)
next
I am missing the vb6 scripting.... more >>
global picturebox
Posted by Bernie Yaeger at 1/31/2004 12:48:01 PM
I place a picturebox with an icon (my client's logo) in it on every form of
an enterprise app. This takes just a little space but I have 150 forms, so
the .exe is larger than I'd like. Is there any way of making this control
global, such that it only ends up costing the .exe 5k instead of 750k?... more >>
Sample Code - VB or C#?
Posted by Chad Z. Hower aka Kudzu at 1/31/2004 12:13:36 PM
I need to provide a series of demos for an assembly. There are potentialy
several dozen of them. None of them are very complex, however maintaining two
versions of them will be very maintainance intensive.
Some of the very basic ones I have provided in both C# and VB. However moving
forward... more >>
ReadProcessMemory
Posted by Luke at 1/31/2004 10:38:44 AM
I am trying to convert some VB6 projects to VB.NET, however I'm having
trouble finding documentation of a new format for some functions, in
specific ReadProcessMemory. Since .NET no longer supports the 'as any'
declare I found myself trying integers & longs, however all attempts throw
back the e... more >>
UDP File Transfer
Posted by MrMind_15 NO[at]SPAM Hotmail.com at 1/31/2004 10:17:41 AM
I want any sample technique ,code or any idea regarding file transfer
using UDP socket. Please send me some info.
Thanx.... more >>
Data Display Please help
Posted by natalie.clarke3 NO[at]SPAM ntlworld.com at 1/31/2004 10:13:24 AM
I'm new to VB6. I've only been using it for about 2 days.
I've had to write a cti application.
I've got a phone number that a client has rung in on, what I now need
to do is to get it to display the name of the line. i.e Customer
service
Idealy I would like to do all this inside vb r... more >>
cboCombBox.Items.Clear doesn't trigger any events?
Posted by Rob R. Ainscough at 1/31/2004 10:00:56 AM
What I'm trying to accomplish is:
Disable a ComboBox (not bound to any data) when a .Clear method is
executed.
So far a cboComboBox.Items.Clear does NOT trigger any of the events I
expected it would. I've placed break points in the following events and
still they are not triggered:
Cli... more >>
When to add a component versus a class
Posted by John Granade at 1/31/2004 9:11:58 AM
I'm sure this has been asked but after searching the Internet, I just can
find a clear answer. When should you add a component versus a class to you
Windows Forms application?
The timer is a good example. I'm planning to add a customer system.timer to
run that should be accessible from sever... more >>
date and timer on a form
Posted by aelhhattabi at 1/31/2004 6:19:30 AM
hi,
I'm new to vb.net . I have a problem waking up early. I usually miss my
morning classes. I downloaded some alarm clocks of the internet but most of
them are huge and have extra functionalities. so I decided to make my own
alarm clock. i created my project and made the form. I could display... more >>
HTTPS connections
Posted by Masahiro Ito at 1/31/2004 5:38:04 AM
I need to be login to several websites and download files that are https
connections. I just tried IPWorks demo, but it does not seem to offer
https.
Does anyone know an https capable product, or a way I can do this myself?
Thank you.
Masahiro... more >>
Invoke standard mail client
Posted by John Lafrowda at 1/31/2004 5:06:32 AM
Hello experts,
I'm coding a routine which should open a new mail form of the mail standard
mail client installed on a system (e.g. outlook, outlook express, netscape
mail, etc.) for support reasons. The routine should fill in some textual
information. It should, however, not mail the informati... more >>
Form and Crystal
Posted by RichK at 1/31/2004 12:23:02 AM
I have a rather newbie question.......
How do I have Dotnet (VB) call up a Crystal report I have written and have
it display
in my form?
Hope you can help and TIA!
... more >>
Adding a column at design time
Posted by jy836 at 1/30/2004 8:36:57 PM
How can I add a column to a DataGrid at design time? (It will not be bound
to any DataTable or anything else, but it will be in the middle of other
columns that are. The headers of the columns that are bound to the DataTable
already appear at design time, but I can't figure out how to add new unb... more >>
System Wide Registry Hook
Posted by jesse.bryant NO[at]SPAM mdsnews.com at 1/30/2004 8:26:25 PM
Hi All,
I want to be able to make an engine in VB.Net which creates a bridge
between applications and the system registry, so before it's processed
by the O/S, I want to be able to have the request analysed
(read/write/enumerate etc.) and reject the request if it doesn't meet
certain paramete... more >>
Leave event in a Usercontrol
Posted by liups at 1/30/2004 8:15:36 PM
Hi,
I have an array of usercontrols, each of the usercontrol has a label
and a textbox, I want to do some checking when the textbox loses
focus, the code is like this:
Private Sub txtTextBox_Leave(ByVal sender As Object, ByVal e As
System.EventArgs) Handles txtTextBox.Leave
select case me.... more >>
combobox bug???
Posted by Dominique Vandensteen at 1/30/2004 7:00:50 PM
dotnet framework v1.0.3705 in vs 2002
code below
whats happening
when I select something else than first element in my combobox and then I do
a combobox1.selectindex = -1 the first element is selected
so instead of being -1 it is 0 (checked with debugger)
if the first element is checked and ... more >>
Data Conversion
Posted by Brad Markisohn at 1/30/2004 6:28:50 PM
I've been brute forcing a conversion of binary data in a byte array into
ASCII encrypted hex (2 chars = 1 byte). Is there a formatting scheme that
will allow me to do this? Here's a snipet of the code I've been using:
For Count = 0 To myBuffer.Ubound(0)
If Len(Hex(myBuffer(Count))) < 2... more >>
listview direction arrow
Posted by Mike at 1/30/2004 5:01:07 PM
Does anyone have example code for an API call to put direction arrow images on a listview header indicating sort order. I need this for VB.ne
Thanks... more >>
Passing data problem to older third party DLL - HELP!
Posted by James Radke at 1/30/2004 4:28:06 PM
Hello,
I have a vb.net windows application that is calling an older DLL provided by
a third party. They supplied a VB 6 application that, when run on my
systemn successfully passes data to the database. The problem I am having
is that when I pass the data from VB.NET, the fields defined as d... more >>
Set a form into a non-responsive state
Posted by Urs Vogel at 1/30/2004 4:26:09 PM
Hi
I would like to set a Windows.Form into a non responsive state, i.e. that it
does not respond to user input of any kind, similar to the state a forms
gets when another modal form is opened ontop with ShowDialog(). Form.Enabled
= false is not what I'm looking for, it changes the look of the ... more >>
VB Realtionships - Newbie
Posted by Merlin at 1/30/2004 4:25:15 PM
Hi group, i`ve looked everywhere now and i think i know less than i did
before i started, im getting so frustrated with this now:(
This must be so Simple i just don`t know how to do it tho:(
I want to be able to have a ComboBox on a normal WinForm select it and pull
a list of all Sites from ... more >>
Get Nested Folder Depth?
Posted by Michael Ramey at 1/30/2004 4:15:49 PM
Hi,
Is there any easy way to get the number of nested folders for a given path.
for instance I have the following
(trying my best to simulate a view you would see in windows explorer)
c:\temp
\folder1a
\folder1b
\folder2a
\folder1c
\folder2a
\fol... more >>
Form Borders
Posted by Gene at 1/30/2004 2:43:28 PM
Is there anyway around being stuck with the border color of the currently
selected color theme in XP?
I'm sure I could use the FormBorderStyle=None and then try to figure out how
to draw it but I'm hoping there's a MUCH simpler way. Any help is much
appreciated
Gene
... more >>
Exposing enums from another class?
Posted by M O J O at 1/30/2004 2:37:07 PM
Hi,
I want to expose a enum from another class, is that possible and how?
Here's an example
Public Class ClassMaster
Public Enum Colors
Red
Green
Yellow
End Enum
End Class
Public Class Cars
Public ReadOnly Property Colors() As Sy... more >>
VB and implicit conversions
Posted by Chad Z. Hower aka Kudzu at 1/30/2004 2:23:04 PM
I have an implicit conversion set up in an assembly from a Stream to
something else. In C#, it works. In VB it does not.
Does VB support implicit conversions? And if so any idea why it would work in
a C# program but not VB?
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
... more >>
PropertiesGrid and opening forms
Posted by Shawn Hogan at 1/30/2004 2:20:35 PM
Hi,
I have a 3rd party control(infragistics) that seems to alter the VS.NET IDE
properties grid so that there are three areas instead of two areas in the
VS.NET IDE properties grid. There is a new middle area that looks a lot like
the description area except it has hyperlinks that open forms t... more >>
Killing a MDB file
Posted by Atley at 1/30/2004 1:29:27 PM
I am trying to make sure that an MDB is not in use and then delete it. If
it is in use, I want to automatically disconnect all the users and then
delete the file.
Any suggestions are welcome.
... more >>
DataGrid event question
Posted by Steve at 1/30/2004 1:28:17 PM
I have a datagrid in a WinForm.
When the user edits an entry in the datagrid, after he leaves that field, I
would like to do some cheking. What event fires when the user does that?
I need to make sure that the value he modified does not create a dup value
in my DB.
Thank you for your help,
... more >>
Codedom
Posted by Klaus Löffelmann at 1/30/2004 1:06:10 PM
Hi,
before I'm going to search my self to death; does anybody happen to know a
link to a desciption how to not only produce code via CodeDom, but also
modify code in an already opened source file (Like the form designer does)?
Thanks a lot,
Klaus
... more >>
Check for rows in DataReader (CF 1.0)
Posted by Sascha Meyer at 1/30/2004 12:57:47 PM
Hi there,
I've tried several ways to resolve this problem and also searched the
net but I'm still not satisfied with my different solutions:
how do I check for rows in a DataReader in a CompactFramework Appication
with SQL Server CE?
I tried something like
[CODE]
sqlSCom.CommandText = "... more >>
Index
Posted by Will at 1/30/2004 12:51:05 PM
Hey guys, i have 5 buttons created on runtime, in vb 6.0, each button had a unique index, how is done in vb.net? bellow is the code
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loa
Dim i As Integer =
Dim myPic(10) as pictureB... more >>
How can a program create a page like this?
Posted by Trint Smith at 1/30/2004 12:43:06 PM
How can I get a program, when a user makes selections then clicks a
button, to create a results page like one might get from google.com,
yahoo.com or an ebay search?
like this:
photo | something | and some detail.......
photo | something | and some detail.......
photo | something | an... more >>
Best book for .NET framework reference/bible?
Posted by Ben Mann at 1/30/2004 12:40:09 PM
Hi, I have been developing business applications in VB since version 3 and
consider myself an experienced VB programmer.
I am looking to learn .NET and would like to get a reference book for the
..NET framework.
I have spent some time looking at reviews and am considering the following:
T... more >>
Best book for experienced VB6 developer to learn VB.NET?
Posted by Ben Mann at 1/30/2004 12:33:55 PM
Hi, I have been developing business applications in VB since version 3 and
consider myself an experienced VB programmer.
I have spent some time looking at reviews and am considering "Moving to VB
..NET: Strategies, Concepts, and Code, Second Edition" by Dan Appleman.
Does anyone have any negat... more >>
MVP? LVP? What's better? :)
Posted by Maniaque at 1/30/2004 12:11:30 PM
Looking throught definition of LVP in my post about Vs2003 bug, I offer to
assign a category to the others, not only MVP.
For example:
RYB - Rock Your Body programmer
BIO - Bring It On programmer
FBI - Found By Iteration programmer
CIA - Caught In Action programmer
.... and the beat goes... more >>
Keeping screen area
Posted by Sarkis NO[at]SPAM SarkisMatossian.com at 1/30/2004 11:40:57 AM
What I am trying to do is to have a form/application I am making
reduce the working screen size by its dimensions. What I mean by this
is that when an application is maximized (MS Word for example), it
will stop expanding at the boundaries of my application. A good
example of this is the Taskb... more >>
copy User Control between projects
Posted by Eric at 1/30/2004 11:16:41 AM
Using VB.NET (2003)
I've got this VB project where I've defined 1 form, and 1 user control. If I
go to the form, I can see in my toolbox that I can drag-and-drop the user
control onto the form.
Now, I make another .NET project with a form, copy and paste the user
control files (in explorer)... more >>
Windows service
Posted by Ruslan Shlain at 1/30/2004 10:59:36 AM
Can anyone point me to the resources on the web about writing Windows
Services?
... more >>
Array Declaration
Posted by WFB at 1/30/2004 10:56:28 AM
Hi,
This is a pretty stupid question Im sure, but what's the difference in
Dim x() as SomeKindOfObject
and
Dim y as SomeKindOfObject()
Thanks
WFB
... more >>
Rewrite just where it has changed
Posted by ltt19 at 1/30/2004 10:56:04 AM
Hi
I have a very big .txt file, about 17MB, and my application need to read it and make changes at any time
I can put it in a variable and my program writes the file again oly in the end of the program, them it won't nedd to rewrite the file everytime it makes a change. But it uses many space in... more >>
|