制作含access数据库的安装程序,急

来源:百度知道 编辑:UC知道 时间:2024/05/24 15:02:28
如何制作含access数据库的安装程序,或者提供一个有步骤学习的网站?要详细

http://topic.csdn.net/t/20020522/13/743044.html 网站在这里

你把所需要的文件(EXE、DLL等)最好都放到你自己程序的安装文件夹里,不要放到系统目录,这样移动也方便, 另外还要注册数据源

我这有一个自动注册ODBC数据源的例子,就是注册的ACCESS数据库,虽然不是PB8但都一样,只是DLL文件取PB8里的就行了

外部公共函数(global external functions)
//得到当前路径
public Function Long GetCurrentDirectoryA(long nBufferLength, ref string lpBuffer) Library "kernel32";
//得到年的农历表示
function long MyFormatLunarYear(long iYear,ref string text) library "calendar.dll"
//得到日的农历表示
function long MyGetLunarDate(long iYear, long iMonth, long iDay, ref long iLunarYear, ref long iLunarMonth, ref long iLunarDay) library "calendar.dll"
//得到某日的农历节气序号
function long getjieqi(long iYear, long iMonth,