Results 1 to 3 of 3

Thread: "Port Device not working"

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2005
    Location
    INDIA
    Posts
    65

    "Port Device not working"

    in my code for telephone dialer, when the form loads

    visual basic code:


    Private Sub Form_Load()
    MSComm1.CommPort = 3
    MSComm1.Settings = "9600,N,8,1"
    MSComm1.PortOpen = True
    End Sub


    gives an error


    Code:


    Run time error '8012':

    "The device is not open"

    please help

    Regards
    Mohit

  2. #2
    Hyperactive Member gtilles's Avatar
    Join Date
    Dec 2004
    Location
    Planet Earth
    Posts
    394

    Re: "Port Device not working"

    Keeping it basic>
    Be sure you actually do have a com 3 on your computer and second that it isn't in use by something else.
    Truly, you have a dizzying intellect.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2005
    Location
    INDIA
    Posts
    65

    Re: "Port Device not working"

    ya, i do have a com 3 on my comp and i have compiled the code before,but after making few changes in the interface,its not working now

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width