Does anyone know how to tell if a program is being run through the design environment or if it is an .exe file which has been compiled and run seperatly?
Cheers
Chris
Printable View
Does anyone know how to tell if a program is being run through the design environment or if it is an .exe file which has been compiled and run seperatly?
Cheers
Chris
If you are in design time you need to have visual basic
running...if exe mode it runs seperately using msv file
If you are talking code you need to use a find window api and look for the visual basic window...it it's found odds are you are in design time.
check out
http://www.vbapi.com/
a great source for api procedures and functions
[Edited by HeSaidJoe on 06-12-2000 at 09:13 AM]