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.

VB.Net und MS Access

Empfohlene Antworten

Hallo ihr Lieben! :floet:

Ich arbeite mich gerade in Visual Basic .net ein und hab ein Problem. Ich habe ein Formular, worin ich Daten eintrage. Diese Daten sollen dann per Button-Click in eine Access-Tabelle übertragen werden. Ich brauch da den Anfang, wie ich Access öffne von .net aus.

habe bis jetzt dieses hier ausprobiert:

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

Dim AAnwendung As Access.Application

AAnwendung.OpenAccessProject("C:\Access\Daten.mdb")

End Sub

was ist verkehrt, Verweis zu Access habe ich auch gesetzt.

Ciao und Danke

Flöckchen

wieso möchtest du den dann ACCESS als Anwendung öffnen?

Du must doch nur die Daten in die DB schreiben, dafür must Du eine Connection zur Access DB haben, um dann die Daten bequem per SQL eintragen zu können in die Tabellen wo sie hin sollen.

Guido

Hi!

Danke für deine Hilfe. Leider kann ich kein SQL, habe jetzt in der Hilfe 2 Tage lang rumgestöbert und so funktioniert es auch:

Private Sub cmdOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdOK.Click

Dim acApp As Access.Application

Const DB_PATH As String = "C:\Access\Daten.mdb"

acApp = New Access.Application

acApp.OpenCurrentDatabase(DB_PATH)

acApp.DoCmd.OpenTable("PDaten")

acApp.Visible = True

End Sub

:marine

also so hab ich access noch nie geöffnet! ;)

ich schon. aber nicht um Daten rein zu bekommen.

Guido

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.