Welcome Guest Search | Active Topics | Members | Log In | Register

Re: Clickonce, and passed parameters Options · View
RobinS
Posted: Friday, January 04, 2008 1:00:07 PM


Rank: Guest
Groups: Guest

Joined: 9/17/2007
Posts: 11,670
Points: -1,200
Date parsed: 04/01/2008 13:00:07
Date: Fri, 4 Jan 2008 21:00:07 -0800

I would be interested to know this: If you push an update, and the user
opens the application by clicking on one of his files created using the app,
does it pick up the update?

Thanks,
RobinS.
GoldMail, Inc.

"Ken Lemieux" <KillerCoder@newsgroup.nospam> wrote in message
news:72C9C195-C03E-465D-B9D5-7C58EC1BC04A@microsoft.com...
> I've successfully created a file type association between my custom file
> type
> and my application. When users click on a file created using my Clickonce
> application, my application opens successfully.
>
> However, what's not clear is how the files path information is passed to
> the
> application. I'm unable to locate any Microsoft documentation that
> describes
> how I might obtain the path information. Would someone please point me to
> some documentation that will help me understand the workings of this
> process?
>
> Furthermore I'm unsure if I should be using Main(string[] args) to get the
> file path info or perhaps:
> AppDomain.CurrentDomain.SetupInformation.ActivationArguments.ActivationData.
> Would someone be able to shed some light on the correct usage for me?
>
> Thanks,
> --
> Kenneth Lemieux
> Project Engineer
> Whelen Engineering Co., Inc.

Linda Liu[MSFT]
Posted: Monday, January 07, 2008 6:44:51 AM


Rank: Guest
Groups: Guest

Joined: 9/17/2007
Posts: 11,670
Points: -1,200
Date parsed: 07/01/2008 06:44:51
Date: Mon, 07 Jan 2008 06:44:51 GMT

Hi Kenneth,

Yes, you're right. When activated via file association, your application
can obtain the file path of the target document from the default
application domain:

AppDomain.CurrentDomain.SetupInformation.ActivationArguments.ActivationData[
0]

Hope this helps.
If you have any question, please feel free to let me know.

Sincerely,
Linda Liu
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.

Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.1 (NET v2.0) - 9/10/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.039 seconds.