home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / tools / 1866 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.6 KB

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