[问题]创建一个EXE执行文件的快捷方式并放到桌面上?
日期:2007年7月21日 作者: 查看:[大字体 中字体 小字体]-
[解答](魔岩工作室 Rock Studio)
用budapi.u32吧,简单实用的两个函数baMakeShortcut和baMakeShortcutEx:
Result := baMakeShortcut( FileName , Path , Title )
Creates a Win 95/NT shorcut.
FileName is the file the shortcut points to.
Path is the location for the shortcut to be created in.
Title is the name to give the shortcut.
Returns 1 if made sUCcessfully, else 0.
Only works in 32 bit.
Result := baMakeShortcutEx( FileName, Path, Title, Args, WorkDir, Icon, IconNumber, Hotkey, State )
Creates a Win 95/NT shorcut.
FileName is the file the shortcut points to.
Path is the location for the shortcut to be created in.
Title is the name to give the shortcut.
Args is the arguments for the shortcut.
WorkDir is the working dirctory.
Icon is the name of the icon file.
IconNumber is the number of the Icon to use.
Hotkey is the virtual key code of a hot key.
State is the state of the window.
Returns 1 if made successfully, else 0.
Only works in 32 bit.(出处:网侠)
-
- [问题]创建一个EXE执行文件的快捷方式并放到桌面上? 相关文章:
- [问题]创建一个EXE执行文件的快捷方式并放到桌面上? 相关软件
- 特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作
- 者.文章版权归文章原始作者所有.对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转
- 载的文章有版权问题请联系编辑人员,我们尽快予以更正. 转载请注明来源:http://www.hackhome.com
下一篇:[问题]aw中插入网页的方法
精品推荐
热点TOP10
- ·IE中运行Authorware作品
- ·数据库的应用--authorware
- ·Authorware课件触网
- ·Authorware自制拼图游戏
- ·实例演练Authorware(1)
- ·如何调用默认浏览器打开Html文件?
- ·让您的课件赶上共享班车 - 浅谈用Authorware制作软件注册程序
- ·authorware中进度条制作方法
- ·箭头飞向靶心(上)
- ·Authorware问答篇-技巧及问题集锦
- ·Authorware三个应用实例
- ·authorware网站集锦
- ·如何自动动态改变用户的电脑屏幕分辨率设置,以适合AW作品的全屏幕展示?
- ·箭头飞向靶心(下)
- ·制作自检测在线答题系统
- ·十五分钟学会制作测验题
- ·几何画板中几种函数的妙用
- ·一面冉冉升起的旗
- ·Authorware>实践总结
- ·屏蔽键盘功能键和隐藏任务栏
