现在通过程序实现了filelistbox中显示后缀为.doc的文件名,我想通过双击其中的word文件名能够打开这个word文档,哪位高手能给段代码,多谢了!!

解决方案 »

  1.   

    Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Longshellexecute 0,"open",文件名........
      

  2.   

    怎么看不懂啊,我filelistbox中的文件名不是固定不变的,选不同的按钮时显示的是不同文件夹里的word文件名。
      

  3.   

    一个MMControl1控件怎么才能激活File1listbox中的文件
    比如说MP3文件
    谢谢了