要像IE一样,就用shellexecute再启动自身一次
要像腾讯一样就,动态创建一个Tabsheet,当然里面要包括一个twebbrowser

解决方案 »

  1.   

    ie本来就是完全的基于com,没打开的一个ie窗口实际上就是一个com实例!
      

  2.   

    能不能将execute的用法说一下,谢谢!
      

  3.   

    HINSTANCE ShellExecute(    HWND hwnd, // handle to parent window
        LPCTSTR lpOperation, // pointer to string that specifies operation to perform
        LPCTSTR lpFile, // pointer to filename or folder name string
        LPCTSTR lpParameters, // pointer to string that specifies executable-file parameters 
        LPCTSTR lpDirectory, // pointer to string that specifies default directory
        INT nShowCmd  // whether file is shown when opened
       );
     
    例子   shellexecute(handle,'open',pchar(c:\oicq.exe),nil,@rundir,SW_NORMAL);
      

  4.   

    噢。c:\oicq.exe还要加 单引号