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.

Wecker in VB?

Empfohlene Antworten

Hallo NG,

meine Freundin programmiert gerade einen Wecker bzw. versucht es:D

Und nun hat sie mich um Hilfe gebeten da ich ja auch des öfteren in Access VBA programmiere(auch wenn ich Fisi bin und mir VPN und Co lieber sind:rolleyes:). In VB (2005 Express Edition) ist irgendwie alles anders. Ein einfaches =time() im Textfeld liefert nichts und irgendwie finde ich auch keine Update-Ereignisse die ich nutzen könnte.

Ich brauche einmal ein Ereignis und eine Funktion, die beim öffnen des Formulars immer die aktuelle Uhrzeit in eine Textbox schreibt. Das wäre erst mal die größte Hürde, die Textbox mit der Weckzeit und dem Vergleich bekomme ich dann schon selber hin denke ich mal.

Tipps? Ich stehe echt auf dem Schlauch.

Grüße

Marc

Update(Editieren geht nun leider nicht mehr).

Soweit bin ich nun:

Public Class Wecker

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Me.TB_Uhrzeit.Text = Now()
End Sub
End Class[/PHP]

Er öffnet mir das Formular und trägt Datum und Uhrzeit ein. Aber wie bekommt man das nun immer aktualisiert? Soll ja auch keine Endlosschleife werden?

2. Frage: Wie bekomme ich das formatiert? brauche ja nur die Uhrzeit. Hach ist Access schön, da klick ich einfach unter Eigenschaften das Format an :e@sy

String.Format und Forms.Timer wären ein ansatz.

s'Amstel

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.