Wireless Networks - Is this even possible?

  • Thread starter Thread starter justsome_newbie
  • Start date Start date
J

justsome_newbie

I'm wanting to create a simple program for my computer at home. I would
like to keep my wireless network disabled and then only enable it when
a certain program starts (internet explorer or firefox), and then
disable the network when the program closes. Trapping when ie or
firefox starts isn't a problem, I just can't figure out how to enable
and disable the wireless network. Does anyone have any ideas on how to
do this?

At the very least could someone tell me if this is even possible (with
VB, C#, or C++) or if I am just wasting my time?

Thanks!
 
I'm wanting to create a simple program for my computer at home. I would
like to keep my wireless network disabled and then only enable it when
a certain program starts (internet explorer or firefox), and then
disable the network when the program closes. Trapping when ie or
firefox starts isn't a problem, I just can't figure out how to enable
and disable the wireless network. Does anyone have any ideas on how to
do this?

At the very least could someone tell me if this is even possible (with
VB, C#, or C++) or if I am just wasting my time?

Hi,
I think your best bet is asking in the appropriate platformsdk group.
The groups you posted in are mostly for programming language related
questions.
Not that we don't want to help you, but this is not the place where most
plaform experts hang out.

--

Kind regards,
Bruno van Dooren
(e-mail address removed)
Remove only "_nos_pam"
 
Thanks for your quick reply! I'm guessing from your reply that there is
no quick way of doing this with C++?
I think your best bet is asking in the appropriate platformsdk group.

You don't know what the newsgroup is for the windows XP sdk off hand do
you?

Again, thanks for your time!
 
I've had a look for you and via an external message board have found
something that might help you. On a similiar topic by a previous poster
Mike Flasko suggested using WMI. The links he provided were out of
date. But I have managed to find a current WMI Networking link into
MSDN.

http://msdn2.microsoft.com/en-us/library/aa394595.aspx

I hope it may be useful in someway,

Gary-
 
Thanks a ton! I just bookmarked both of your links and added you to my
heroes list!

Thanks!


On further research into your problem, that might not be the most
useful of links, however... this may.

http://mcpmag.com/columns/article.asp?EditorialsID=619

Gary-

I've had a look for you and via an external message board have found
something that might help you. On a similiar topic by a previous poster
Mike Flasko suggested using WMI. The links he provided were out of
date. But I have managed to find a current WMI Networking link into
MSDN.

http://msdn2.microsoft.com/en-us/library/aa394595.aspx

I hope it may be useful in someway,

Gary-


Thanks for your quick reply! I'm guessing from your reply that there is
no quick way of doing this with C++?

I think your best bet is asking in the appropriate platformsdk group.

You don't know what the newsgroup is for the windows XP sdk off hand do
you?

Again, thanks for your time!


Bruno van Dooren [MVP VC++] wrote:
I'm wanting to create a simple program for my computer at home. I would
like to keep my wireless network disabled and then only enable it when
a certain program starts (internet explorer or firefox), and then
disable the network when the program closes. Trapping when ie or
firefox starts isn't a problem, I just can't figure out how to enable
and disable the wireless network. Does anyone have any ideas on how to
do this?

At the very least could someone tell me if this is even possible (with
VB, C#, or C++) or if I am just wasting my time?

Hi,
I think your best bet is asking in the appropriate platformsdk group.
The groups you posted in are mostly for programming language related
questions.
Not that we don't want to help you, but this is not the place where most
plaform experts hang out.

--

Kind regards,
Bruno van Dooren
(e-mail address removed)
Remove only "_nos_pam"
 
Thanks for your quick reply! I'm guessing from your reply that there is
no quick way of doing this with C++?

It's not that you can't do it with C++. Anything that can be done on a
Windows PC can be done in C++ (or C really). It's just that the people
who know how to do this kind of thing do not typically hang out in the
Visual Studio newsgroups.

David Wilkinson
 
Thanks for your quick reply! I'm guessing from your reply that there is
no quick way of doing this with C++?


You don't know what the newsgroup is for the windows XP sdk off hand do
you?

microsoft.public.win32.programmer.networks
microsoft.public.platformsdk.networking

for other parts of the SDK:

microsoft.public.win32.programmer.{gdi,kernel,ui}
microsoft.public.platformsdk.{base,gdi,shell,ui,win_base_svcs}
 
Thanks for taking the time to list those - I'll be sure to check them
out!

Thanks Again!
 
I'm wanting to create a simple program for my computer at home. I would
like to keep my wireless network disabled and then only enable it when
a certain program starts (internet explorer or firefox), and then
disable the network when the program closes. Trapping when ie or
firefox starts isn't a problem, I just can't figure out how to enable
and disable the wireless network. Does anyone have any ideas on how to
do this?

At the very least could someone tell me if this is even possible (with
VB, C#, or C++) or if I am just wasting my time?

That wheel has already been invented -
You could just use a program like ZoneAlarm - and block all programs but the
browser.
You can log into your wireless router with the browser - where you can make
it "connect" or "disconnect" from the internet.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top