callback with non-buildin component error

still 2002-02-07 11:22:05

code as following:
1 Private Sub objNotify_CallBackComplete(ByVal length As Long, info As
Byte)

2 Text1.Text = length
3 l = l + 1
4 If l > 30000 Then
5 l = 0
6 End If

7 Text2.Text = l
8 'RichTextBox1.TextRTF = l
9 putData l

10 End Sub

everything is ok if i replace the "richtextbox" with build in component as
text or list.
if i remark line 7 and make line 8 availbe, the system callback will be
started normally within the vb 6.0 IDE, and if i export it as a .exe file
error will occure during runtime.No error message but the callback halted at line 8.

if i use vb.net everything is ok.

help needed.
thx in advance.
...全文
46 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

743

社区成员

发帖
与我相关
我的任务
社区描述
VB 版八卦、闲侃,联络感情地盘,禁广告帖、作业帖
社区管理员
  • 非技术类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧