borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (IP Spoofing)Next Topic (Packet Routing) New Topic New Poll Post Reply
AndreaVB Forum : Network : LPT/Com Port access over a LAN
Poster Message
Dave Perry
Level: Guest


icon LPT/Com Port access over a LAN

Hi,

I am using one of the freeware 32 bit dll's available on the net (Win95io.dll available from http://www.softcircuits.com/) to allow writing and reading to/from LPT and COM ports. This is necessary as this function is not built into Visual Basic unlike other earlier interpreted Basics.

It works fine on the computer installed but not over my LAN of 3 computers. No matter which computer the compiled app is installed on, the LPT port accessed is always the one on the computer from which you run the program. The syntax as an example is "vbOut &H378 + 0, (Values)".

Question. How in VB6 can you access LPT ports on a network? I have tried setting up ports with a name, but the OS (Win ME) seems to get in the way assuming you want to connect a printer and therefore MUST have a printer driver nominated.

I have an interface card with relays connected to LPT1 which needs to be accessed from any of the 3 computers.

Any ideas? Appreciate any help. Tks.    

05-10-2002 at 06:24 AM
| Quote Reply
thomasdan
Level: Trainee

Registered: 31-07-2005
Posts: 3
icon Re: LPT/Com Port access over a LAN

Hi all,

If your OS is win9X, then it will not have any problem to access IO port direcly. But Windows XP, Win2K, Win NT are totally different, you must have an IO driver to get accessing to these IO port, such as LPT, etc.

Presetly, I am doing a remote client temperature monitoring system with LPT controlling located about 70 km away from with my server PC and it is using internet for connectivity.
I am using a trial VB activex from www.geocities.com/bagtool/adc_activex.html or www.geocities.com/bagtool/io_activex.html, where they are free to download.

The result is excellent !

Thomas  

31-07-2005 at 05:00 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Network : LPT/Com Port access over a LAN
Previous Topic (IP Spoofing)Next Topic (Packet Routing) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder