CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2001
    Posts
    1

    Serial Port Programming in VB

    I have a BIG problem. I am new to the VB too. I have a project which requires me to develop a software in VB6, which must be able to communicate and control the motor drive via the serial port. How do I go about doing the interface using VB? Your HELPs are deeply appreciated ! Thanks !!


  2. #2
    Join Date
    Jun 1999
    Location
    England
    Posts
    86

    Re: Serial Port Programming in VB

    Open a new project. Add a MSComm control by selecting the menu 'Project' 'Component'
    select the control called 'Microsoft Comm Control'. There may be a version number displayed after that tick that option and click the ok button.

    If the 'Control Pallet' is visible a square button with a telephone should be shown. Click on that button and click and drag on the form to add the control to the form. A new copy of the control will appear on the form. Select it and then press the F4 key. This will display a list of properties. If you place your cursor next to one of these properties and press F1 you can display the help file for this control. If you click on the help file 'Applies To' you can go to the contents for that control. Really do try this because using this control is really so terribly easy. Good luck.

    Andy


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

Featured