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

VB6 Questions
Author: Message:
Salem
Senior Member
****

Avatar

Posts: 769
Reputation: 16
37 / Male / Flag
Joined: May 2004
O.P. RE: VB6 Questions
quote:
Originally posted by CookieRevised
quote:
Originally posted by RileyM
So if i try and use commands in the VB app still running in VB, i need to set the parameters in the project properties.
Yes

quote:
Originally posted by RileyM
Are parameters seperated by ";"?
No. There aren't multiple parameters; It is one string and thus completely up to you what you wanna do with it. The parameter function Command$ simply returns everything which is typed on the command prompt in one complete string. You need to do your own parsing and/or splitting if you are planning to use more parameters.

When you set blahblah as parameter, Command$ will return the string "blahblah"
When you set /one /two as parameter, Command$ will return the string "/one /two"
When you set /one;two    /nine as parameter, Command$ will return the string "/one;two    /nine"
etc...

quote:
Originally posted by RileyM
And if running the app as a stand-alone (not throught VB, will i still need to put the commands on the project properties.
No. You couldn't anyway since the VB IDE isn't used in that case...

Entering the parameters in you project properties is simply a way to simulate what you otherwise would type on the command prompt when you've compiled your program. It isn't saved inside your compiled program, the option is simply there to simulate the command line.

quote:
Originally posted by RileyM
Finaly just to make sure...So basically i would just need to copy the example code Dempsey gave (obviously modifying it for my needs).
To know how it works, yes. Simply make a new project and add that line to the forms load event, set some text in the parameter textbox of that project and run it...


[Image: attachment.php?pid=548317]

----

Note all this can be found in your VB help files


Thanks for all the help. its much appreciated.
RileyM
[Image: salem874.smart.jpg][Image: card.png]
Was i Helpful?[/url]
10-09-2005 09:55 AM
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