Share via

Opening files

OSVBNET 1,401 Reputation points
2022-07-03T20:41:45.06+00:00

Hello,
I'm doing a new project to open one file type, got 2 questions:

  1. How's registering my app to open a file type by default?
  2. When user double click on a file, how the file name is passed to my app, I mean how should I get it in my app?

Thanks in advance :)

Developer technologies | VB
0 comments No comments

Answer accepted by question author

Jiachen Li-MSFT 34,241 Reputation points Microsoft External Staff
2022-07-04T05:35:09.067+00:00

Hi @OSVBNET ,
Please check if the answers in following question are helpful.
Associate File Extension with Application
Opening a "known file type" into running instance of custom app - .NET
Best Regards.
Jiachen Li

----------

If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.