473,405 Members | 2,261 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

VB6 with Windows 95,98,2K, NT or XP with I/O Driver inpout32.dll For LPT-1

Dear Friends,
Following is the program for I/O controlling with Visual Basic 6 and Operating Software any one of the Windows 95,98,2K, NT & XP with Driver npout32.dll File. It is very useful for controlling any electrical device through PC’s Parallel Port to Switch ON and OFF with an interface.
Thanks
Adeeb Raza
Mar 3 '07 #1
2 3486
willakawill
1,646 1GB
Unusual that someone should post code like this with no question asked, particularly as the code refers to at least 2 different forms, command buttons and shapes that have not been explained so we are left to imagine their functionality.

Please post a question if you have one. This is not a site for advertising your software
Mar 3 '07 #2
Dear Friends,
Following is the program for I/O controlling with Visual Basic 6 and Operating Software any one of the Windows 95,98,2K, NT & XP with Driver inpout32.dll File. It is very useful for controlling any electrical device through PC’s Parallel Port to Switch ON and OFF with an interface.
Thanks
Adeeb Raza
Hi
Pl tell me, IS IT WORK IF We Note the following two points.
for 3 digit BCD reading of an digital instrument.

1- Type in (Module1.bas)
Public Declare Function Inp Lib "inpout32.dll" Alias "Inp32" _
(ByVal address As Integer) _
As Integer

Public Declare Sub Out Lib "inpout32.dll" Alias "Out32" _
(ByVal address As Integer, _
ByVal Value As Integer)
-------------------------------------------------------------------------------------
2- Type in (Form1)
Option Explicit
Dim AEPPort As Integer
Dim AEPData As Integer
Dim Data, pat

Sub AEPOut(Data As Integer)
Out AEPPort, AEPData
End Sub

Thanks
Khushtar Zia
Mar 19 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: EN | last post by:
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...
6
by: Novice Experl | last post by:
I'd like to write a simple application that interfaces with the parallel port, and changes the data on it according to keyboard input. I hope I can get it to run under windows xp and / or windows...
2
by: Uros | last post by:
Does anybody know how to write data directly to the LPT port from MSAccess. Now I use "Open PrtPort For Append Access Write As IntFilenum" then "Print $IntFilenum, ..........." but doesn't work...
2
by: Wouter van Teijlingen | last post by:
Dear Readers, I was reading about how to control the COM and LPT port using VB .NET. I've found a lot of information, and it was very useful to me. I found an example program on the site of...
6
by: SEFL | last post by:
Hi there, I'm trying to write a VBS that accesses a local database on my system (personal project). I'm running Windows XP 64-bit with Access XP. Every time I try to access the database on...
4
by: adeebraza | last post by:
Dear Friends, I have decided to make my project using PC’s parallel port with my hardware interface to monitor analog voltage at my VDU Screen in digital format max reading in 3 digits that is...
0
by: khushtarzia | last post by:
Hi, Any body can help me to interface 3 digit BCD output of an digital instrument to PC's through LPT-1 to read the BCD out put on screen in 3 digit decimal that is 999 format. Hhushtar Zia
4
by: gobblegob | last post by:
Hi guys, Iam after some information/code examples on how to access parallel port from VB6 after a lot of digging i found i need to use inpout32.dll but no luck on anything written in vb6, If...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.