General discussion

Locked

Help Me to Cancel this Error In VB6

By khalid ·
I Have Install VB6 on my PC and i start to make a small program
but when i write code like this :

Static numpress As Integer
Dim pos As Long
countrecord = Data1.Recordset.recordcount

the vb giveing me this error :
(( can't find project or library ))
also it's give same message if i use Date Function

if i write : dim countrecord as integer
it will work but before that i mean in the old program i had maked it was
work very well and i don't know what's wrong now

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Help Me to Cancel this Error In VB6

by Peyison In reply to Help Me to Cancel this Er ...

In you new program - have you created a reference to the database component you are using? (probably DAO or ADO).

Choose Project -> References and select either:

Microsoft ActiveX Data Objects 2.x Library

or

Microsoft DAO 3.x Object Library

Hope this helps.

Collapse -

Help Me to Cancel this Error In VB6

by khalid In reply to Help Me to Cancel this Er ...

Thank Very Much for your help
and i know what you says But the problem
it was that library is correpted

Collapse -

Help Me to Cancel this Error In VB6

by khalid In reply to Help Me to Cancel this Er ...

This question was closed by the author

Back to Web Development Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums