Article View: alt.lang.basic
Article #662Problems with COM-Port in VB 3.0
From: C.W. Pruemper
Date: Sun, 17 Aug 1997 00:00
Date: Sun, 17 Aug 1997 00:00
30 lines
1335 bytes
1335 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$; 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
Technical Details
Message-ID:
<01bcab0c$518a32e0$LocalHost@default>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 112458,de393e11731ed432,start X-Google-Attributes: gid112458,public X-Google-Thread: 10ab99,de393e11731ed432,start X-Google-Attributes: gid10ab99,public X-Google-Thread: 110e3b,de393e11731ed432,start X-Google-Attributes: gid110e3b,public From: "C.W. Pruemper" <pruemper@mailer.uni-marburg.de> Subject: Problems with COM-Port in VB 3.0 Date: 1997/08/17 Message-ID: <01bcab0c$518a32e0$LocalHost@default> X-Deja-AN: 267875024 Organization: HRZ Uni Marburg Newsgroups: alt.lang.basic,comp.lang.basic.visual.misc,fido.ger.basic