PDA

View Full Version : Gọi help từ menu



Goldmonkey
09-09-2004, 23:00
Các cậu ơi làm ơn chỉ minh cách mở một tập tin .chm khi click vào một menu item

daem0n
10-09-2004, 04:29
Dùng class Process nhe. Đây là ví dụ bằng C# (VB.NET tương tự)

using System.Diagnostics;
...
Trong sự kiện click của menu:
Process myProcess = new Process();
myProcess.StartInfo.FileName = myDocumentsPath + "\\MyFile.chm";
myProcess.Start();