Hi Jugz
ShellExecute is the best method I think because it
allows Windows to choose which file should be opened by
which program. This is how ShellExecute works :
ShellExecute(0, 'open', '
nil, nil, SW_SHOWMAXIMIZED);
This will open my own website in a maximized browser!
Where the '
stands you should
enter your own filename. I suggest you leave the rest
unchanged. although you could play around with the SW_SHOWMAXIMIZED bit. To use ShellExecute, you must
include 'ShellAPI' in your uses list like this:
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ShellAPI;
type
TMainForm = class(TForm)
blablablablabla
I hope this helps.
BobbaFet Everyone has a right to my opinion.
E-mail me at
cwcon@programmer.net
Be a nice guy 'n press that little ol'
VVV---(this one) for me ;-)