Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This is in a vfp5 application - how to implement in vfp9
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
This is in a vfp5 application - how to implement in vfp9
Miscellaneous
Thread ID:
01196347
Message ID:
01196347
Views:
57
Below is code called to setup printers. It doesn't work in vfp9 on windows xp.
It comes from a VFP5 application...

Do Case
Case File("C:\WINDOWS\RUNDLL32.EXE")
run /n C:\WINDOWS\RUNDLL32.EXE shell32.dll,SHHelpShortcuts_RunDLL PrintersFolder
Case File("c:\Winnt40\system32\rundll32.exe")
Run /n c:\Winnt40\system32\rundll32.exe /shell32.dll,SHHelpShortcuts_RunDLL PrintersFolder
Otherwise
=MessageBox("Unable to load Printers Setup.",16,"Frantisi Database System")
EndCase


What is it doing?
How do I convert this to work?

Can I use Sys(1037) to solve this?

TIA,
Mike
Next
Reply
Map
View

Click here to load this message in the networking platform