Error Can't find Project or Library ????

Hi
I hav a vb app in VB5
I formatted my harddive and u know did the reinstall thing.
well now when i run my program inside vb it is fine
But if i try to make an Exe file it gives me this error
"Can't find project or Library"

and then it takes me to this line were i am using the mid function
1) TempMinS = CInt(Mid(TempETimeS, 4,2))                                                        
This line is above it and it does not give me the error on left only on mid and right
TempHourE = CInt(Left(EndTime, 2))

Now i went to the object browser and checked which library mid belongs to and it is the VBA5.dll and i have it loaded in my references part of my project

Help
Thanx Craig
LVL 4
CraigLazarAsked:
Who is Participating?
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
Try to add "VBA" before your Mid, Left, Right, ... functions (like vba.mid).

This specifies in which library to look for your functions.


0
 
CraigLazarAuthor Commented:
Thanx mate do u know why it started doing that ?

Craig
0
 
Éric MoreauSenior .Net ConsultantCommented:
I never find why, but we often see this problem when we have to reinstall some packages.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.