• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 914
  • Last Modified:

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

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

Thanx Craig
  • 2
1 Solution
Éric MoreauSenior .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.

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

Éric MoreauSenior .Net ConsultantCommented:
I never find why, but we often see this problem when we have to reinstall some packages.
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.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now