请问如何在DELPHI中调用VB程序?

解决方案 »

  1.   

    使用api函数ShellExecuteEX,ShellExecute就可以了
      

  2.   

    WinExec也可以:
    WinExec("FileName",1)
      

  3.   

    ShellExecute(handle,PChar('你的程序文件名称'),nil,nil,SW_NORMAL);
    大概是这样的吧,你查一下帮助。

    CreateProcess();......

    winexec('程序名称');不过这是16位的,不推荐。
      

  4.   

    使用api函数ShellExecuteEX,ShellExecute就可以了
      

  5.   

    呵呵,大家都说了。我也只能添一脚了。
    :)
    因为没办法直接用代码,如果没做成DLL的话,就把它做成EXE,然后用winexec,shellexecute,一般放在一个文件夹。找到当前文件夹ExtractfilePath(Application.ExeName);