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

    Visual Basic 6 program can communicate serial com port on windows 7?

    Hi folks,

    Just like the title indicate, can VB6 program be able to communicate to serial com port
    on Windows 7 32-bit system ?

    If it can, anyone know the setup for it.

    Thanks in advance,

    BSDME

  2. #2
    Join Date
    May 2012
    Posts
    1

    Re: Visual Basic 6 program can communicate serial com port on windows 7?

    Hi,

    Yes, of course VB6 programs do it using Windows API (CreateFile/ReadFile/WriteFile) or a 3rd party ActiveX component.

  3. #3
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: Visual Basic 6 program can communicate serial com port on windows 7?

    VB6 comes with a serial comm component called MSComm
    Simply add it to the tool box then place it on your form

    See the online help for info on how to use it or do a quick web search, tons of examples out there.
    Always use [code][/code] tags when posting code.

  4. #4
    Join Date
    Sep 2018
    Posts
    1

    Re: Visual Basic 6 program can communicate serial com port on windows 7?

    hello everyone,

    i want add serial no in msflexgrid, how can possible?

    please reply fast................
    thanks for advance.

  5. #5
    Join Date
    Oct 2018
    Posts
    2

    Re: Visual Basic 6 program can communicate serial com port on windows 7?

    The MSComm control provides serial communications for your application by allowing the transmission and reception of data through a serial port.

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