How to know for which version of windows is made a exe with (vb code) 
Author Message
 How to know for which version of windows is made a exe with (vb code)

Hi everybody,

Here is my problem: I would like to shell some programs from my
application, with files names in parameter.
(i = Shell (myprog & " " & myfile, 1)
But myfile may be a long file name and myprog a win 3.x program!
I need to know:
        1) myprog is made for which version of windows?
        2) what is the ms-dos (short) file name of myfile if myprog is
a 16 bits application?

Does somebody know a solution? Thanks in advance.
(I use vb4 and win 95)

To reply by email, remove ".antispam" from my address.
Amicalement

   |\  
   | )   Vincent GAY
  _|      
 (_)     Annecy, France  

Enlevez le .antispam pour rpondre par email



Mon, 20 Mar 2000 03:00:00 GMT  
 How to know for which version of windows is made a exe with (vb code)

Hello,

Have a look at the SHGetFileInfo win95 api function.

Alan Davis Southampton, England



Wed, 22 Mar 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Making a VB exe a Service in Windows NT

2. Making VB for Windows EXE files from the command line

3. Making One VB exe Trigger a Sub in Another VB exe

4. Making One VB exe Trigger a Sub in Another VB exe

5. making standard VB EXE to ActiveX EXE?

6. GPF in vb.exe when making an exe

7. I am making a VB game, that is like Final Fantasy, and need some advise

8. Hi Folks I need to know how to get the windows currebt version

9. Making an ActiveX EXE the Active Window via COM

10. Specify DLL version when using mc.exe, rc.exe and/or link.exe

11. VB making new VB EXE

12. I am seaching vb old version and cpu emulator

 

 
Powered by phpBB® Forum Software