Thread View: alt.lang.basic
1 messages
1 total messages
Started by C.W. Pruemper
Sun, 17 Aug 1997 00:00
need help with COM-Port in VB 3.0
Author: C.W. Pruemper
Date: Sun, 17 Aug 1997 00:00
Date: Sun, 17 Aug 1997 00:00
30 lines
1346 bytes
1346 bytes
Hi, I am trying to read out a multimeter with Visual Basic 3.0 but I allways get an IO-Error. So I wrote the small program below for DOS QBasic to test out wether the multimeter is out of order or my knowledge to small... OPEN "com2:1200,N,7,2,RS,CS,DS,CD" FOR RANDOM AS #2 A$ = "D" PRINT #2, A$; in$ = INPUT$(14, #2) PRINT in$; PRINT "hallo" CLOSE #2 REM PRINT #2, A$; Well, it was my knowledge - It worked fine!! Now my problem is simply to transfer this to VB... I think the COM-Parameters in the first line are essential. How do I "tell" VB to use this parmeters? To set up the Port under Win95 had no effect. I would be very glad if someone knows an answer! Please reply also to pruemper@mailer.uni-marburg.de thanks! Claus
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads