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.

Empfohlene Antworten

Veröffentlicht

Hallo ihr,

Ich hab mir gerade einen Pocket PC gekauft, und mich gefreut, daß Microsoft das embeded Visual Basic kostenlos an Programierer abgibt. Dort gabs auch gleich ein Beispielprogramm für eine kleine Anwendung mit "cdb" Datenbank und ADO.

Bin aber beim Programieren schnell auf ein Hindernis gestoßen.

Wenn ich versuche die Datei zu öffnen bekomme ich folgenden Fehler:

"Anwendung PvBload.exe hat einen nicht zulässigen Vorgang durchgeführt, und das Programm wird geschlossen"

Kennst sich da jemand mit aus, und kann mir eventuell helfen? Kann mir das nämlich nicht erklären. :eek:

Dim CON As ADOCE.Connection

Dim RS As ADOCE.Recordset

Set CON = CreateObject("ADOCE.Connection.3.0")

CON.ConnectionString = "Data Source = pass.cdb"

CON.Open

Set RS = CreateObject("ADOCE.Recordset.3.0")

RS.Source = "select * from pass"

RS.CursorType = adOpenForwardOnly

RS.ActiveConnection = CON

RS.Open

lstPass.AddItem RS.Fields("name")

MsgBox "Bin am was Tun: " & RS.Fields("pass")

RS.Close

CON.Close

Vielen Dank mal,

Fraggy

:) Vielen Dank, werd ich mal ausprobieren.

Obwoh die Symptome schon anders sind, da auf der form gar keine Controls sind, und der Code nur in der form.load steht ..

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.