使用ShellExecute在uses中要加入什么?

camlovecam 2005-08-03 01:27:39
ShellExecute(Handle,'open','iexplore.exe',PChar(网址),nil,SW_NORMAL)
出现如下提示:

Build
[Error] biduiunit.pas(154): Undeclared identifier: 'ShellExecute'
[Fatal Error] Project1.dpr(5): Could not compile used unit 'biduiunit.pas'
===
是不是在uses中要引用东东?谢谢.
...全文
488 18 打赏 收藏 转发到动态 举报
写回复
用AI写文章
18 条回复
切换为时间正序
请发表友善的回复…
发表回复
herman~~ 2005-08-05
  • 打赏
  • 举报
回复
uses shellapi
oushengfen 2005-08-05
  • 打赏
  • 举报
回复
ShellExecute(Handle,'open','iexplore.exe',PChar(网址),nil,SW_NORMAL)
你这个写法也正确吗
wooxer 2005-08-05
  • 打赏
  • 举报
回复
uses ShellAPI
cdsgajxlp 2005-08-05
  • 打赏
  • 举报
回复
在ShellExecute 按 F1 能找到单元
cdsgajxlp 2005-08-05
  • 打赏
  • 举报
回复
点开始->程序->Borland Delphi 7->Help->MS SDK Help Files->ISAPI Programmer's Reference

然后输入 ShellExecute
如果能找到的函数,都要ShellAPI
bnabinge 2005-08-05
  • 打赏
  • 举报
回复
ShellAPI
Teng_s2000 2005-08-04
  • 打赏
  • 举报
回复
来晚了啊
还是顶一下吧!
syfly739 2005-08-04
  • 打赏
  • 举报
回复
ShellAPI
faytp 2005-08-04
  • 打赏
  • 举报
回复
shellapi;
g961681 2005-08-04
  • 打赏
  • 举报
回复
呵呵~
ly_liuyang 2005-08-03
  • 打赏
  • 举报
回复
SHELLAPI

_____________________
http://lysoft.7u7.net
opqhjb_2002 2005-08-03
  • 打赏
  • 举报
回复
UP
jkx01whg 2005-08-03
  • 打赏
  • 举报
回复
ShellAPI
camlovecam 2005-08-03
  • 打赏
  • 举报
回复
嗯,上面的对的.
我可以再问一下么.
ShellExecute(Handle,'open','iexplore.exe',PChar(网址),nil,SW_NORMAL)
这个是点了按钮后出来新的窗口,我想是出来的网页能不能出现在
WebBrowser1里面,怎么做?
xixuemao 2005-08-03
  • 打赏
  • 举报
回复
顺便说一下:

以后这样的问题可以自己去查帮助的.......
ali30 2005-08-03
  • 打赏
  • 举报
回复
...
...
implementation
uses ShellAPI;
...

给分吧
xixuemao 2005-08-03
  • 打赏
  • 举报
回复
shellapi
merkey2002 2005-08-03
  • 打赏
  • 举报
回复
uses shellapi

2,496

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 数据库相关
社区管理员
  • 数据库相关社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧