Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EditSource() error codes
Message
From
27/01/2012 10:40:33
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
27/01/2012 09:02:02
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01533884
Message ID:
01533917
Views:
50
>>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform