Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Auto Dialup Connection- Programmitically

4 views
Skip to first unread message

shankarth...@gmail.com

unread,
Apr 24, 2012, 8:00:59 AM4/24/12
to
Hi all,

I have developed a device driver which will create a virtual com port whenever my embedded device is connected to the USB port of the laptop.

Now i need to create an Auto Dial-Up or new network connection with the virtual com port created

whenever the device gets plugged into the laptop.

1.So i have to trigger an event upon USB connection detection

2. The triggered event should create an auto dial up connection with the vitual port

created(eg:COM11).

Steps to create a New Auto Dial Up connection:
---------------------------------------------------------------------

1) Click on the Windows “Start” button.
2) Click on “Control Panel”.
3) Click on “Network connections”.
4) Click on “Create a new connection”.
5) Select the option “Set up an advanced connection”.
6) Select the option “Connect directly to another computer”.
7) Select the “Guest” option. Give a name to the USB network connection (e.g. “Connection Name”).
8) **Select the last COM port created on the PC corresponding to “Communications Port (COM X)”**.
9) Select the option “All users”.
10) Click on “Add a shortcut to this connection to my desktop”, then “ok”.

I am new to this technical area and in a critical need of completing my task quickly...
Please assist me by providing codes
0 new messages