Autor Beitrag
MasterT
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 67

Win XP x64, Win 98, Win 2000, Win ME
D6 Prof., Delphi 2006
BeitragVerfasst: Mi 04.08.04 00:03 
Hallo,

ich brauche die Funktion, mit der ich den "Öffnen mit..." Dialog von Windows aufrufen kann.
Hoffe mir kann einer Helfen.

Vielen Danke & Gruß

MasterT
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Mi 04.08.04 05:48 
Schon mal die Suchfunktion des Forums benutzt?

Suche in: Delphi-Forum, Delphi-Library ÖFFNEN MIT: Mitte unten: www.delphi-forum.de/...ghlight=%F6ffnen+mit

AXMD
MasterT Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 67

Win XP x64, Win 98, Win 2000, Win ME
D6 Prof., Delphi 2006
BeitragVerfasst: Mi 04.08.04 09:01 
Ja hatte ich, aber trotzdem danke.

Gruß

MasterT
AuronX
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18



BeitragVerfasst: Fr 06.08.04 17:32 
Hallo,

soweit ich weiß, brauchst du eine "Opendialog"-Komponente und schiebst sie auf dein Formular. Dann nimmst du dir nen Button und schreibst als Quellcode:

ausblenden Quelltext
1:
2:
3:
4:
Button1.click(sender:tobject);
      begin
       opendialog1.execute;
      end;


Danach erscheint der "Öffnen" Dialog.
MasterT Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 67

Win XP x64, Win 98, Win 2000, Win ME
D6 Prof., Delphi 2006
BeitragVerfasst: Fr 06.08.04 21:34 
Hallo, ne das is nicht das was ich brauche.
Ich brauche den Dialog, der kommt, wenn man versucht Dateien zu öffnen, die Windows keinem Programm zuordnen kann.

Diesen hier:

user defined image

Gruß

MasterT
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Fr 06.08.04 21:36 
Du musst das aufrufen, was auch die Registry aufruft. Schau mal unter HKEY_CLASSES_ROOT\unknown\shell\openas\command.

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
MasterT Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 67

Win XP x64, Win 98, Win 2000, Win ME
D6 Prof., Delphi 2006
BeitragVerfasst: Fr 06.08.04 21:43 
Ahhh wunderbar, genau das :) Vielen Dank.

Gruß

MasterT