A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Networking and the Internet with Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Internet Connection Sharing and Internet Connection Firewall question



 
 
Thread Tools Display Modes
  #1  
Old January 10th 04, 01:15 AM
Gary
external usenet poster
 
Posts: n/a
Default Internet Connection Sharing and Internet Connection Firewall question

Does anyone have the ICF API experiences?

We would like to use the ICF API in our program to automatically open
or close ports as required.

But when I use the INetSharingPortMapping::Enable() or
INetSharingPortMapping:elete() function under my Windows XP OS, it
causes a notification to appear on my local computer, every time I
have to choose "YES" or "NO" in order to continue this program. It is
very inconvenient for us to use this ICF API under our program. We
would like this program to continue running without user interruption.

Further look into the MSDN document related the ICF under following
website:
http://msdn.microsoft.com/library/de..._interface.asp

Only four ICS/ICF methods will cause the notification to the user
interface:
INetSharingConfiguration:isableInternetFirewall
INetSharingConfiguration:isableSharing
INetSharingConfiguration::EnableInternetFirewall
INetSharingConfiguration::EnableSharing

I wonder why INetSharingPortMapping::Enable() and
INetSharingPortMapping:elete() cause the notification to the user
interface.

Is there any way we could use INetSharingPortMapping::Enable() and
INetSharingPortMapping:elete() without notification showing up?

Thank you !
Gary
Ads
  #2  
Old January 10th 04, 01:17 AM
Rakesh Chanana [MSFT]
external usenet poster
 
Posts: n/a
Default Internet Connection Sharing and Internet Connection Firewall question

I'd suggest that you post to another newsgroup such as
microsoft.public.msdn.general which may be more appropriate for this type
of question.
----
Thanks,
Rakesh Chanana [MSFT]

When replying, please post to GROUP so that everyone can benefit from the
knowledge.

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


--------------------
From: (Gary)
Newsgroups: microsoft.public.windowsxp.network_web
Subject: Internet Connection Sharing and Internet Connection Firewall

question
Date: 3 Nov 2003 15:32:37 -0800
Organization:
http://groups.google.com

Does anyone have the ICF API experiences?

We would like to use the ICF API in our program to automatically open
or close ports as required.

But when I use the INetSharingPortMapping::Enable() or
INetSharingPortMapping:elete() function under my Windows XP OS, it
causes a notification to appear on my local computer, every time I
have to choose "YES" or "NO" in order to continue this program. It is
very inconvenient for us to use this ICF API under our program. We
would like this program to continue running without user interruption.

Further look into the MSDN document related the ICF under following
website:

http://msdn.microsoft.com/library/de...us/ics/ics/ics
_icf_methods_that_provide_notifications_to_the_use r_interface.asp

Only four ICS/ICF methods will cause the notification to the user
interface:
INetSharingConfiguration:isableInternetFirewall
INetSharingConfiguration:isableSharing
INetSharingConfiguration::EnableInternetFirewall
INetSharingConfiguration::EnableSharing

I wonder why INetSharingPortMapping::Enable() and
INetSharingPortMapping:elete() cause the notification to the user
interface.

Is there any way we could use INetSharingPortMapping::Enable() and
INetSharingPortMapping:elete() without notification showing up?

Thank you !
Gary


  #3  
Old January 10th 04, 01:19 AM
Ken Wickes [MSFT]
external usenet poster
 
Posts: n/a
Default Internet Connection Sharing and Internet Connection Firewall question

The notification is so the user is notified that some program is
manipulating the firewall. It is irritating and while I can't promise
anything I expect it to be gone in the future.

--

Ken Wickes [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.


""Rakesh Chanana [MSFT]"" wrote in message
...
I'd suggest that you post to another newsgroup such as
microsoft.public.msdn.general which may be more appropriate for this type
of question.
----
Thanks,
Rakesh Chanana [MSFT]

When replying, please post to GROUP so that everyone can benefit from the
knowledge.

This posting is provided "AS IS" with no warranties, and confers no
rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


--------------------
From: (Gary)
Newsgroups: microsoft.public.windowsxp.network_web
Subject: Internet Connection Sharing and Internet Connection Firewall

question
Date: 3 Nov 2003 15:32:37 -0800
Organization:
http://groups.google.com

Does anyone have the ICF API experiences?

We would like to use the ICF API in our program to automatically open
or close ports as required.

But when I use the INetSharingPortMapping::Enable() or
INetSharingPortMapping:elete() function under my Windows XP OS, it
causes a notification to appear on my local computer, every time I
have to choose "YES" or "NO" in order to continue this program. It is
very inconvenient for us to use this ICF API under our program. We
would like this program to continue running without user interruption.

Further look into the MSDN document related the ICF under following
website:

http://msdn.microsoft.com/library/de...us/ics/ics/ics
_icf_methods_that_provide_notifications_to_the_use r_interface.asp

Only four ICS/ICF methods will cause the notification to the user
interface:
INetSharingConfiguration:isableInternetFirewall
INetSharingConfiguration:isableSharing
INetSharingConfiguration::EnableInternetFirewall
INetSharingConfiguration::EnableSharing

I wonder why INetSharingPortMapping::Enable() and
INetSharingPortMapping:elete() cause the notification to the user
interface.

Is there any way we could use INetSharingPortMapping::Enable() and
INetSharingPortMapping:elete() without notification showing up?

Thank you !
Gary




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 09:34 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.