?
Solved

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

Posted on 1999-01-11
3
Medium Priority
?
912 Views
Last Modified: 2008-02-01
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
0
Comment
Question by:CraigLazar
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 200 total points
ID: 1455365
Try to add "VBA" before your Mid, Left, Right, ... functions (like vba.mid).

This specifies in which library to look for your functions.


0
 
LVL 4

Author Comment

by:CraigLazar
ID: 1455366
Thanx mate do u know why it started doing that ?

Craig
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 1455367
I never find why, but we often see this problem when we have to reinstall some packages.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question