Skip to main content

Launching WinWedge

When you install WinWedge, a file association between the .SW3 filename extension and WinWedge.exe is created in Windows. This allows you to launch and activate WinWedge by executing (or double clicking on) a WinWedge configuration file. When you do this, WinWedge launches and loads the configuration file and then activates automatically with that configuration file. To launch a WinWedge configuration file from an Access database automatically when you open the database in Access, you would first create a VBA module in your Access database with a function in it that launches your WinWedge configuration file. The following is an example of the code that you would put in the VBA module:
If you name a macro Autoexec, Access will automatically run the macro when you open the database. To get the above function to run automatically when you open your database, you would create an Access Macro named Autoexec that performs the RunCode action and calls the above function named LaunchWinWedge().

Closing WinWedge automatically

Closing WinWedge

To close WinWedge, you would use the following function:
Unfortunately there is no “AutoClose” macro support in Access that you can use to call the above function when you close your database however you can create a hidden form that loads automatically when your database opens and then use the Form’s Unload event to call the CloseWinWedge function and thus shut WinWedge down automatically when you close the database.

Tips for using WinWedge with Access

Bonus Tip: One of the options that you can set in  your WinWedge configuration file is to “Minimize on Activation” so that WinWedge will only appear in the system tray as an icon keeping it hidden from the user. To set this option in WinWedge Professional Edition, Run WinWedge.exe and select “File” – “Open” and open your WinWedge configuration file and then select “Activate” – “Minimize on Activation” and then select “File” – “Save” and “File” – “Exit”. In WinWedge Standard Edition, select “Define” – “Preferences” and check the check box labeled “Minimize on Activation”. With the Minimize on Activation option selected, when you launch the WinWedge configuration file you will only see a small icon in the system tray area of the Windows taskbar. To open WinWedge you would right click on the WinWedge icon in the system tray and select “Open WinWedge” from the context menu that appears.
Last modified on November 3, 2026