Results 1 to 9 of 9

Thread: VB6 - Wireless Network API Exposed

Threaded View

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,334

    VB6 - Wireless Network API Exposed

    I've been doing some work with the WLAN API and thought that some may be interested. It's not complete yet but there's enough to get anyone interested in 'playing' a reasonable start.

    The attached is a small project which will display the attributes of all available Wireless Networks to the Immediate Window and populate a ComboBox with the Available Networks Profile Names. Click on 'Show Wireless Networks' to start.

    Clicking on a Profile Name will disconnect from the current network and attempt to connect to that network (Note that I have only tested this part on an unsecured network - feedback on other types of networks would be appreciated). Clicking on the 'Disconnect' button will disconnect from the currently connected network.

    The WLAN_NOTIFICATION_CALLBACK routine is used to show the various stages involved in Connection and Disconnection, which are also displayed to the Immediate Window.

    A word of warning, when running from the IDE make sure you exit via the 'Exit' button. This ensures that the Notification process is terminated in a proper fashion. If you don't do that, then you'll find that the IDE crashes within 1 minute.

    Microsoft Documentation is here: http://msdn.microsoft.com/en-us/libr...(v=VS.85).aspx

    This is only applicable to XP SP2 and above (XP SP2 users can download the API from here: http://www.microsoft.com/downloads/e...displaylang=en)

    Feedback appreciated
    Attached Files Attached Files
    Last edited by Doogle; Nov 16th, 2010 at 07:45 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width