CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    accessing com port

    i wrote a small prog that transfers an ascii file to a psion palmtop in qbasic. everything works fine, but i´m porting it to visual basic now and i can´t seem to access any of the Com ports with Visual Basic the way i do it in qbasic: Open "COM" + tcom + ":" + tbaud + ",N,8,1" for Output as #5

    where tcom is the number of the port and tbaud the baud rate.
    so how do i use the com port in Visual Basic?


  2. #2
    Guest

    Re: accessing com port

    Hi..
    Perhaps you can use MSCOMM32.ocx for this purpose.
    This OCX come with Visual Basic Controls and is easily usable.


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