TIP: Click on subject to list as thread! ANSI
echo: delphi
to: ERIC SCHREIBER
from: FRANCOIS PIETTE
date: 1997-06-17 17:57:00
subject: Loading associated files

Salut Eric Schreiber !
Dans un message de Eric Schreiber dat‚ du 11 Jun 97  17:36:15 il ‚tait dit:
  ES> In many MDI style programs, such as Word for Windows, when you double
  ES> click on an 'associated' file (*.doc) in Explorer, Word will
  ES> automatically run and load that file.I know how to do this, no
  ES> problem.What's got me stymied is how to load a second file into the
  ES> *same instance* of an MDI app. If Word is already running and I double
  ES> click another *.doc file in explorer, that file gets loaded into the
  ES> already-running Word applicition.Anyone know how to pull this trick
  ES> off in Delphi 1/2/3? Preferably 3.
You application should check if an instance is already running. And if 
yes communicate somehow with it to give the new document name to open, 
then shutdown.
Amiti‚s,
{-Francois Piette-}
francois.piette@ping.be
http://www.rtfm.be/fpiette
--- SvFido 1.32
---------------
* Origin: OverByte BBS (Embourg-Belgium) 32-4-3651395 VFC/V34+ (2:293/2202)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.