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.

EXE mit VB öffnen

Empfohlene Antworten

Moin!

Probiere es doch über die Shell Funktion!

Syntax: Shell(pathname[,windowstyle])

Der Windowstyle gibt an, wie das Prog geöffnet werden soll (versteckt, mit Focuserhalt...)

Hi, du muss erst einen Verweis auf die Excel 10.0 Library setzen, dann kannst du folgendes anwenden:

Dim XL as Excel.Application

Set XL = Excel.Application

XL.visible = True

XL.workbooks.open Pfad

:marine

SF

Original geschrieben von Schneeflocke

Hi, du muss erst einen Verweis auf die Excel 10.0 Library setzen, dann kannst du folgendes anwenden:

Dim XL as Excel.Application

Set XL = Excel.Application

XL.visible = True

XL.workbooks.open Pfad

:marine

SF

Derartiges funktioniert allerdings nur mit Office-Anwendungen.

Der Shell-Befehl öffnet alle Anwendungen.

Um ein beliebiges Dokument (mit der von Windows zugeordneten Anwendung) zu öffnen, kannst du außerdem so vorgehen:

Du erstellst auf der Form ein OLE-Objekt; wenn beim "Zeichnen" des Objekts ein Fenster aufpoppt, auf ABBRECHEN klicken.

Das OLE-Objekt setzt du bei den Eigenschaften auf unsichtbar.

Dann erstellst du dir noch eine Schaltfläche, fügst ihr folgenden Code hinzu


Private Sub Command1_Click()

    OLE1.CreateLink "D:\Daten.dat"

    OLE1.DoVerb

End Sub

und schon öffnet die Schaltfläche die Datei "D:\Daten.dat" (dass man anstelle von "D:\Daten.dat" auch eine Variable setzen kann - das brauch ich wohl nicht näher zu erläutern ;)).

Grüße,

Technician

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.