PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Start application with input parameter

Reply

Start application with input parameter

 
Thread Tools Rate Thread
Old 10-02-2006, 06:55 AM   #1
Magnus Blomberg
Guest
 
Posts: n/a
Default Start application with input parameter


Hi there!

I am developing a module to an existing software (that is not changeble),
where I will put hyperlinks to the module.
This is a software where I have customers with a specific ID.
The hyperlink could look something like "c:\program
files\prospects\PCImodule.exe 1259", where the 1259 is the input parameter
(ID) to the module to open a specific customer.

How to enter the hyperlink, and how to write the code in the new module to
get this ID?

Regards Magnus


  Reply With Quote
Old 10-02-2006, 09:30 AM   #2
Tim_Mac
Guest
 
Posts: n/a
Default Re: Start application with input parameter

you could use Process.Start() to specify your executable, with the
command line arguments as the second parameter. maybe you could store
the argument in the Hyperlink Tag or something, and wire up a Click
event.

hope this helps
tim

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off