Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxuser.dbf & fpt files on desktop.
Message
From
15/10/2003 17:25:08
 
 
To
15/10/2003 14:56:08
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00839007
Message ID:
00839056
Views:
39
>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


To erase them, you might also try putting quotes around the file name. For example: lcFilename = '"'+cDeskPath+"\"+"foxuser.dbf"+'"'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform