Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EditSource() error codes
Message
De
27/01/2012 10:49:55
 
 
À
27/01/2012 10:40:33
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01533884
Message ID:
01533920
Vues:
37
>>>What is the error message?
>>>
>>>>I am attempting to use EditSource function to open a file, but file is not opening. I am getting a strange error code returned; error code 295. Help file does not list this error code. Does anyone know what this is? And can anyone point to a better list of possible error codes.
>>>>
>>>>Update: The file is first opened using FileToStr(). Afterwards, the EditSource() fails. Even, another FileToStr() fails.
>>
>>The Message() and aError are reporting an error, Just the EditSource is return an error code of 295. I am attempting to determine what this value means.
>
>
error 295
>causes an "Error code is not valid." message, error code 1941.
>
>Reminds me of a phone call we once got, about some weird message. The guy on our side of the line asks if anyone heard of such a message. One guy chimes in with "I have, but it won't help". "Why?" "It was on a microwave".
>
>Wait, wait... if your error was 925, here's what help on EditSource() says:
>
>File opened but invalid object reference in cMethodName. Check the reference in the cMethodName parameter. Use a reference such as MyForm.MyList.CLICK. Forms and classes return 925; reports return 901.

Thanks for the help.

But, I find it strange that the application works correctly at work, but fails at home. They are both Window 7 professional.
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform