Autor Beitrag
hansdergott
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 55

XP Mediacenter Edition; XP Home
Delphi
BeitragVerfasst: Mo 31.12.07 20:46 
hi

ich fange mit paramstr den dateinamen der mp3 datei ab wenn ich sie öffnen
will aber wenn ich beim laufendem player eine andere datei öffnen will
läd immer das programm in einer neuen anwendung

wie schaffe ich es das die datei mit dem jetzigem programm öffnet

und wie schaffe ich es in einer listbox einen dateinamen reinzuziehen wie es beim
wmediaplayer der fall ist

beste grüße
Xion
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
EE-Maler
Beiträge: 1952
Erhaltene Danke: 128

Windows XP
Delphi (2005, SmartInspect), SQL, Lua, Java (Eclipse), C++ (Visual Studio 2010, Qt Creator), Python (Blender), Prolog (SWIProlog), Haskell (ghci)
BeitragVerfasst: Fr 04.01.08 23:38 
hi,

Datei mit gleichem Programm öffnen:
per doppelklick wird ein neues Programm geöffnet. Um jetzt nur eins laufen zu lassen musst du gucken, ob dein Programm schon läuft (siehe Forum). Wenn ja, dann schickst du ihm via message den Dateinamen und machst das Programm wieder zu.

ListBox:
Suche in der Entwickler-Ecke DRAGACCEPTFILES

_________________
a broken heart is like a broken window - it'll never heal
In einem gut regierten Land ist Armut eine Schande, in einem schlecht regierten Reichtum. (Konfuzius)
Fabian E.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 554

Windows 7 Ultimate
Visual Studio 2008 Pro, Visual Studion 2010 Ultimate
BeitragVerfasst: Fr 04.01.08 23:58 
und zum thema nur einmal starten werfe ich jetzt einfach mal Suche in der Entwickler-Ecke MUTEX in die runde.

gruß
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8548
Erhaltene Danke: 477

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Sa 05.01.08 10:31 
Und ich werf ein Suche in der Entwickler-Ecke ONEINST in die Runde. Gibts unter Nicos Importe auf Luckies Homepage. Einfacher gehts glaube ich nicht in der Anwendung :D.

_________________
We are, we were and will not be.