Autor Beitrag
kongreddgrass Threadstarter
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 238

Win 98, Win 2000, Win Xp Prof.,Linux 8.2 Prof
Delphi 6
BeitragVerfasst: Do 25.09.03 20:38 
Hi,
hab den Fehler selber gefunden.
Nach .Text hätte ne Klammer hingehört.
Danke für die Hilfe, brauch dich aber später noch :wink:

Gruß
Mike

_________________
o.o
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Fr 26.09.03 09:56 
ausblenden Delphi-Quelltext
1:
ini.WriteString('Programmname_01', 'Name', TextFeld1.Text);					
DaBass
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 26.09.03 10:33 
Doppel posts.... :wink:

musst doch nicht nochmals den gleichen Post machen den ich schon gemacht habe.. etwa drei posts davor.... auf der vorherigen Seite!!

Wenn das normale User machen würden, so würdest du dich ab denen aufregen.. oder??
kongreddgrass Threadstarter
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 238

Win 98, Win 2000, Win Xp Prof.,Linux 8.2 Prof
Delphi 6
BeitragVerfasst: Fr 26.09.03 19:33 
Hi, jetzt habe ich wieder ein Problem.
Und zwar beim Button.
Den 1.Button für den Programm starten soll nämlich einen Wert herauslesen und laden.
Dies soll auch mit ShellExecute gehen.
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
procedure TForm1.Button1Click(Sender: TObject);
var
ini: TIniFile;
res: String;
begin
ini:=TIniFile.Create('C:\Programme\Progg-Starter\Configuration\Configuration_01.ini');
try
res:=ini.ReadStrin('Programm_01', {hier die Funktion zum auslesen});
ShellExecute(Aplicatoin.Handle, 'open, {hier der Progg-Pfad aus der INI} , nil, nil, SW_SHOW);
finally
ini.free;
end;
end;


wie kann ich es realisieren, dass der Button es aus der INI-rausliest und anschließend öffnet?

Gruß
Mike

_________________
o.o
DaBass
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 27.09.03 13:36 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
procedure TForm1.Button1Click(Sender: TObject); 
var 
ini: TIniFile; 
res: String; 
begin 
ini:=TIniFile.Create('C:\Programme\Progg-Starter\Configuration\Configuration_01.ini'); 
try 
  res:=ini.ReadString('Programm_01', {hier die Funktion zum auslesen}); 
  ShellExecute(Aplicatoin.Handle, res , nil, nil, SW_SHOW); 
finally 
ini.free; 
end; 
end;


vermutlich so...
DaBass
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 27.09.03 13:37 
wass ich noch sagen will.....

ich bin der Meinung, das du dich grundsätzlich mal ins Delphi einschaffen solltest... dann müsstest du nicht andauernd Fragen stellen....die eigentlich ganz simpel sind.

Ich hoffe du verstehst was ich meine!!
kongreddgrass Threadstarter
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 238

Win 98, Win 2000, Win Xp Prof.,Linux 8.2 Prof
Delphi 6
BeitragVerfasst: Sa 27.09.03 15:00 
Hi,
ich will mir ja die Bücher bestellen.
Aber mein Vater bracuht soooollllllaaaaannnnnnngeeeeee. :evil:
Ich versteh nicht wieso?
Aber könntest du mir das noch erklären

Gruß
Mike

_________________
o.o
kongreddgrass Threadstarter
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 238

Win 98, Win 2000, Win Xp Prof.,Linux 8.2 Prof
Delphi 6
BeitragVerfasst: Sa 27.09.03 15:01 
UUUuuuppps.
Brauchts mir nicht nochmal erklären.
ich habs übersehen, weil ich dachte, der Beitrag wäre von mir,
aber gut....

Gruß
Mike

_________________
o.o
DaBass
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 27.09.03 15:02 
wollte gerade sagen, das habe ich ja schon gepostet... ;-)
kongreddgrass Threadstarter
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 238

Win 98, Win 2000, Win Xp Prof.,Linux 8.2 Prof
Delphi 6
BeitragVerfasst: Sa 27.09.03 15:07 
Hi,
hab rausgefunden.-
Danke für eure Hilfe.

Gruß
Mike

_________________
o.o
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Mo 29.09.03 09:59 
DaBass hat folgendes geschrieben:
musst doch nicht nochmals den gleichen Post machen den ich schon gemacht habe.. etwa drei posts davor.... auf der vorherigen Seite!!

Den habe ich wohl überlesen.
DaBass hat folgendes geschrieben:
Wenn das normale User machen würden, so würdest du dich ab denen aufregen.. oder??

Warum sollte ich mich darüber aufregen? Aber egal!
kongreddgrass Threadstarter
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 238

Win 98, Win 2000, Win Xp Prof.,Linux 8.2 Prof
Delphi 6
BeitragVerfasst: Mi 01.10.03 17:28 
Uiii,
mein Proggi ist fertig.
Danke für EURE Hilfe.
Wie heißen eigenltich die mail-adressen von meinen Helfern???
Mein Proggi schick ich dann via mail
Aktuell ist Vers. 1.1
DaBass:
Tino:
Terra23:

_________________
o.o
kongreddgrass Threadstarter
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 238

Win 98, Win 2000, Win Xp Prof.,Linux 8.2 Prof
Delphi 6
BeitragVerfasst: Mi 01.10.03 17:29 
Wenn ich meine eigene Web-Seite habe, könnts ihr dann dort runterladen.

_________________
o.o
Terra23
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 872

Win 8
Delphi 7
BeitragVerfasst: Mi 01.10.03 17:40 
Die Mail-Addys findest du immer im Profil, falls vorhanden. Weiterhin gibt's nen Button zum Schicken von Mails.. :-)

_________________
Hasta La Victoria Siempre
DaBass
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 01.10.03 17:42 
unsere mail-adressen findest du in den profilen... ;)
DaBass
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 01.10.03 17:43 
sorry.. war wohl gleichzeitig wie du am schreiben terra23... :oops:
mimi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: Mi 01.10.03 18:23 
ein kleiner tipp:
man sollte nie mit festen verzeinis angeben hantieren.

_________________
MFG
Michael Springwald, "kann kein englisch...."