Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can not open COM port in VFP6

Status
Not open for further replies.

mshamz

Programmer
Apr 22, 2002
10
AE
Hi,

I want to print some text on the COM port printer. When I run the following code it gives 'Invalid seek offset' error in VFP 6, while it runs fine in VFP 3.The code is as follows

MyHandel = fopen("COM4",12)

Can anybody help?

Thanx

Shamz
mshamz@hotmail.com
 
While I don't get that error using the example here or the other thread you posted, I do get a -1 for this example as I don't have a COM4. I am also using VFP6. Is there a reason you can't use the MSCOMM control?

Dave S.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top