Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Beautify Function
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00623333
Message ID:
00644318
Views:
27
>Im using a network HP Laser Jet 5. I think I have narrowed down the problem since then. I removed one procedure from the code and the function run correctly. I added the procedure back and once again, I get the API error. I then changed the attributes of the beautify function to set the symbols to "no change" instead of "lowercase" and it works every time. I think that it pukes on one of the commands and does not know how to "Beautify" it.
>
>
>>>In VFP 7 (W2K), I am recieveing an intermentent error when trying to use the Beautify menu function to clean up my code. I see a message flash in the status bar that indicates that the "source not available" and then I receive a program error window "API call caused an exception". Has anyone ran into this?
>>
>>What kind of printer you're using? After installing HP PCL 2000, we're getting this error about 10 times a day, on Beautify functon too...

Weird... Anyway, in my opinion "API Caused an exception" message is related with a printer. Sergey gave me a KB article about it. You should adjust your error handler according to this article code.

Thread #592114 Message #592524
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform