标题:编译成可执行文件出错时提示错误
只看楼主
kfp_kaka
Rank: 4
等 级:贵宾
威 望:13
帖 子:353
专家分:0
注 册:2006-1-12
 问题点数:0 回复次数:1 
编译成可执行文件出错时提示错误
我做写好了程序后编译成执行文件时提示

请问要怎么做?还有我用 Shell语句要怎么写才能调用.chm帮助文件呢?谢谢~
搜索更多相关主题的帖子: 时提示 文件 编译 chm Shell 
2006-02-12 19:18
小伟的小伟
Rank: 1
等 级:禁止访问
帖 子:122
专家分:0
注 册:2006-1-25
得分:0 
.chm~
用API:ShellExecute
Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long

使用方法:
ShellExecute 0&, "open", "X:\Program Files\Microsoft Visual Studio\MSDN98\98VS\2052\ADO200.CHM", vbNullString, vbNullString, 1

把路径改改就可以了

去这里看看http://bbs.cfan.com.cn/showthread.php?t=270619
你可以学到不少~

2006-02-12 20:44



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-45274-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 2.109355 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved