Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Einwahl über DFÜ

Empfohlene Antworten

Moin zusammen,

ich such einen Code in vb, der sich automatisch mit der als Standartverbindung gewählten DFÜ-Ververbindung ins Netz einwählt sofern keine Verbindung besteht. Ich habe bereits unter http://www.activevb.de/tipps/vb6tipps/tipp0049.html was dazu im internet gefunden. Nur wenn ich das in meinen Code einbinde bekomm ich einiges an Problemen:

- Type 'statements are no longer supported; use 'Structure' statements instead

- dwSize = Declaration expected

- szEntryName = Declaration expected

- Type RASENTRYNAME95 is not defined

- Name VarPtr is not declared

- Name vbUnicode is not declared

- Left$ Public Property Left() As Integer has no parameters and its return type cannot be indexed

- Me.hWnd is not a Member of ....

kann mir einer weiterhelfen?

thx voarb !

ahh okay , danke. kann mir einer beim übersetzen helfen? meine .net kenntnisse sind noch nicht ganz so dolle.

wäre das ganze folgendermaßen möglich:


Für Windows NT4 und 2000 gibt es das Programm rasdial.exe, dem zusätzlich noch die Zugangsdaten des Benutzers (Name,Passwort,Domäne) übergeben werden können :  

 Dim strEntryName as String

Dim strUserName as String

Dim strPassword as String


strEntryName = "Verbindungsname"


'Eine Verbindung aufbauen

Call Shell("RASDIAL " & chr$(34) & strEntryName & chr$(34))


'Eine Verbindung mit Benutzername und Passwort aufbauen

Call Shell("RASDIAL " & chr$(34) & strEntryName & chr$(34) & _

	   " " & strUserName & " " & strPassword)


'Eine Verbindung abbauen

Call Shell("RASDIAL " & chr$(34) & strEntryName & chr$(34) & " /DISCONNECT")

steht strEntryName für den Namen der DFÜ - Verbindung ?

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.