Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printers
Message
De
22/02/1999 10:59:00
 
 
À
22/02/1999 10:28:31
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00189938
Message ID:
00189966
Vues:
8
>Do you know of any 3rd party products that do this?
>

I think you can also do this through the Shell.Application's BrowseForFolder method with the right flags set. Take a look at the FAQ entry I wrote on an Enhanced GETDIR(), and try setting the BIF_BROWSEFORPRINTER flag (0x2000) in the nBrowseFlags parameter passed to the example function.

>Jim
>>>Is there facility in VFP to find all of the printers on a network?
>>>
>>
>>In VFP6, you can use ANETRESOURCES() to find sharable things, but there's no guarentee that a printer is usable if it isn't installed on the user's system already, since the drivers for the printer may not be installed on the user's system or availble from the system sharing the printer. Prior to VFP 6, you'd need to use low-level API calls or a third-party product to create the list of shared devices on a network.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform