coba dengan shellexecute

contoh:

procedure OpenDocument(const handle:HWND;const
DocName:string);
begin
  ShellExecute(handle,'open',pchar(DocName),nil,nil,
SW_SHOWNORMAL);
end;

contoh penggunaan
open html di default web browser:

OpenDocument(Form1.Handle,'index.html');

open doc word di MS-Word:

OpenDocument(Form1.Handle,'document.doc');

--- agung p m <[EMAIL PROTECTED]> wrote:

> minta tolong nih
>
> aku mo buka file html dan word lewat delphi
>
> ceritanya gini lho , aku kan buat report dan aku
> simpan di html, nah gimana agar delphi bisa membuka
> file html bila diperlukan (membukanya  bukan di
> dalam
> form delphi  tetapi di dalah internet eksplorer)
>
> begitu juga untukmicrosoft word
>
>
________________________________________________________________________
> Yahoo! Messenger - Communicate instantly..."Ping"
> your friends today! Download Messenger Now
> http://uk.messenger.yahoo.com/download/index.html
>



           
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com


Berlangganan: [EMAIL PROTECTED]
Stop Berlangganan: [EMAIL PROTECTED]
Keluhan Milis(Unbouncing,spam,dll): [EMAIL PROTECTED]



Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=298184.5639630.6699735.3001176/D=groups/S=:HM/A=2434971/rand=588866853


Yahoo! Groups Links

Kirim email ke