Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mscomm32.ocx
Message
 
To
13/09/2007 00:21:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01254049
Message ID:
01254539
Views:
21
Hi Ken.
I was also trying to use this control..it worked on my PC but
could not get it to work on clients..I had to resort to COPY CON: COM1:
which seems to give intermiitent problems.

I'd appreciate details of how to sort the problem.

Thanks

Gerard



>>Hi all
>>
>>I can use this code on my own computer to open a cashdraw but does not work on client's computer.
>>The code is : (nComport is 1)
>>if cCashdraw="Y"
>> with thisform.MSCOMM1
>> .CommPort=nComport
>> .Settings="9600,n,8,1" && Set the baud rate
>> .PortOpen=.t. && Open the port
>> .output="A" && send A Character
>> .output="A"
>> .output="A"
>> .output="A"
>> .PortOpen=.F.
>> endwith
>>endif
>>
>>On client's computer, I get "OLE error code 0x80040154. Class not registered. OLE object is being ignored"
>>
>>Any ideas ??? Your help will be appreciated. Thanks.
>>Shafid
>
>I suspect the problem is that the mscomm32.ocx is not registered for interactive use on the client computer. In addition to installing the mscomm32.ocx, you have to run a file called mscomm32.reg.
>
>I sent you an E-Mail with that file attached.
>
>Hope this helps,
>
>Ken
>
>P.S. Why are you not opening the cash drawer via a connection thru the receipt printer?
>
>Ken
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform