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.

anmeldescript mit VB" Kann mir jemand Bitte erklären was im einzelnen passiert

Empfohlene Antworten

Veröffentlicht

Hallo brauch bitte Hilfe??

Was passiert im einzelnen

dim text

dim scriptkopf

dim cUser

scriptkopf = "KNK_MAP_Home.vbs"

set wshnetwork=wscript.createobject("wscript.network")

on error resume next

cUser=wshnetwork.UserName

wshnetwork.mapnetworkdrive "H:", “\\vzfs301\home\â€& cUser “$â€

errchecku err.number

Sub ErrCheckU (nr)

Select Case nr

Case 0

text = " H mit \\vzfs301\home$%Username% verbunden" & vbCRLF ' kein Fehler

Case - 2147024829

WScript.Echo "Fehler: Netzwerkressource existiert nicht"

Case - 2147024843

text = " Fehler: Syntaxfehler"

Case - 2147024811

text = " Laufwerk H bereits belegt"

Case Else

WScript.Echo "Fehler: " + CStr(nr)

End Select

wscript.timeout = 2msgbox text,vbinformation, scriptkopf

End Sub

Hallo,

wenn ich mich nicht täusche, ist das Windows Scripting.

Zuerst wird ein Netzwerkobjekt erzeugt und der Variable cUser wird ein Username zugewiesen. Danach wird versucht ein Netzlaufwerk zu verbinden. Danach kommen Fehlerabfragen. Bei einer Fehlermeldung wird dann entsprechend reagiert.

Frank

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.