Italy
Asked — Edited

Automatically Connect To A Port

Hello.

I would like my Visual Basic program to automatically connect to Ezboard when i launch the program. Ezboard connection is on COM port 3 on my pc, so i have written the code:

Sub Form1 load Ezb_Connect1.Connect(3.0) ...but it does not work

So i have tried Ezb_Connect1.Connect(3) ...but it does not work

Can you help to solve the question, please? Thank you.


ARC Pro

Upgrade to ARC Pro

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.

PRO
Synthiam
#9  

      ezB_Connect1.Port = "com3";
      ezB_Connect1.Connect(false);

When you press the . after the ezb_Connect1, the visual studio will popup a list of options. You can scroll through and read the titles of each one. There is a description for each one:)

Italy
#10  

Thank you DjSures. Tomorrow i will try to do this.

Italy
#11  

Hello. I have tested the code and this works very fine! Thank you very very much.