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.