Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
00000001: Incorrect function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00808883
Message ID:
00808940
Vues:
11
I have an XP PRO pc and I just tested your code by creating an object 'ExtraSystem' with a property 'DefaultFilePath' and stored the value of 'EXTRA!' in it. I then ran:

MD ExtraSystem.DefaultFilePath + "\NoMacros"

and it created the directory: c:\EXTRA!\NoMacros

with no problems. I would check the value of .ExtraSystem.DefaultFilePath before you run the MD command and verify it has the correct value.


>This one has me completely stumped. This project has worked flawlessly for almost a year (using VFP7) on the user's pc (Win98 on Novell) and now she has been given a new P4 with WinXP. The following command continuously fails with the Incorrect Function error:
>
>MD .ExtraSystem.DefaultFilePath + "\NoMacros"
>
>ExtraSystem being a pointer to an EXTRA!6.4 COM object. This is the same code that worked under Win 98 with the same version of EXTRA!. This same code works on my PC which has the same version of EXTRA!.
>
>Any help would be most appreciated..
>
>Richard
>State of Florida, DCF
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform