Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NT to Novell Connectivity
Message
De
17/06/1998 06:49:23
 
 
À
16/06/1998 16:47:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00108839
Message ID:
00108983
Vues:
39
>I've got a product that is supposed to take legacy COBOL code and port it into a COBOL/CGI project suitable for Internet. It does this quite well. The problem is having the application find the data. As long as I am in development mode, it uses my mappings and finds the data files with no problem. As soon as I move the app to the test server, it can't. Even with a drive (share) mapped to the data server.
>
>ANY ideas would be appreciated since this project is one of the Big Boss's pets and he wanted it done two weeks ago.

Have you tried using UNCs rather than mapped drives? (this assumes VFP 5.0)

You can also create a drive mapping on the fly using API calls from VFP 3 or 5:

,pre>
DECLARE INTEGER WNetAddConnection IN Win32API ;
STRING cRemoteUNC, ;
STRING cPassword, ;
STRING cLocalDrive
* password and UNC should be null (CHR(0)) terminated, drive letter should be drive letter +':'
IF WNetAddConnection( cUNCToMap, cPasswordToUse, cDriveLetterToMap) = 0
* It worked
ELSE
* It failed
ENDIF
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform