vfb查询excel
摘要:visual free basic 通过ado连接excel文件。注意程序的位数和驱动程序的位数要保持一致。 #include once "Afx/CADODB/CADODB.inc" DIM pRecordset AS CAdoRecordset Dim r As CVAR = "" Dim f
阅读全文
vfb运行js
摘要:利用mshtml在visual free basic里执行js. #include once "Afx/CDispInvoke.inc" DIM pdom AS CDispInvoke = "HTMLFILE" IF pdom.DispPtr = NULL THEN END Else Print "
阅读全文
如何获取电脑操作系统的时区
摘要:vba通过API函数获取电脑操作系统的时区。 #If Win64 Then Private Declare PtrSafe Sub GetTimeZoneInformation Lib "kernel32" (lpTimeZoneInformation As TIME_ZONE_INFORMATIO
阅读全文