What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » VB6 Questions

VB6 Questions
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: RE: VB6 Questions
quote:
Originally posted by RileyM
quote:
Originally posted by Dempsey
2.  Command line arguments can be access from within VB from the Command$ variable.
eg
code:
Private Sub Form_Load()
    If Len(Command) <> 0 Then MsgBox Command
End Sub


Sorry, i do not understand what you mean with regard to the command line arguments. Please can you explain?
Just try the example that Dempsey has shown and things will become clear. Or press F1 and search your VB helpfiles for the Command$ function. Or look it up in the MSDN library.

The function Command$ returns whatever you have typed as parameters at the command line. (Remember that when you try to use Command$ in the IDE of VB that you need to set the wanted parameters in Project > Properties > Make > Command Line Arguments).

This post was edited on 10-08-2005 at 10:00 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
10-08-2005 09:58 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
VB6 Questions - by Salem on 10-08-2005 at 04:16 PM
RE: VB6 Questions - by Dempsey on 10-08-2005 at 04:56 PM
RE: RE: VB6 Questions - by Salem on 10-08-2005 at 09:54 PM
RE: RE: RE: VB6 Questions - by CookieRevised on 10-08-2005 at 09:58 PM
RE: RE: RE: RE: VB6 Questions - by Salem on 10-08-2005 at 10:06 PM
RE: RE: RE: RE: RE: VB6 Questions - by CookieRevised on 10-08-2005 at 10:55 PM
RE: VB6 Questions - by Salem on 10-09-2005 at 09:55 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On