Autor Beitrag
Hack Gott
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 409

Windows Vista
Delphi 2005 Personal, Delphi 7
BeitragVerfasst: Mo 14.02.05 14:51 
Ich wollte ein anderes Programm (z.B.: den Internet Explorer) starten. Mit dem Komponenten ddeclientconv bekomme ich aber das Fenster nur minimiert hin. Was mache ich falsch? (ich will dass das programm maximiert wird).
OneOfTen
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mo 14.02.05 14:53 
Hack Gott hat folgendes geschrieben:
Mit dem Komponenten ddeclientconv


kommt ShellExecute in Frage?
Hack Gott Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 409

Windows Vista
Delphi 2005 Personal, Delphi 7
BeitragVerfasst: Mo 14.02.05 14:54 
Titel: shellexecute
was ist das und woher bekomme ich es?
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: Mo 14.02.05 14:58 
guck dir mal ShellExecute mit SW_SHOWMAXIMIZED an :)

mfg matze

_________________
si tacuisses, philosophus mansisses.
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mo 14.02.05 15:00 
Hach, ist das schön!!! Nach all dem Stress der letzten Tage mal wieder was richtig gutes zum lachen. Danke, Hack-Gott!! :rofl:

Such einfach mal im Forum danach. Da findest du genug dazu!

Edit: Ist nicht böse gemeint. Aber die Aussage
Hack Gott hat folgendes geschrieben:
was ist das [shellexecute] und woher bekomme ich es?
entbehrt nicht einer gewissen Komik.

_________________
We are, we were and will not be.


Zuletzt bearbeitet von Gausi am Mo 14.02.05 15:50, insgesamt 1-mal bearbeitet
Hack Gott Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 409

Windows Vista
Delphi 2005 Personal, Delphi 7
BeitragVerfasst: Mo 14.02.05 15:06 
Titel: Hilfe!
Ähh??? :oops: Also was muss ich genau eintippen HINSTANCE ShellExecute oder was????
Hack Gott Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 409

Windows Vista
Delphi 2005 Personal, Delphi 7
BeitragVerfasst: Mo 14.02.05 15:08 
Gausi hat folgendes geschrieben:
Hach, ist das schön!!! Nach all dem Stress der letzten Tage mal wieder was richtig gutes zum lachen. Danke, Hack-Gott!! :rofl:

Such einfach mal im Forum danach. Da findest du genug dazu!


Ok mach ich und gern geschehen. :wink:
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: Mo 14.02.05 15:12 
das mit shellexecute geht so:
ausblenden Quelltext
1:
ShellExecute(Handle, 'open', LinkZurEXE, Parameter, Anzeigeart);					


das ganze könnte dann so aussehn:
ausblenden Delphi-Quelltext
1:
2:
ShellExecute(Form1.Handle, 'open', 'C:\meinprog.exe', -parameter, SW_SHOWMAXIMIZED);
//wenn du das ohne parameter machen willst dann schreib statt '-parameter', 'nil'


mfg matze

_________________
si tacuisses, philosophus mansisses.
OneOfTen
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mo 14.02.05 15:22 
Gausi hat folgendes geschrieben:
Hach, ist das schön!!! Nach all dem Stress der letzten Tage mal wieder was richtig gutes zum lachen. Danke, Hack-Gott!! :rofl:


Gemein, aber Recht hast du. Der erste Schritt sollte immer sein, im Forum zu suchen oder bei Google, bevor ich einen Thread eröffne. Ist anscheinend nicht jedem klar :D
Hack Gott Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 409

Windows Vista
Delphi 2005 Personal, Delphi 7
BeitragVerfasst: Mo 14.02.05 15:26 
Titel: Glück gehabt
Zum Glück seid ihr nicht von einer feindseligen mauer umgeben. :autsch:
Hack Gott Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 409

Windows Vista
Delphi 2005 Personal, Delphi 7
BeitragVerfasst: Mo 14.02.05 16:42 
Titel: Ähh
Könnte man den Hacken noch mal wegmachen, den bei mir wird immer angezeigt das ShellExecute ein undefinierter Bezeichner ist.
Karlson
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 2088



BeitragVerfasst: Mo 14.02.05 16:45 
Du musst oben in die Uses: "ShellApi" einfügen...
Hack Gott Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 409

Windows Vista
Delphi 2005 Personal, Delphi 7
BeitragVerfasst: Mo 14.02.05 16:49 
Titel: ??
Was muss ich machen? Kannst du das bitte nochmal genauer erklären? :oops:
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: Mo 14.02.05 16:54 
Titel: Re: ??
Hack Gott hat folgendes geschrieben:
Was muss ich machen? Kannst du das bitte nochmal genauer erklären? :oops:


Ein Delphibuch kaufen und erstmal lernen, was eine Unit ist und wie man sie einbindet... :roll:

AXMD
OneOfTen
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mo 14.02.05 16:55 
Ganz oben in deiner Unit deines Projektes findest du sowas:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs;

type
  TForm1 = class(TForm)

....


bei uses einfach ShellApi hinzufügen

ach die einzelnen Units trennst du durch Koma, ähh Komma :D


Zuletzt bearbeitet von OneOfTen am Mo 14.02.05 16:55, insgesamt 1-mal bearbeitet
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Mo 14.02.05 16:55 
Gaaaanz oben in deiner Unit steht Uses. Dahinter eine ganze Menge Unit-Namen. Da baust du die ShellAPI noch mit rein.
Hack Gott Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 409

Windows Vista
Delphi 2005 Personal, Delphi 7
BeitragVerfasst: Mo 14.02.05 16:56 
Titel: Ahh Gut
Danke für den Hinweis. Jetzt kann der Hacken doch bleiben :D