How to Change Button hardware in arduino to Button In VB.net

Hello,

first i'm try example projects Arduino (Examples - Digital - Button)
yes no problem,
and i'll try to change my button with button in VB.net , but i'm stuck how to do this ,
anyone please help me to explain the code or tutorial :confused:

anyone please help me to explain the code

Explain what code?

Arduino and Visual Basic: Controlling an Arduino may help.

How do you controle your arduino . COM port ?

Use serial commands on VB to control Arduino.

I use a VB.NET interface for my arduino project that run very well ...