Thema: Delphi Dialog nicht anzeigen

Einzelnen Beitrag anzeigen

mumu

Registriert seit: 28. Okt 2003
Ort: Bamberg
519 Beiträge
 
#1

Dialog nicht anzeigen

  Alt 13. Apr 2004, 17:37
Wenn ich die Funktion INetSharingConfiguration::EnableSharing (siehe EnableSharing bei MSDN) aufrufe kommt immer ein Dialog der bestätigt werden muss. Dies möchte ich jedoch verhindern.

die MSDN schreibt dazu...
Zitat:
Remarks
Calling this method triggers the following notification:

%programname% is attempting to enable Internet Connection Sharing on the network connection %connectionname%. This will allow other computers on your network to connect to the Internet through a shared public connection. Do you want %programname% to enable Internet Connection Sharing on this connection?

If the calling application specifies that this connection is publicly shared, any previous publicly-shared connection is automatically disabled.

A publicly-shared connection automatically has Internet Connection Firewall enabled. Privately-shared connections retain their existing settings.
hat jemand eine idee wie ich die oben fett geschriebene Meldung, welche immer auftritt wenn ich EnableSharing ausführe, verhindern kann?
  Mit Zitat antworten Zitat