4701
General Software Discussion / Re: How to create a shortcut for the "wireless network connection" in Windows XP?
« Last post by Stoic Joker on January 24, 2011, 10:40 PM »Okay, it's almost midnight, so I resorted to duct tape:
Wait 2 sec for window to open.
Call FindWindow(...) in a loop to prop the door open with a stick.
It works, but I'll have to find something better later when I have time.
Usage:
Get the GUID for your WiFi card from the registry.
GUID is in HKLM\SOFTWARE\Microsoft\CurrentVersion\NetworkCards\
Under that are numbered Keys containing the entry ServiceName; its value is the GUID needed.
Grab only the alpha-numeric string (No curly brackets {}).
command line or Shortcut target is (example with my GUID):
WiFi.exe 261AAE34-9C9D-40EB-A25C-CFEDF328E3CF
Download removed - current version is later in thread.
Let me know how it works.
Wait 2 sec for window to open.
Call FindWindow(...) in a loop to prop the door open with a stick.
It works, but I'll have to find something better later when I have time.
Usage:
Get the GUID for your WiFi card from the registry.
GUID is in HKLM\SOFTWARE\Microsoft\CurrentVersion\NetworkCards\
Under that are numbered Keys containing the entry ServiceName; its value is the GUID needed.
Grab only the alpha-numeric string (No curly brackets {}).
command line or Shortcut target is (example with my GUID):
WiFi.exe 261AAE34-9C9D-40EB-A25C-CFEDF328E3CF
Download removed - current version is later in thread.
Let me know how it works.

Recent Posts


