Skip to content

Planet-Source-Code/mohammed-sayed-yomna-file-association-example__1-68330

Repository files navigation

Yomna File Association Example

Description

This example will show you how to register an extension to your application & open one instance of it. I know that there is an example at vbaccelerator.com (from were I know how to send a command line to an opened instance) but I feel that mine is much simpler. Note that using FindWindow API is a bad idea (I used it in my example just to make it simple) but the proper way is here : http://vbnet.mvps.org/index.html?code/system/findwindowlikesimple.htm or modifying this method : http://allapi.mentalis.org/apilist/09098F5B1181331F804A2CBCFB765371.html , This application use a Mutex instead of App.PrevInstance , please compile the it to associate file correctly.

More Info

Submitted On 2007-04-11 01:28:32
By Mohammed Sayed
Level Beginner
User Rating 5.0 (10 globes from 2 users)
Compatibility VB 5.0, VB 6.0
Category Coding Standards
World Visual Basic
Archive File Yomna_File2059724112007.zip

API Declarations

Few , for registry , mutex , subclassing , XP Styles , seding window messages , ............