Re: set command line parameters in debugger for console applicatio
- From: theartiststillknownasgarvin <tommyg@xxxxxxxxxxxxx>
- Date: Thu, 24 Jan 2008 05:07:01 -0800
I think the shortcut with optional arg would be a fine solution, that is what
I would have done with VB4 (last time I worked in VB was a very long time
ago).
The app runs as a scheduled task, with various modes running on different
schedules, think daily / weekly / on demand, hence the need to send a mode
parameter.
I don't actually know how to modify the shortcut that is published by
Click-Once installation. I don't see any reference to an EXE file, for
example.
""Jeffrey Tan[MSFT]"" wrote:
Hi Tommy,.
Sorry can you help to explain your requirement in details?
I think this behavior is by design. The command line set in the VS IDE is
used only for debugging purpose. That is, it is the VS debugger that fetch
the command line setting in the IDE and pass them to the debuggee
application. So if you do not run the application under debugger, debugger
will not pass any command line to the debuggee application. This applies to
the deployment scenario.
Now, do you want to always run your application with command line arguments
on the server? If so, why don't you just implement the command line
function as the default behavior in the application?
Another workaround is creating a shortcut pointing your application which
can be configured to passing command line arguments. So the end user on the
server may use always use the shortcut to run the application to get the
command line functions.
Thanks.
Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
- References:
- Re: set command line parameters in debugger for console applicatio
- From: "Jeffrey Tan[MSFT]"
- Re: set command line parameters in debugger for console applicatio
- Prev by Date: RE: VS 2008, IIS and Vista debugging
- Next by Date: Re: set command line parameters in debugger for console applicatio
- Previous by thread: Re: set command line parameters in debugger for console applicatio
- Next by thread: Re: set command line parameters in debugger for console applicatio
- Index(es):
Relevant Pages
|
|