|
-
Mar 14th, 2000, 08:55 AM
#1
Thread Starter
New Member
Iam pretty much a newbie at this program...
I have read a few tutorials and pretty much under stand them. But I'am lost in the creation of my program!!!
I have the form, a user control, 3 menus; File --> New Window, Exit,| Ping --> Begin Ping, Stop Ping,| Help --> About
In the user control I have a background Image and 2 blank "Text" Boxes (one for the IP # to Ping and one for the # of bytes to send when pinging)I also have 2 command buttons (One thats starts the ping and one that stops it)
And thats about all I have...
I havent figured out how to get the menu buttons to work or how to "code" the program for user input of the IP and the # of bytes.
So basicly What I have is a fancy Interactive Picture
Iam willing to send the code to anyone that can help me with this...
My ICQ# is 48456199
Thx in advance
-
Mar 14th, 2000, 10:47 AM
#2
Fanatic Member
Hi Thrasher,
As for your menus, after you have created them with the Menu Editor, you can just select the choices (e.g. File...New Window) from the Form Window and it will take you to the VB Editor code procedure that corresponds to that particular menu event.
For the command buttons, double-clicking on them will take you to their Click event in the Editor window.
For your input text boxes, set the TabIndex to 0 for the 1 that you want to have the initial focus when your program runs.
Here's a link to a thread that was posted earlier on this Forum that has a Ping code example. It's on the 2nd page of the thread. I don't know if it works because I haven't tried it Click here.
From your description of what you want to do, I would recommend that you try something simpler for a first VB project. The stuff that I explained above is very basic. If you didn't know how to do it, creating a ping program may be quite a challenging undertaking. Of course, you can always post the questions you have in this Forum.
All the best.
Edited by OneSource on 03-14-2000 at 10:56 PM
-
Mar 14th, 2000, 12:03 PM
#3
Thread Starter
New Member
Thank you
That helped alot
Thx again
Thrasher
-
Mar 14th, 2000, 10:08 PM
#4
Ping ActiveX DLL
I have written an ActiveX DLL that pings any IP. If anyone wants it please email me and I'll send it to you.
-
Mar 14th, 2000, 11:09 PM
#5
VBNet has a nice example of pinging with vb(api)
How to Ping an IP Address Using Visual Basic
Edited by Azzmodan on 03-15-2000 at 11:15 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|