Sign in to follow this  
Followers 0
Greenhorn

DLLCall for network connection ?

4 posts in this topic

Moin,

I want to open the default network connection window and want to know if it's possible by calling a *.dll function.

So, please, is there somebody who knows the way to do it ?

If you don't know what I mean, here is a similar example:

Eigenschaften von Taskleiste und Startmenü = Properties of Taskbar and Start Menu

; Schnellstartleiste anzeigen.
Run('rundll32.exe shell32.dll,Options_RunDLL 1')
WinWait('Eigenschaften von Taskleiste und Startmenü', 'Taskleiste')
WinSetState('Eigenschaften von Taskleiste und Startmenü', 'Taskleiste', @SW_HIDE)
ControlClick('Eigenschaften von Taskleiste und Startmenü', 'Taskleiste', 'Button5')
Sleep(150)
;ControlClick('Eigenschaften von Taskleiste und Startmenü', 'Taskleiste', 'Button12')
Sleep(150)
;ControlClick('Eigenschaften von Taskleiste und Startmenü', 'Taskleiste', 'Button11')
Exit

I would be very delighted if sombody knows the solution ! :D

Greetz

Greenhorn

Share this post


Link to post
Share on other sites



This is nearly what I am searching for, thank you very much, rover !

Excuse my bad explanation, but I ment the 'window' below ...

Greetz

Share this post


Link to post
Share on other sites

a WMI script call to 'Win32_PerfRawData_Tcpip_NetworkInterface' will give you almost all the info on that dialog.

try the 'scriptomatic' tool on the forum

searching the forum for 'network connection' will bring up some examples of automating the dialogs

searching google for a dll solution brought up these results:

apparently there is a problem with displaying that dialog outside of explorer process.

How do I display "Local Area Connection Status" dialog programmatically?

http://www.themssforum.com/VC/disp-Local/

Programmatically launch Network Connection Status

http://groups.google.com/group/microsoft.p...96b8089d334437c

'runmenu' program referenced in above link available here

http://www.eluent.com/runmenu.htm

MSDN: Displaying and Changing Properties

INetCfgComponent::RaisePropertyUi()

http://search.msdn.microsoft.com/search/De...&lang=en-us

more rundll32 commands here.

Dx21 | RunDLL32 Reference

http://www.dx21.com/SCRIPTING/RUNDLL32/REF...P?ISF=0&P=A


I see fascists...

Share this post


Link to post
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
Sign in to follow this  
Followers 0