Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I am working with an windows surface application, in which I have a requirement.
Whenever I try to open a file with my application, it should manipulate that file and add it as an attachment.

This feature is working fine with Windows Phone, since it handles the file with ShareTarget class. But when I use the same ShareTarget feature in Windows Surface, it is not working.

Are there any alternatives of ShareTarget which I could make use of in Windows Surface application, if ShareTarget functionality is not available in Surface.

Please refer the below link about ShareTarget.
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh871367.aspx[^]

I have added all the necessary steps specified there. But somehow it is not working with Surface.

Apologies if the question is a bit vague and not clear.

Thanks in advance.
Posted
Comments
virusstorm 19-Jun-15 12:33pm    
Can you clarify what is not work?
Sriram Mani 20-Jun-15 5:27am    
I'm trying to attach a file to my application by using the "Open with"(Right click on a file and use the Open with option to open the file with our application) feature. I have added the code to handle this event. But the share target event is not triggered. So Im not sure whether the ShareTarget event can be used in Windows Surface app.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900