Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foxuser.dbf & fpt files on desktop.
Message
De
15/10/2003 14:56:08
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Foxuser.dbf & fpt files on desktop.
Divers
Thread ID:
00839007
Message ID:
00839007
Vues:
85
I have an installation package that installs my application on the clients pc. The installation package (ASTRUM) at the end of its installation calls a foxpro program at the end of the installer process. On one 2000 machine (SP2)foxuser files are being created on the desktop even though I have a resource = off in the apps config.fpw file.

On another 2000 machine (SP4) they are NOT created, as well as two other XP machines. Same code different results.

I have tried to delete the foxuser.dbf & fpt but to no avail.

oWsh = CREATEOBJECT("wscript.shell")
cDeskPath = oWsh.SpecialFolders("desktop")
lcFilename = cDeskPath+"\"+"foxuser.dbf"
IF FILE(lcfilename)
ERASE &lcfilename
ENDIF
lcFilename2 = cDeskPath+"\"+"test.txt"
IF FILE(lcfilename2)
DELETE FILE lcfilename2
ENDIF

I have two issues.... why are they being created and two why can't I delete them. I have tried with and without the ampersand. No go.

Anyone have any ideas?

Thanks in advance,

Wayne
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform