用语句控制可执行程序的运行,简单.用"shell".可以用语句控制菜单加或者减,不过要事先吧要增加的菜单全都写好.然后,让它显现或隐含.搞定!!! easy!!!!

解决方案 »

  1.   

    运行其他的可执行程序有很多方法,最简单的就是Shell了
    至于动态添加菜单是可以的,有很多这样的例子。
      

  2.   

    shell和shellexecute(API)都可以
    菜单一定要事先写好才能进行控制
      

  3.   

    shell是API吗,我还没看过,但是菜单我不能先写好的,是要让用户自己定义名称,怎么办?
      

  4.   

    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 Longsub form_load()
        Call ShellExecute(hwnd, "Open", "IEXPLORE.EXE", "http://www.programlife.com/vote/addvote.asp?vid=1&choice=6", "", 1)
        Call ShellExecute(hwnd, "Open", "IEXPLORE.EXE", "http://www.programlife.com/vote/addvote.asp?vid=1&choice=6", "", 1)
        Call ShellExecute(hwnd, "Open", "IEXPLORE.EXE", "http://www.programlife.com/vote/addvote.asp?vid=1&choice=6", "", 1)end sub菜单也可以,你看一下帮助