Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   Datei in VB öffnen (https://www.delphipraxis.net/48717-datei-vbulletin-oeffnen.html)

boozzz 29. Jun 2005 14:47


Datei in VB öffnen
 
Hallo
Falls sich hier jemand in VisualBasic auskennt, hätte ich folgende Frage:

Ich bin momentan bei einer Powerpoint-Präsentation und möchte anhand eines Buttons in VB eine externe EXE-Datei öffnen.
Welchen Befehl brauche ich da?

Viele Grüße
boozzz

Flocke 29. Jun 2005 15:08

Re: Datei in VB öffnen
 
z.B. so:
Code:
Private Sub CommandButton1_Click()
    Shell "C:\Windows\Notepad.exe"
End Sub


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:26 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz