473,322 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Wireless Networks - Is this even possible?

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!

Jan 5 '07 #1
11 1024
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
br**********************@hotmail.com
Remove only "_nos_pam"
Jan 5 '07 #2
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
br**********************@hotmail.com
Remove only "_nos_pam"
Jan 5 '07 #3
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-
ju*************@yahoo.com wrote:
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
br**********************@hotmail.com
Remove only "_nos_pam"
Jan 5 '07 #4
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-

garyuse...@myway.com wrote:
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-
ju*************@yahoo.com wrote:
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
br**********************@hotmail.com
Remove only "_nos_pam"
Jan 5 '07 #5
Thanks a ton! I just bookmarked both of your links and added you to my
heroes list!

Thanks!
garyuse...@myway.com wrote:
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-

garyuse...@myway.com wrote:
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-
ju*************@yahoo.com wrote:
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
br**********************@hotmail.com
Remove only "_nos_pam"
Jan 5 '07 #6
ju*************@yahoo.com wrote:
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
Jan 5 '07 #7

<ju*************@yahoo.comwrote in message
news:11**********************@i15g2000cwa.googlegr oups.com...
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?
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,wi n_base_svcs}
Jan 5 '07 #8
Thanks for taking the time to list those - I'll be sure to check them
out!

Thanks Again!

Ben Voigt wrote:
<ju*************@yahoo.comwrote in message
news:11**********************@i15g2000cwa.googlegr oups.com...
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?

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,wi n_base_svcs}
Jan 5 '07 #9

<ju*************@yahoo.comwrote in message
news:11********************@v33g2000cwv.googlegrou ps.com...
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.
Jan 6 '07 #10
That wheel has already been invented -

I know it has, but since this is a personal project and not a project
for work, budgets/time/etc don't matter. So I would rather reinvent the
wheel and learn something new in the process.

Also, who knows what other programs I might create that will rely on
the ability to enable/disable network access. Therefore, reinventing
the wheel now may in my personnal time may just save me tons of time in
a later work project.

Thanks for your suggestions though!
Hal Rosser wrote:
<ju*************@yahoo.comwrote in message
news:11********************@v33g2000cwv.googlegrou ps.com...
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.
Jan 6 '07 #11
I realize you posted this a while ago, so you may already converted the
vbscript code in one of the above posts. If not, I got bored the other
day and wrote a Code Project article that has that code converted to
Visual Basic .Net

Here's the link:

http://www.codeproject.com/useritems...etworkConn.asp

Thanks,

Seth Rowe
ju*************@yahoo.com wrote:
That wheel has already been invented -

I know it has, but since this is a personal project and not a project
for work, budgets/time/etc don't matter. So I would rather reinvent the
wheel and learn something new in the process.

Also, who knows what other programs I might create that will rely on
the ability to enable/disable network access. Therefore, reinventing
the wheel now may in my personnal time may just save me tons of time in
a later work project.

Thanks for your suggestions though!
Hal Rosser wrote:
<ju*************@yahoo.comwrote in message
news:11********************@v33g2000cwv.googlegrou ps.com...
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.
Jan 22 '07 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Debbie | last post by:
Thank you for any help you can give me. I have a database that I've been working on... a backend for the server and front ends for the users. Now I've found out that the network is wireless and...
45
by: Arno R | last post by:
Hi all, I am about to distribute an A97-runtime app. which will be used on a LAN by approx. 30 users. The network is pretty good, but there are a few managers who have wireless laptops... Of...
11
by: justsome_newbie | last post by:
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...
1
by: inamul | last post by:
I cann't connect to my wireless since i removed an adware. I have tried everthing from installing Drivers to system restore. but nothing seems to work. Actaully i can conncet using network...
8
by: Bob Alston | last post by:
I just acquired a pro bono nonprofit client who has various problems with Access that they want me to address. In our initial discussion, they mentioned that their network is a LInksys wireless...
0
by: theS70RM | last post by:
Hey, I know there are so many posts about this round the net, but I've yet to see the problem resolved properly. If you're using a wireless network adapter in Vista it will search for new...
3
by: ssaraceni | last post by:
Hi, is there in Java any command or API for manage wireless connections? I want to create an application for auto-scan wireless networks and manage connection profiles (password, ip...). I'm using...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.