Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C0000094 error on @ 1,1, say
Message
 
À
24/02/2012 04:19:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01536269
Message ID:
01536527
Vues:
78
This problem has been resolved.
I got onto the System Administrator and asked him to give admin rights to the user that was having the problem, ans that sorted the problem out
I dont understand though how 'Securtiy Rights' would cause a problem running 3 lines of code (only from a .prg)
Does a Wait Window look to update someting in a folder (Temp folder perhaps ??) if running from a .prg , and why do other commands not cause a problem ?
Regards,
Gerard


>>Hi Al.
>>Not sure if this is the problem. I have been told that the only thing that was changed was that the folders were changed
>>Also, running the App over Terminal Services, on the same PC, does not cause a problem (which Drivers would it use in this case ?)
>
>The app would be running on the TS, so it would be using the TS's video drivers. RDP then pushes the screen updates back to the problem PC. On the PC, rendering via RDP is different than it would be if drawn directly by VFP running locally, so that test does not rule out a bad video driver on the PC.
>
>See if you can ask the system admin to check and update the video drivers on the problem PC.
>
>>Also, the error refers to where the Temporry files are located on the C drive, so I am wondering would it be some sort of securtiy thing, although I changed the Tmpfiles folder on Config.fpw to point to C:\ and this did not fix the problem (Checked that the same user could read/write files to the c:\ folder first)
>
>Permissions issues would likely cause file system-related errors that would be trapped by VFP ("access denied" etc.) rather than a Windows-level fault.
>
>It's generally a bad idea to write files to the root of the system disk. I believe there are some special restrictions to doing that in Win7, don't know about Vista. Try creating a folder off the root e.g. C:\Temp , and use that instead.
>
>If you have multiple users/sessions running your VFP app simultaneously on a TS, you may have to be careful to give each of them a separate folder for their temp files. I believe you can do this by using their "User" folder (or a subfolder of that). If a lot of users share the same temp files folder there's the chance they could step on each other's temp files, with unpredictable results.
>
>While on the topic of temp files, you could clean out temp files for the user's profile on the problem PC. If it hasn't been done in a long time, a typical PC may accumulate thousands of files there, which can cause performance and other strange problems.
>
>>
>>>>Hi.
>>>>One of our users has just moved my app to another folder, and on ONE machine only, the following gives a C00000094 windows error and bombs
>>>>Define Window X from 10,10 to 14,70
>>>>Activate Window X
>>>>@ 1,1 say 'test'
>>>>
>>>>but only if run from within an Exe or Prg. If I run the exact same 3 lines from a Command Window, Error is not there.(Running VFP 8 )
>>>>
>>>>
>>>>(In all other ways, app seems to be behaving itself)
>>>
>>>Maybe an incorrect or outdated video driver.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform