General information
Category:
Coding, syntax & commands
Title:
This is in a vfp5 application - how to implement in vfp9
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only