πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.visualbasic.ver3
Article #39

Re: How to Controll Parallel Port with Visual Basic?

#39
From: RichC
Date: Thu, 29 Nov 2001 14:19
67 lines
3759 bytes
Winio works under 98, NT4.0, and XP with the port i/o functions.
My application tests a special gamepad controller used by my employer.
Have not tested direct memory access in XP.

"Dave Fisher" <dave@distel.co.uk> wrote in message
news:tmVM7.32107$SJ3.336413@NewsReader...
: This rather depends on what operating system you are using - we use an
: Active X control to do this
: under VB see http://www.jspayne.com/ for more info
:
: Pls let me know if you find a better way
:
: Rgds
:
: Dave Fisher
:
:
:
: "RichC" <rocourtney@att.net> wrote in message
: news:R4VL7.3486$Kc2.321763@newsread1.prod.itd.earthlink.net...
: > Try winio from http://www.internals.com
: >
: > "ΤΏοΏ½" <someone@nowhere.com> wrote in message
: > news:0rjJ7.42400$wd1.3269601@news20.bellglobal.com...
: > > Hi, I'm trying to find simple code to control the parallel port from
: > Visual
: > > Basic 6.  I have it coded in QuickBASIC, but this is very primitive
and
: I
: > > would like to transfer it into VB.  The only problem is, I have no
idea
: > what
: > > the commands are, all I can find is controlling the printer, but I
just
: > want
: > > to send bits down the parallel port, not print a document.
: > >
: > >
: > >
: > > This is the code I figured out for QB (where thenumber could be from 0
: to
: > > 256):
: > >
: > >
: > >
: > > OUT &H378, thenumer
: > >
: > >
: > >
: > > Does anyone know how to do this simply in VB?
: > >
: > >
: > >
: > > Thanks a lot
: > >
: > >
: > >
: > > Kevin White
: > >
: > >
: > >
: > >
: >
: >
:
:
:
Technical Details
Message-ID: <ptrN7.3580$Ao6.421741@newsread1.prod.itd.earthlink.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail
References: <0rjJ7.42400$wd1.3269601@news20.bellglobal.com> <R4VL7.3486$Kc2.321763@newsread1.prod.itd.earthlink.net> <tmVM7.32107$SJ3.336413@NewsReader>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 1053fc,1546af30974a0198
X-Google-Attributes: gid1053fc,public
X-Google-Thread: 110e3b,1546af30974a0198
X-Google-Attributes: gid110e3b,public
X-Google-Thread: fb992,1546af30974a0198
X-Google-Attributes: gidfb992,public
X-Google-Thread: 1023e1,1546af30974a0198
X-Google-Attributes: gid1023e1,public
X-Google-Thread: 115e07,1546af30974a0198
X-Google-Attributes: gid115e07,public
X-Google-Thread: 108062,1546af30974a0198
X-Google-Attributes: gid108062,public
X-Google-Thread: 10b997,1546af30974a0198
X-Google-Attributes: gid10b997,public
X-Google-Thread: f645d,1546af30974a0198
X-Google-Attributes: gidf645d,public
X-Google-ArrivalTime: 2001-11-29 06:19:04 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail
From: "RichC" <rocourtney@att.net>
Newsgroups: alt.comp.lang.visualbasic.ver3,comp.lang.basic.visual,comp.lang.basic.visual.misc,comp.lang.visual.basic,cz.comp.lang.basic.visual,es.comp.lenguajes.visual-basic,it.comp.lang.visual-basic,japan.comp.lang.visual-basic
References: <0rjJ7.42400$wd1.3269601@news20.bellglobal.com> <R4VL7.3486$Kc2.321763@newsread1.prod.itd.earthlink.net> <tmVM7.32107$SJ3.336413@NewsReader>
Subject: Re: How to Controll Parallel Port with Visual Basic?
Lines: 69
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <ptrN7.3580$Ao6.421741@newsread1.prod.itd.earthlink.net>
Date: Thu, 29 Nov 2001 14:19:01 GMT
NNTP-Posting-Host: 63.14.91.252
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread1.prod.itd.earthlink.net 1007043541 63.14.91.252 (Thu, 29 Nov 2001 06:19:01 PST)
NNTP-Posting-Date: Thu, 29 Nov 2001 06:19:01 PST
Organization: EarthLink Inc. -- http://www.EarthLink.net
X-Received-Date: Thu, 29 Nov 2001 06:19:03 PST (newsmaster1.prod.itd.earthlink.net)