Hello John,
Windows and Macintosh executables are NOT binary code compatible. You can't
run a program compiled for Intel/Win95 on a Macintosh without emulation (in
which case, you would not need to make Mac specific API calls, in fact, you
couldn't) and vice versa.
So, you should know at compile time which OS your are targeting and you can
make the decision then. Also, you should be aware that VB can't create
programs that run on the Macintosh. You are stuck with Win95 or NT.
I hope this helps,
Larry R. Tubbs Jr., MCPS, MCSD
Silverleaf Resorts Inc, NYSE: SVR
Quote:
>What is the code to check which operating system is running. I have an app
>that needs to run on a MAC and WIN95. If it's a MAC, however I need it to
>perform MAC type functions and of coarse if WIN OS a 95 function. Can thi
>sbe done?
>Thanks
>John