473,796 Members | 2,524 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic Compile error

For about the past month, whever I start Excel of try to open an Excel file, I get a Visual Basic popup window: Compile Error: Can't find project or Library. I have no idea why I'm getting this message of how to prevent the 7 or so popup windows. After I close each window, I get a message saying that "debugger will stop".

How can I prevent this error in the first place? I have Windows XP, Office 2003.

Thanks in advance!
Jan 26 '08 #1
3 1390
NeoPa
32,579 Recognized Expert Moderator MVP
I would guess, from the little information here, that something is incorrectly set up on your PC.
Have you tried googling the exact error message?
Have you tried opening Excel without opening any file?
Jan 26 '08 #2
I would guess, from the little information here, that something is incorrectly set up on your PC.
Have you tried googling the exact error message?
Have you tried opening Excel without opening any file?
I did try Google and that lead me to this forum.

I get the same thing just starting Excel without opening any file. By the way, after I close the 6 or 7 visual basic windows that opened, I can open any Excel file as normal.

I would be happy to post more info, but I don't know what else to write. I've never even used Visual Basic before. I'm not trying anything fancy - I just want to use Excel without the Visual Basic compile error each time.

Thanks!
Jan 27 '08 #3
NeoPa
32,579 Recognized Expert Moderator MVP
OK, so the full and entire error message, repeated several times exactly the same, is :
Compile Error: Can't find project or Library
That's very little to go on I'm afraid (not untypical I'm sorry to say).
As far as other information is concerned, there may well be none. This doesn't mean it's going to be any easier to fix though. In an information vacuum, regardless of whose fault it may be, there's just so little we can do to help.
All I can suggest is to re-install your Excel (or Office). This may (hopefully) have some beneficial effect.
Unfortunately, there are so many factors that could be involved.
Jan 27 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
21253
by: James Carter | last post by:
I'm a newbie to Visual Basic. I have been recently working with text files, but for some reason my computer gives me an error: "Compile Error: User Defined Type Not Defined". It highlights fso as new filesystemobject. An example of the code is: Private Sub Command1_Click() Dim fso as new filesystmobject, txtfile My operating system is Windows XP Home Edition. I already have scrrun.dll. I am using Visual Basic 6.0 Standard Edition....
5
7235
by: K. Shier | last post by:
when attempting to edit code in a class file, i see the bug "Visual Basic ..NET compiler is unable to recover from the following error: System Error &Hc0000005&(Visual Basic internal compiler error) Save your work and restart Visual Studio .NET." has anyone seen this bug and can you confirm one way or the other whether or not it can corrupt your source files? (by 'corrupt' i mean: do anything to it that will cause it to fail to load and...
1
1909
by: nicole bissell | last post by:
Hello, I am working in a new form and still making changes to the visual basic code of the form. Not always, but very often when I try to save my changes in the visual basic window and press the icon, this window closes(without saving) and the whole database, too. I already tried to switch everything in a new form and error occurs again after starting to work in the visual basic code of this specific form not in others and I did...
26
10885
by: Bruno Jouhier [MVP] | last post by:
I'm currently experiencing a strange phenomenon: At my Office, Visual Studio takes a very long time to compile our solution (more than 1 minute for the first project). At home, Visual Studio compiles the same solution much faster (about 10 seconds for the first project). My home computer is only marginally faster than the one I have at the office (P4 2.53 vs. P4 2.4, same amount of RAM). On the slow machine, the CPU usage is very low,...
6
3093
by: Dusan Jan | last post by:
I get the following message when compiling or by background compile: Visual Basic .NET compiler is unable to recover from the following error: System Error &Hc0000005& (Visual Basic internal compiler error) Save your work and restart Visual Studio .NET. I have browsed for this issue and there are several reports on this. One claim that there is a kb article on this that asks to call MS for a patch. But no link to that article works.
9
7702
by: slimicus | last post by:
The IDE crashes about every 10-20 minutes for me.. its been doing this ever since I started this project (The project was a 2003 project but I recreated it in 2005) When it crashes, its usually after I close the app I'm testing.. lets say I'm debugging the app, and I get an exception, and I have to stop the execution for whatever reason, after that, next time I try to compile (as in either Build or Build in Run, or even build a setup...
11
2300
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
I have seen the terms Visual Basic 2005 and VB.NET. It seems that sometimes they seem to be referring to the same thing but sometimes they are not. I also run into terms like VB9 and VB10.
10
2710
by: kimiraikkonen | last post by:
Visual C#.NET 2005 express has some issues, unlike VB.NET 2005 has none of them: The most annoying one is: For example if there's a coding error, it must be reported at the buttom of the screen in "error list" "REAL-TIME". At least, that was like that in VB.NET 2005 express. But in Visual C# .NET 2005 you won't be able to aware of coding errors till you press "play" build & run button.
0
7338
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the beginning CIS student who is struggling to get their programs working. I work in the computer lab at the college I'm attending and I see many students who don't know how to use the IDE for best results. Visual Studio automatically creates a number of...
0
9679
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9527
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10453
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10223
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10003
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9050
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7546
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5573
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.