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.

Fehlermeldung

Empfohlene Antworten

Veröffentlicht

Wieso funktioniert mein Quellcode nicht. Habe aus einer Übung rauskopiert, trotzdem kommt fehlermeldung. wer kann helfen?

Caption ist kein Member von "system.windows.forms.textbox"

Quelltext:

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

Dim s As Double

s = CDbl(Text1.text) + CDbl(Text2.text)

Bezeichnung3.caption = Text1.Text + " + " + Text2.Text + " = " + Str$(s)

End Sub

End Class

Übung Quelle VB5 Kapitel 1, Übung 6

"rauskopieren" gut und schön, aber wer sagt dir, dass deine quelle fehlerfrei ist?

Caption ist kein Member von "system.windows.forms.textbox"

naja, steht ja da. textbox kennt keine caption, label schon.

hast du "Bezeichnung3" als textbox anstatt als label erstellt?

s'Amstel

statt .caption

.text

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.