English
Regulars table & Café

InternetCheckConnection.

 


Description:

with InternetCheckConnection can Verify, whether a defined web page accessible is. If no Internetverbindung exists, becomes attempts these produce. If the Autodial ? Happen? in the Registry staid are, becomes means first once automatically a Internetverbindung manufactured circa these pages „anzupingen“.




Deklaration:

DEF @InternetCheckConnection(3) !WININET.DLL,InternetCheckConnectionA




Parameter:

1.Parameter: address one Strings or Memory-Variable with a String, the The anzupingende Internetadresse contains. this Parameter can also 0 his, it'll then a interne address uses.
2.Parameter: Flag for manner the Kontaktaufnahme. there's to Time only a only valid Flag (FLAG_ICC_FORCE_CONNECTION). =>
-$1 = link becomes erzwungen (it'll itself, if possible, eingewählt).
3.Parameter: reserved, must 0 his.



Return Value:

1 for a successful manufactured link to angegebenen web page, otherwise 0.


Examples:

CompileMarkSeparation
DEF @InternetCheckConnection(3) !"WININET.DLL","InternetCheckConnectionA"
Declare ONLINE&,URL$
LET URL$="https://www.google.de"
LET ONLINE&=@InternetCheckConnection(@addr(URL$),1,0)

IF ONLINE&=1

    ADDSTRING "Google konnte erreicht werden!"

Else

    ADDSTRING "Google konnte nicht erreicht werden!"

Endif

@LISTBOX$("Konnte die Seite erreicht werden?",1>)
 
04/18/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.789 Views

Untitledvor 0 min.
Wolfgang06/10/13
Michaeal01/19/12
Julian Schmidt09/29/11
Hans Hermann05/15/11

Themeninformationen

this Topic has 1 subscriber:

unbekannt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie