Start application with input parameter

  • Thread starter Thread starter Magnus Blomberg
  • Start date Start date
M

Magnus Blomberg

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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top