can anyone tell me how i launch a word document from my application. The
idea is that the word document will be a letter and it will contain the name
and address fields imported from the application. The application itself is
linked to an access database. Any help with this would be greatly
appreciated.
Shaun
Use the function SHELLEXECUTE with the name of your document.
to do this, Create PCHAR variables for the following:
1) Full Path Name to the file.
2) Directory of the file.
Use the function like this :
ShellExecute(Handle, 'open', <your first PCHAR., null, <your second PCHAR>,
SW_SHOWNORMAL).
if you have problems feel free to e-mail me