I have write a program which is used to compare two database with same structure and then write the compare
result to the text file and finanlly, use vb Mail control to email the text file.
The problem is when I run all the database (more than 1000 records), the program runs to the "mail1.action=connect" and
then without no action.
but, if it only run less records(20 records), it can email the text file.

vbqa 發表在 痞客邦 留言(1) 人氣()

用API來寫,使用API檢視員將下列宣告貼到Module1.bas上
Public Declare Function GetPrivateProfileInt Lib "kernel32" Alias "GetPrivateProfileIntA" (ByVal lpApplicationName As String, ByVal lpKeyName As String, ByVal nDefault As Long, ByVal lpFileName As String) As Long
Public Declare Function WritePrivateProfileString Lib "kernel32" Alias "WritePrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpString As Any, ByVal lpFileName As String) As Long
為何使用的時候都無效呢?
如果我使用內建的Getsetting和Savesetting函數則沒有問題

vbqa 發表在 痞客邦 留言(1) 人氣()

我已由網路取得 True DBGrid 6.0 Pro 的體驗版來進行測試,
想請教有使用經驗的先進,該如何用它來作訂單明細(多筆)輸入,
必須選用那一種 data mode, 有那些屬性,方法,事件可搭配使用.
是否有範例可供參考.
謝謝

vbqa 發表在 痞客邦 留言(1) 人氣()

for example
data1.recordsource = "select XX from XX where date >= #date$()#"
why always can't compile?
error message: date return error something like that...
請指點! 多謝!

vbqa 發表在 痞客邦 留言(1) 人氣()

發言者: 鬼塚 時間: 04/03/00 19:31:04 來自: 168.95.0.41
如何用VB來控制電腦外的世界?
例如控制電風扇,電燈..
須要什麼硬體呢?
--------------------------------------------------------------------------------

vbqa 發表在 痞客邦 留言(3) 人氣()

Dim number(5) As Long
Dim value() As Long
Private Sub Form_Load()
number(0) = 1
number(1) = 6

vbqa 發表在 痞客邦 留言(0) 人氣()

請教了!
利用vb何種函數可偵測fields屬性?
thank !

vbqa 發表在 痞客邦 留言(2) 人氣()

請問各先進
1.有沒有installShield的說明網站?
2.有沒有介紹vb封裝網站?

vbqa 發表在 痞客邦 留言(1) 人氣()

Hi,
Could anyone teach me how to make self-defined vertical scroll bar in rich text box whose scroll value is corresponding to the line no. in the text box? i.e.the scrolling function of the self-defined vsb behaves in the similar way to that of notepad. I know how to use API to get no. of line in rich text box, but don't know how to use the no. of line to write self-defined vsb.
Thx.

vbqa 發表在 痞客邦 留言(0) 人氣()

程式中用DataReport.PrintReport True Run時會出現[印表視窗]
選擇其中一台非預設的印表機,發現紙張的寬度與長度並非在當初
新增印表機設定時的值,而出現的是預設印表機上的值,該如何解決?

vbqa 發表在 痞客邦 留言(0) 人氣()

本人於公司內安裝 自行設計之程式(VB6撰寫), 有些電腦可正常執行
有部份卻出現下列錯誤訊息:
執行階段錯誤'-2147467259(80004005)':
 資料提供者或其他服務回傳電子郵件狀態
請問高手需如何解決, 萬分感謝.

vbqa 發表在 痞客邦 留言(1) 人氣()

如何讓其中的一欄連結到其它的資料表,就是說它本身的datasource已經指定至adodc1,那我要其中的一個欄位的內容連結到adodc2,要如何做呢?

vbqa 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。