need help for basic interfacing of a circuit in VB

Status
Not open for further replies.

asi2k7

Banned
Joined
Aug 2, 2005
Messages
11
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
0
i write a c-program for circuit (c-program and circuit are)given below to control it i want to control it by VB
help me how can i do



c-program
#INCLUDE<DOS.H>
#DEFINE BASE 0X378
VOID MAIN()
{
OUTPORTB(BASE,255)
}


THIS PROGRAM SEND A BYTE OF DATA TO THE PORT ADDRESS 0X378
DATA IS 11111111=255
AND I USE THIS DATA FOR ELECTRONIC INTERFACING CIRCUIT WHICH CONTAIN
LED TO LIGHT UP
 

In windows you can't control port directly.You must use an interface file called "inpout32.dll".Searc for it on the net.Then you can import it into your app. and use functions defined in that file.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…