Jump to content

Parallel Port Programming Using Visual Basic

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
12 replies to this topic

#1
kevintcp85

kevintcp85

    Newbie

  • Members
  • Pip
  • 9 posts
Hello! Currently im doing a final year project together with my friends. Im doing the parallel port programming - one PC controls another PC through Internet. I plan to do the programming using Visual Basic but I dont have the knowledge to do so even the basic one. So, can anyone help me or guide me? Thanks:) .

#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Hey Kevintcp85, welcome to the forum. I'm not sure I understand - why are you doing parallel port programming if the project is to control another computer through the internet?

Do you mean control the computer through the parallel port?

Here is a tutorial: http://www.freevbcod...ode.Asp?ID=6388

#3
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Yeah chose which one lol,I dont think you have to make both!

#4
kevintcp85

kevintcp85

    Newbie

  • Members
  • Pip
  • 9 posts
Errmm ..... I think so because I dont have VB knowledge. Well ... I will go through the tutorials and sample of codes. Thanks!

#5
kevintcp85

kevintcp85

    Newbie

  • Members
  • Pip
  • 9 posts
Hello ~ I want to clarify again what im doing the project. It is like this: one PC has a server program, another one has a client program. Client controls the server through TCP. Server controls a hardware (car) through parallel port. So, I need to know how to do TCP and parallel port programmings. Can anyone help me or guide me? Thanks.

Waiting for reply.

#6
kevintcp85

kevintcp85

    Newbie

  • Members
  • Pip
  • 9 posts
Hey friend! I want to explain again about my project. I am in-charge the TCP and parallel port programming parts. One PC has a server program and another one has a client program. The server program controls a hardware (like a car) through parallel port programming and the client program controls the server program through TCP programming. Can anyone tell or guide or help me aboutthe two programmings (TCP and parallel port)? Thanks!

Waiting for reply...

#7
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Ow now I got it! Sorry I didnt understand your first post!
This might help with parallel programming? Im not sure but give it a try!

http://www.aaroncake...onics/vblpt.htm

Im juts curious how are you going to control the car from a Pc parallel port? I know that with a Program but how will the car move from the parallel port commands??

#8
kevintcp85

kevintcp85

    Newbie

  • Members
  • Pip
  • 9 posts
Other than that way, is there any way else which can make it easy and help me to understand better to do my project? Thanks!

Waiting for reply......
Hello :) Hello :) Hello :)

#9
kevintcp85

kevintcp85

    Newbie

  • Members
  • Pip
  • 9 posts
May i know where can i download the Visual Basic 6 to do parallel programming through website? And what should i use to do TCP programming? Using Visual Basic 6 too? Thanks!

Waiting for reply ...
Hello :) Hello :) Hello :)

#10
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
What you mean? There is one Visual Basic 6! There is not a one for website!! You can use internet( Winsock and IE explorer DLL and Inet etc.. ) but you cant 'create' a site with VB

#11
kevintcp85

kevintcp85

    Newbie

  • Members
  • Pip
  • 9 posts
Hello! Is there any sample code for TCP (Internet) programming? Thanks.

Waiting for reply ...
Hello :) Hello :) Hello :)

#12
Guest_dracula_*

Guest_dracula_*
  • Guests
Hello Kevintcp85, I think it is best for you to use the serial port instead of the parallel port. With the parallel port you need to add a third party DLL or ACTIVEX in order to communicate with the hardware, however, VB 6.0 or .NET as shipped supports the serial ports. Get yourself a Parallax Stamp (http://www.parallax.com/) and off you go with controlling your hardware. This should be easy... good Luck