>>>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