Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
This is in a vfp5 application - how to implement in vfp9
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01196347
Message ID:
01196353
Vues:
9
The following works for me under VFP IDE
Run /n rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL PrintersFolder
Why do you need to open 'Printers and Faxes' view?

>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
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform