Hi.
Mike, I want to see you now. (I don't know how this idea is expressed in English but when someone has all the answers and you think now he hasn't, in Spanish say like this)
I'm testing a class form to print Fiscal documents throught a fiscal printer.
When the printer returns an error I trap it and show the message or know what to do. Off line, no paper, and so.
For getting this there is an Activex file called FISCAL051122.OCX (FISCAL.OCX for friends)and works well less when an Exception error ocurrs.
I thought this is a "domestical" problem so I didn't requery you first (you all) but perhaps someone in Argentina can give me an idea how can I solve this problem.
I was looking for any help in Microsoft Development notes but what I found descouraged me. No only FISCAL.OCX returns 0 as error number but Microsoft Word, Microsoft Excel and other COM servers return erros that can't be identified by VFP.
I asked OCX's developers and they are surprised VFP "eats" error number and shows a shame "0"
If no one can help me my solution is to copy error messages and compare them for knowing what to do.
To test I send to the OCX an invalid parameter. The only help Microsoft gives is that. You ask them and they answer: "You are sending an incorrect argument to a function. Send a right argument (don't be silly) and will work"
Well. Thank you very much for your attention.
Héctor
Mike, I want to see you now. (I don't know how this idea is expressed in English but when someone has all the answers and you think now he hasn't, in Spanish say like this)
I'm testing a class form to print Fiscal documents throught a fiscal printer.
When the printer returns an error I trap it and show the message or know what to do. Off line, no paper, and so.
For getting this there is an Activex file called FISCAL051122.OCX (FISCAL.OCX for friends)and works well less when an Exception error ocurrs.
I thought this is a "domestical" problem so I didn't requery you first (you all) but perhaps someone in Argentina can give me an idea how can I solve this problem.
I was looking for any help in Microsoft Development notes but what I found descouraged me. No only FISCAL.OCX returns 0 as error number but Microsoft Word, Microsoft Excel and other COM servers return erros that can't be identified by VFP.
I asked OCX's developers and they are surprised VFP "eats" error number and shows a shame "0"
If no one can help me my solution is to copy error messages and compare them for knowing what to do.
To test I send to the OCX an invalid parameter. The only help Microsoft gives is that. You ask them and they answer: "You are sending an incorrect argument to a function. Send a right argument (don't be silly) and will work"
Well. Thank you very much for your attention.
Héctor