Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3656

Opening file associations on Windows

$
0
0

Hi all,

My setup program makes the file association successfully, and I’ve implemented the Application.OpenDocument event.

Everything works correctly when my application is closed and the user double-clicks one of the associated files from File Explorer. My app launches and opens the file.

The issue arises when my app is already running. Instead of the current instance opening the double-clicked file, it launches a new instance, which fails to run due to my Mutex / Prevent Multiple Instances code.

What’s the correct approach to ensure that the associated file opens in the existing instance of the app?

5 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3656

Trending Articles