?
Solved

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

Posted on 1999-01-11
3
Medium Priority
?
909 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

752 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