Jump to content

Programatically create network connections


ivan
 Share

Recommended Posts

Hi guys.

Is there anyone aware of a method to programatically create a network connection (and edit it if it already exists) instead of launching the net connections window?

I'm using Run(@SystemDir & "\control.exe netconnections") to launch the network connections and I'm having trouble automating the SysListView321 control where the connections are listed.

I'm almost certain there must be a more efficient way than sending commands to controls for something like this, and ?d really, but really appreciate it someone could throw me a lifeboat on this subject.

Thanks in advance

IVAN

Edited by ivan
Link to comment
Share on other sites

Thx.

Quite aware of that, but I'm actually trying to create a new connection, specifying which modem (dial up and/or wireless) to use depending on the profile of each user in a user list.

wireless networks still require to create the connection and to make life easier for non techs, i've to provide a shortcut to their desktops.

The editing is actually coz users mess around and I've to find a way to correct misconfigured modems.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...