Ask Experts Questions for FREE Help !
Ask
    kesavan's Avatar
    kesavan Posts: 118, Reputation: 1
    Junior Member
     
    #1

    May 2, 2008, 09:53 AM
    Parellel port handling
    How can I get parallel port signal in visual Basic ?
    melondotnet's Avatar
    melondotnet Posts: 23, Reputation: 1
    New Member
     
    #2

    May 12, 2008, 04:19 AM
    I don't think you can, but you could always have your program switching between each port.

    Start Loop

    Check Port1

    Check Port2

    End Loop

    This is always the risk that you will not be able to be a client or server on separate ports, if the above doesn't work, try having separate forms checking each port, then have them send info to a main port via public properties.

    If none of this works, please post some code, and I will try and provide as much info as I can.

    Note: I use VB.NET 2005
    Note: I have a friend who uses VB 6
    Scleros's Avatar
    Scleros Posts: 2,165, Reputation: 262
    Hardware Expert
     
    #3

    May 12, 2008, 05:59 AM
    Quote Originally Posted by melondotnet
    I don't think you can, but you could always have your program switching between each port.
    The poster is referring to a parallel printer port and I'm guessing probably wants direct hardware access under Windows 2000 or later. I have no experience with doing this, but a quick Google seemed to indicate it was possible via a custom DLL or control or by writing a driver yourself with info from the Windows DDK. The How to access serial and parallel ports by using Visual Basic .NET article has some info on using Microsoft's control.

    What are you trying to do?
    melondotnet's Avatar
    melondotnet Posts: 23, Reputation: 1
    New Member
     
    #4

    May 12, 2008, 08:38 AM
    Sorry, I was talking about server/client ports.
    Scleros's Avatar
    Scleros Posts: 2,165, Reputation: 262
    Hardware Expert
     
    #5

    May 12, 2008, 10:16 AM
    Quote Originally Posted by melondotnet
    Sorry, I was talking about server/client ports.
    Yeah, I got that.:)

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Not handling the break-up well.what else can I do [ 112 Answers ]

Multiple threads merged Well here is my story... I met my girlfriend when I was in grade 12 and she was in grade 11. We got together and clicked instantly. She has never been anyone except for me and I have been her first for everything except her first kiss. We have been dating now for 5 1/2...

Chinchilla taming and handling [ 1 Answers ]

I have a chinchilla. Who was born dec of last year. We bought her abut 3 weeks ago. We can handle her no problem. And pet her but she doesn't like being picked up from within her cage. We got her from a pet store where she lived in a glass small cage all her life. She is now in a 3x3 foot cage that...

Attorney's handling of estate [ 1 Answers ]

I was notified a few months ago that a deceased uncle (died in 1986 that was single and childless had passed without a will. I am one of several nieces and nephews that are Heirs. An Attorney was appointed in the late 1980's and is just settling the estate now. I got an accounting of the estate...

Replace data/fax port with firewire port [ 2 Answers ]

I want to buy a dell inspiron 531 computer from costco. It has a TV tuner and a 56K PCI Data/Fax Modem. I know the TV tuner uses one of the two available pci slots, but does a data/fax modem use anothwer pci slot? I want to have an open pci slot so I can add a firewire port. If the data/fax uses a...

Article on handling a breakup [ 7 Answers ]

Found this article today... kind of covers what we go over here... reinforces what we advise... Healing A Broken Heart Four essentials for those suffering from heartbreak by A.K. Boyle Published: 09/21/2006 Send This Article To a Friend


View more questions Search