home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,422 of 10,840   
   EN to All   
   Can VB 6.0 control 8 data bit pins of LP   
   17 Apr 05 06:51:55   
   
   From: res808c4@earthlink.net   
      
   Hi, I'm trying to send 8 bits to the lpt port.   
   I'd like to use VB 6.0.  Can this be done?   
   VB can send data to a printer, but can it   
   go as low as actually sending bits?  I think   
   VB can only send bytes.  If VB can only send   
   bytes.  Can the bits in the bytes be specific?   
   Can I send  ,  1 0 1 0 0 0 1 , out the 8 pins   
   of the printer port?   
      
   I want to control a 8255 PPI IC. The 8255   
   has 8 data bits , the Control Word.   
   There are 16 Control Words.   
   I got a list box for each 16 Control Word.   
   Now how to send these bits via VB to the   
   lpt port.   
      
   thanks   
   Ed   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca