Autor Beitrag
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Di 12.09.06 13:35 
Bei dem Öffnen mit-Dialog wenn ich da mein Programm auswähl, wird die datei nicht geöffnet? Warum??

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
crowley
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 406

Win XP, Win Vista, Mandriva, Ubuntu
Delphi 4-8, Delphi 2006, Delphi 2007
BeitragVerfasst: Di 12.09.06 13:47 
sers

wertest du du denn in deiner anwendung beim starten/anzeigen den ParamStr aus ?

C.
wulfskin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1349
Erhaltene Danke: 1

Win XP
D5 Pers (SSL), D2005 Pro, C, C#
BeitragVerfasst: Di 12.09.06 13:58 
Ich versteh dich zwar nicht hundertprozentig, aber wenn du denkst, dass dieser Dialog die ausgewählte datei ausführt, dann liegst du falsch.
In dem Fall musst du Suche in: Delphi-Forum SHELLEXECUTE OR CREATEPROCESS benutzen.
Der OpenDialog wählt jediglich die Datei aus und repräsentiert diese in der Eigenschaft FileName. Was damit gemacht wird, bleibt dem Programmierer überlassen.

Viele Grüße,
Hape

_________________
Manche antworten um ihren Beitragszähler zu erhöhen, andere um zu Helfen.
crowley
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 406

Win XP, Win Vista, Mandriva, Ubuntu
Delphi 4-8, Delphi 2006, Delphi 2007
BeitragVerfasst: Di 12.09.06 14:01 
@wulfskin

ich glaube, du hast user profile iconelundril falsch verstanden... der "Öffnen-mit"-Dialog ist über den Rechtsklick mit der Maus auf eine Datei zu erreichen ;)

Ich mutmaße user profile iconelundril möchte eine bestimmte Datei mit seinem Programm öffnen lassen

C.
elundril Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Mi 13.09.06 17:41 
genau das meinte ich! wie werte ich ParamStr aus?

mfg el

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
crowley
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 406

Win XP, Win Vista, Mandriva, Ubuntu
Delphi 4-8, Delphi 2006, Delphi 2007
BeitragVerfasst: Mi 13.09.06 17:44 
schau mal in die hilfe rein ;)

paramstr(0) ist deine "anwendung"
paramstr(1) müsste die datei sein, die du öffnen willst...
Born-to-Frag
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Mi 13.09.06 17:45 
Suche in der Entwickler-Ecke PARAMSTR ;)


greetz

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
elundril Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Mi 13.09.06 17:49 
danke!!!

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.