By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,681 Members | 1,338 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,681 IT Pros & Developers. It's quick & easy.

Is There A Way Of Determining If A Laptop Is Docked or Undocked Using A VB .NET Program?

P: n/a

Under VB4 I used to be able to call the GetCurrentHWProfile API to determine
if my laptop was docked or not. I did try converting this call in VB .NET
but whatever I do I get a SystemExecutionException.

I'm very new to VB .NET and discovered there are some interesting new
classes that provide system information only previously available via APIs.

Does anyone know of a way that I could determine the docking status without
calling APIs as it seems preferable to avoid calling unmanaged DLLs if


Nov 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.