Question and Answer Database FAQ2286D.txt — What directory is the ActiveForm in Category :ActiveX/OLE/COM/ActiveForm Platform :All-32Bit Product : Question: I need to know the exact directory that my ActiveForm is located in; How do I get that information? Answer: GetModuleFilename(HInstance, ModuleName, SizeOf(ModuleName)). ModuleName can be declared as an array [0..255] of Char for instance. For your information: Application.ExeName gives you the path to IEXPLORE.EXE. GetCurrentDirectory usually gives you C:\Windows\Desktop. 4/2/99 12:09:11 PM
Last Modified: 01-SEP-99