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.

MedusTv

User
  • Registriert

  • Letzter Besuch

  1. MedusTv hat einem Thema gepostet in Basic
    Imports System.IO Public Class Form1 Public ListeGesamt As New List(Of zeilegesamt) Public DataSource_Listegesamt As List(Of zeilegesamt) Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim dateiname = "D:\source\repos\Testmappe\np.txt" For Each zeile As String In IO.File.ReadLines(dateiname) Dim fach As String() = Split(zeile, ";") Dim zeilegesamt As New zeilegesamt(fach) Dim noten As String() = Split(fach(1), ",") Dim anzahl As Int32 = noten.Count() Dim notensumme As Int32 = 0 For Each note In noten notensumme = notensumme + CInt(note) Next zeilegesamt.Durchschnitt = (notensumme / anzahl).ToString ListeGesamt.Add(zeilegesamt) Next DataGridView1.DataSource = ListeGesamt DataSource_Listegesamt = New List(Of zeilegesamt)(ListeGesamt.ToList) DataGridView1.Columns(2).ReadOnly = True DataGridView1.Columns(1).Width = 300 Me.Width = DataGridView1.Width End Sub Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim objDateiMacher As IO.StreamWriter objDateiMacher = New StreamWriter("D:\source\repos\Testmappe\np.txt", True) vbNewLine.ToString() objDateiMacher.WriteLine(TextBox1.Text + ";0") objDateiMacher.Close() objDateiMacher = Nothing TextBox1.Text = "" MsgBox("Die Zeile wurde Hinzugefügt") End Sub End Class Wie bekomme ich es hin das bei Button1 hinter MsgBox Das DataGridView Aktualisiert wird? Ich hab schon versucht den Code von Form1_Load rein zu kopieren allerdings wird der irgendwie übersprungen

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.