Did you write the exe that you are trying to launch? If you did you can write
your app to accept command line arguments. Also, there is a place in the
VS.Net project properties "configuration" settings for "command line arguments"
(I don't remember how this works at the moment).
If you did not write the exe, then it will depend on whether that application
accepts command line arguments. For example: MS Word does, but MS WordViewer
does not. You also need to know what arguments that app accepts.
You should be able to launch a file from an HTML HREF link unless Outlook's
security settings stop it from running. Not sure if this will work here but
this link opened Notepad from a web page. NotePad
IE warned me that the file could be unsafe, but I was able to launch the app.
----- Original Message -----
From: Brian Russell
To: padnug@xxxxxxxxxxxxxxx
Sent: Monday, December 06, 2004 7:42 PM
Subject: [padnug] Launch Local EXE App With Command Line Args
Everyone,
I have been searching around the net today and doing various experiments,
but I can't seem to solve this problem. It is probably really simple and I
am just overlooking something.
What I need to do is launch a Windows Forms application passing in some
command line args to it from a link in an email. The application will send
email to users, and for their convenience, we want them to be able to click
a link in the email to launch the application and go straight to the area
needed.
We always know where the path to the exe is, so that isn't a problem. We
also know that the email client is Outlook 2002 or higher. Can anyone help
me with this?
Thanks,
Brian Russell
[Non-text portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT
------------------------------------------------------------------------------
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/padnug/
b.. To unsubscribe from this group, send an email to:
padnug-unsubscribe@xxxxxxxxxxxxxxx
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/dpFolB/TM
--------------------------------------------------------------------~->
|