WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   VB6 und aut. mehrfachen RAS Einwahl (http://www.wcm.at/forum/showthread.php?t=136844)

keksi77 14.06.2004 14:19

VB6 und aut. mehrfachen RAS Einwahl
 
Hallo,

Habe von Inet für VB6 ein paar Codesamples für eine RAS Einwahl gefunden.
Ich brauche etwas damit ich automatisch zuerst eine GPRS und dannach VPN Verbindung herstelle.

Ich verwende folgendenen Aufruf:

~~~~Code
Private Declare Function InternetDial Lib "wininet.dll" _
(ByVal hwndParent As Long, ByVal lpszConiID _
As String, ByVal dwFlags As Long, ByRef hCon _
As Long, ByVal dwReserved As Long) As Long

~~~Code

InternetDial Me.hWnd, "A1.net GPRS", DIAL_FORCE_UNATTENDED, ConID, 0


Das Problem ist nur, sobald eine RAS bzw. DFÜ Verbindung aktiv ist, macht mir WININET.DLL keine zweite Verbindung mehr auf.

Weiss da jemand wie ich dieses Problem umgehen kann?

Danke
Horst


Alle Zeitangaben in WEZ +2. Es ist jetzt 06:33 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag