Article View: comp.os.ms-windows.programmer.tools
Article #852Re: Peek and Poke in Visual Basic 1.0 ???
From: Galen Raben
Date: Mon, 04 Jan 1993 19:58
Date: Mon, 04 Jan 1993 19:58
25 lines
1717 bytes
1717 bytes
In comp.windows.ms.programmer, harti@mikro.ee.tu-berlin.de (Stefan Hartmann (Behse)) writes:
>I have just bought Visual Basic 1.0 standard edition and wanted
>to program a special hardware board inside the PC with it....
>Well, how can I use something like PEEK and POKE, which I learned
>is not available in Visual Basic ???
>How can I write Byte sequences directly to any hardware registers or
>adresses in Visual Basic 1.0 ??
>Is this possible in Visual Basic 2.0 ??
>Can I add any *.VBX file to get this available ?
Stefan,
It is possible, but not for the faint-of-heart. On CompuServe (and probably
a good number of ftp sites as well) in the MSBASIC forum VB library the file
is called "inout.zip". The reason MS doesn't include this functionality in
VB 1.0 or 2.0 is that it is EXCEPTIONALLY EASY to corrupt the Windows
environment by directly writing to hardware - definitely not for the average
software hacker (therefore MS limited their liability).
Some other sources I can think of that may sell toolkits for this:
MicroHelp (1-800-922-3383 or 404/594-1185)
Crescent software (1-800-352-2742 or 203/438-5300)
I seem to recall MicroHelp has a package called VB-Muscle that has this...
Hope this helps,
- Galen -
Technical Details
Message-ID:
<54540003@hpgrla.gr.hp.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscit.sc.hp.com!hplextra!hpfcso!hpgrla!galenrReferences:
<1i8aa5INNt73@mailgzrz.TU-Berlin.DE>Show Full Headers
Complete Article Headers
From: galenr@hpgrla.gr.hp.com (Galen Raben) Date: Mon, 4 Jan 1993 19:58:19 GMT Subject: Re: Peek and Poke in Visual Basic 1.0 ??? Message-ID: <54540003@hpgrla.gr.hp.com> Organization: Hewlett-Packard, Greeley, CO Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscit.sc.hp.com!hplextra!hpfcso!hpgrla!galenr Newsgroups: comp.os.ms-windows.programmer.tools References: <1i8aa5INNt73@mailgzrz.TU-Berlin.DE> Lines: 25