c# open file association at runtime -


(sorry bad english)

hi have problem.

i need open associated files in program while running.

if take example visual studio, when opened ide , double-click on file example test.cs

do not opening new application, added tab new file.

and 'possible such thing?

as you've observed, windows explorer try launch new instance of app when double-click file associated application. can't change that. can have new instance check whether instance running and, if so, tell running instance load file. there lots of ways establish sort of communication. listen on port, periodically check file in particular location, etc. how you.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -