🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #392

VB: Peek and Poke in VB or through API????

#392
From: Darin E Neven
Date: Wed, 15 Apr 1992 07:16
16 lines
1110 bytes
I need to incorporate the following lines of code in to VB that were originally used in QuickBasic to read data from an A/D converter and control output lines on a data acquisition board.  I know not where these Peek and Poke addresses actually reside, I assume on the data acquisition board.

DEF SEG=&HCFF8
20 POKE 8,2
30 m=PEEK(6)

Is there an equivalent to PEEK and POKE in VB, is there a DLL I can use to accomplish this?

Also, how do I install the winapi.hlp file.?

Thanks in advance

Darin Neven
Iowa Sate University
Department of Chemical Engineering
neven@iastate.edu
Technical Details
Message-ID: <neven.703322197@vincent1.iastate.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!mips!pacbell.com!att!news.cs.indiana.edu!ux1.cso.uiuc.edu!news.iastate.edu!vincent1.iastate.edu!neven

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.ms.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!mips!pacbell.com!att!news.cs.indiana.edu!ux1.cso.uiuc.edu!news.iastate.edu!vincent1.iastate.edu!neven
From: neven@iastate.edu (Darin E Neven)
Subject: VB: Peek and Poke in VB or through API????
Message-ID: <neven.703322197@vincent1.iastate.edu>
Summary: Peek and Poke equivalents in VB wanted
Sender: news@news.iastate.edu (USENET News System)
Organization: Iowa State University, Ames IA
Date: Wed, 15 Apr 1992 07:16:37 GMT
Lines: 16