IShellExecuteHook untuk memonitor Windows Explorer
January 23, 2009 at 5:34 pm | In Code Samples, Tutorials | 2 CommentsTags: IShellExecuteHook, shellexecute, shellexecuteex, windows shell programming
Oleh Zamrony P. Juhara
Tulisan ini sebenarnya untuk menjawab pertanyaan [Delphindo] menangkap jenis file yang diklik di Windows Explorer yang diajukan member Delphindo. Saya asumsikan paling tidak Anda telah punya sedikit pengetahuan mengenai teknologi Component Object Module (COM) yang dikembangkan oleh Microsoft. Demo artikel ini saya tulis menggunakan Turbo Delphi Explorer yang bisa Anda peroleh gratis. Untuk kompiler Delphi versi lain, caranya hampir sama.
Problem memonitor eksekusi Windows Explorer
Untuk memonitor aktifitas eksekusi program pada Windows Explorer, Anda harus membuat COM server dan membuat implementasi interface IShellExecuteHook. COM server ini selanjutnya Anda daftarkan agar dijalankan tiap kali ShellExecute() atau ShellExecuteEx() dijalankan.
Continue reading IShellExecuteHook untuk memonitor Windows Explorer…
Mengambil source code HTML dari TWebBrowser
January 17, 2009 at 1:49 pm | In Code Samples, Tutorials | Leave a CommentTags: delphi programming, HTML, IHTMLElement, outerHTML, source code, TWebBrowser
Oleh: Zamrony P. Juhara
Tips ini saya tulis untuk menjawab pertanyaan di mailing list Delphindo tentang bagaimana mendapatkan source code HTML website yang telah dimuat dalam kontrol TWebBrowser.
Setelah saya dapat konfirmasi bahwa kode yang saya posting di mailing list Delphindo bekerja, saya posting di sini agar informasinya mudah ditemukan.
Continue reading Mengambil source code HTML dari TWebBrowser…
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.