在VB里可能你用shell会更好一点
Shell ("notepad.exe c:\boot.ini")
如果用shellexecute 
ShellExecute Me.hwnd, vbNullString, "c:\boot.txt", vbNullString, vbNullString, 
SW_SHOWNORMAL
也行。但前提是文件类型有关联的。。
WinExec "notepad.exe c:\boot.ini", 10这种也可以