两个应用程序间如何进行连接?(100分)

X

xilan

Unregistered / Unconfirmed
GUEST, unregistred user!
在DELPHI中能不能在第一个应用程序中单击某个按钮打开第二个应用程序,如果可以,怎样
写代码?
 
ShellExecute(GetDesktopWindow, 'open', 'http://www.343.com', nil, nil, 0);
记得添加ShellAPI单元.
 
我是新手,能说的具体点吗?ShellExecute(GetDesktopWindow, 'open', 'http://www.343.com', nil, nil, 0);
的具体含义是什么?在DELPHI的帮助中怎么找不到这个函数?
 
在uses中加入shellapi单元,按F1你就可以看到帮助了
 
卷起千堆雪tyn
你好,我是新手,能说的具体点吗?ShellExecute(GetDesktopWindow, 'open', 'http://www.343.com', nil, nil, 0);
的具体含义是什么?在DELPHI的帮助中怎么找不到这个函数?
 
commons_sheng:
F1中没有呀!
 
procedure TForm1.Button1Click(Sender: TObject);
begin
ShellExecute(GetDesktopWindow, 'open', 'http://www.343.com', nil, nil, 0);
end;

在uses里添加ShellAPI单元
就是你点击BUTTON1,弹出一个IE窗口。
其中的'http://www.343.com'可以用你应用程序的路径来代替!OK?
 
这个问题讨论了很多了;你查查过去的问题(注意查已答的)
一般关键字为“如何在程序中打开另一个程序!!”“如何调用XX程序”
帖子不下100个
 
卷起千堆雪tyn:
谢谢你,我能不能知道你的信箱地址,我想以后有很多问题想请教您!
 
用ShellExecute在以前问题里查询!
 
顶部