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.

16stelligen hexadezimalcode mit zufallszahlen erstellen

Empfohlene Antworten

Veröffentlicht

Hallo unzwar hab ich wieder ein Problem. Ich hab hier eine Vb code der Leider nicht bei VBscript funktioniert. Könnt ihr mir velleicht helfen den in VBS umzusetzen??

Public Function GenerateHEX(ByVal Count As Integer, Optional ByVal Seperator As String = "") As String

If Count < 1 Then Return ""

Dim table As String = "0123456789ABCDEF"

Dim RanHEX As New System.Text.StringBuilder

Dim rnd As New System.Random

For i As Integer = 1 To Count

RanHEX.Append(table.Substring(rnd.Next(0, table.Length), 1))

RanHEX.Append(table.Substring(rnd.Next(0, table.Length), 1))

If i <> Count Then

RanHEX.Append(Seperator)

End If

Next

Return RanHEX.ToString

End Function

Vielen dank im voraus

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.