Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me change VB program code

Status
Not open for further replies.

mhk1982

Newbie level 4
Joined
May 1, 2008
Messages
6
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,307
Can any body help me with this program?
I wont when push the auto scan button the program will receive signal from robot throw parallel port and it will change color of form to red if received signal is 1 0 or to green if received signal 0 1 and I wont to change all forms color but as signal received to red or green .
This is my graduate project and it is landmine detection robot
 

Re: need help with VB

mhk1982 said:
Can any body help me with this program?
I wont when push the auto scan button the program will receive signal from robot throw parallel port and it will change color of form to red if received signal is 1 0 or to green if received signal 0 1 and I wont to change all forms color but as signal received to red or green .
This is my graduate project and it is landmine detection robot


Dear MHK1982 some little mistakes are found in your form else overall the code is workable ,


you have done -
Label1.BackColor = Red

It will be shown as an error because you have made the label1 as an array of several labels ,
you can mention it in the following form -
Label1(i).BackColor = vbRed
where i will be your required label number



for parallel port programming in vb just check out this link https://www.aaroncake.net/electronics/vblpt.htm
else I am attaching the site given information in a text file for your help .
 

need help with VB

thank u Very much saubhik for help
 

Re: need help with VB

use usb.......pc and notebook have
use 18F2550/18F4550 and pic basic or mikrobasic
is easy and fast
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top