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.

VB6: "Unload me" macht Probleme

Empfohlene Antworten

Hi,

folgendes Scenario:

Ich entwickle auf einem Win2k Rechner mit VB6 SP3 Entwicklungsumgebung ein Programm, dass über die DDE Schnittstelle mit einer externen App komuniziert und die übertragenen Daten in eine Textdatei schreibt. Klappt alles prima.

Nun portiere ich die kompilierte exe auf einen blako 98SE Rechner, auf dem sich sonst nur noch die MSVBVM60.dll und halt das andere PRogramm befindet.

Nun bekomme ich beim Ausführen an der Stelle des "Unload me" Befehles einen Fehler "Userbla .exe ....

WEnn ich die App sich nicht selbst beenden lasse, sondern sie über [x] schließe, habe ich keine Probleme... :confused:

Hat jemand ne Ahnung? Brauche ich mehr als nur die MSVBBM60.dll ?

was ich mir jetzt direkt vorstellen kann ist das du mit mehr als einem formular arbeitest.

für den fall das das so ist hat sich folgender code als verdammt hilfreich erwiesen da er wirkliche sämtliche formulare entläd:

Dim frm As Form

For Each frm In Forms

Unload frm

Set frm = Nothing

Next frm

ich hoffe das hilft dir weiter

gruß pico

mh und wenn du das ganze statt mit unload me mit end machst?

Original geschrieben von |roTekuGeL|

mh und wenn du das ganze statt mit unload me mit end machst?

Funktionieren würde das!

Aber es ist nicht so gut, weil dann die Form im Speicher bleibt. Man muss auf jeden Fall die Form rauskicken.

Wenn Unload.Me nicht klappt, dann geht probier halt nur die Verkürzung, von dem was PICO gesagt hat... gemeint ist Set Form1 = Nothing...

Grüsse,

Ricane

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.