How to bring up Local Area Connections Properties?

  • Thread starter Thread starter Mark Kraft
  • Start date Start date
M

Mark Kraft

Hi,

I know I can use command line to set the network configuration. But, has
anyone been able to figure out how to bring up the Local Area Connections
dialog from within there own application, ie, custom shell? Other than thru
a command line execute for the ncpa.cpl which brings up the whole network
connections window from explorer.

The other issue with the latter is that it will open explorer for first time
which displays the desktop. I believe this issue was covered in earlier
posts. This shortcomng makes something that should be quite simple a big
pain. It would be nice to have continuity for remaining with the built-in
GUI to set the network as most other .cpls are accessible.

I am hoping that some of the posts on this may have been able to resolve
this issue. If so, I would appreciate any assistance.

Thank you!

--
Mark Kraft
Design Engineer
Lehigh Electric Products Co.
Tel: 610-395-3386
Fax: 610-395-7735
email: (e-mail address removed)
website: www.lehighdim.com
 
Have you looked into WMI calls? There are VBscripts that can setup a network
card. The same calls could be brought into a custom application.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit
 
Back
Top