473,396 Members | 2,034 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Can't Open VB Editor and VB scrip won't run AFTER reopening database

I created a database, thought all was fine until I quit it and opened it
again. The VB wouldn't run, I couldn't open the editor from design view
of any form, and when I tried to open it through the menu, all I would
get is a corrupted window (no scroll up button, no way to access the
Project Explorer) containing just the one module I had, but I couldn't
get to the Class Objects.

I tried to compact and repair it, and decompile (that crashed Access).

I then made a copy, set the Has Module property for all forms to No,
imported everything into a new database, and wrote the code again (this
time I exported all the class objects and the module before quitting in
case I need them later). It was working fine until I quit it and opened
it up again.

Something else I tried (well I've tried all sorts of things) was to
import just the tables and queries into a new database, create new
forms, and copy and past the form objects on to them. I then copied and
pasted the script back into the Class Objects. I thought there might
have been something that was corrupted in one of the forms, and this was
a way to avoid it. No joy.

From much playing, I've come to the conclusion (I think) that if I
import anything from this database into a new one, it will screw up the
new one in the same manner.

What's left to try? I'm not starting again so I'm prepared to give this
up, it was just a more improved version of an already existing database
I'm using personally - for me only, in my job.

Thanks in advance.
Nov 12 '05 #1
0 1400

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: brazilnut52 | last post by:
I am going to outline the steps I go through to produce the problem. Hopefully this will help you understand the problem better I have created a simple COM DLL in .NET by using the COM class...
4
by: Max Harvey | last post by:
Hi, I have looked at the example called "Open Parameter queries from code" from the site http://www.mvps.org/access/queries/qry0003.htm I made up a test which I though looked pretty close...
9
by: Mike Bridge | last post by:
I am using MS Access 2003, and I typed in a query in SQL view which was working fine. Now when I open it, it gives me the error "Join expression not supported". Apparently, Access "fixed" it for...
17
by: MLH | last post by:
A97 Topic: If there is a way to preserve the values assigned to global variables when an untrapped runtime error occurs? I don't think there is, but I thought I'd ask. During development, I'm...
3
by: Beeeeeves | last post by:
In the C# text editor within VS.NET, it always draws red wavy lines underneath any syntax that's invalid and won't compile, as you're typing the text. I find this really annoying, as it's not going...
1
by: _DG | last post by:
Re VS2005 editor in Emacs mode (options->env->keyboard mapping) First of all, there are very few editor options for formatting C/C++ code. Only three option pages. C# has about 10, I believe....
1
by: Tim Marshall | last post by:
Does anyone else get "ghost" VB editor windows appear on their computers when developing in Access 2003? These are VB editor windows with no menu items and a grey empty background. I usually...
1
by: dkintheuk | last post by:
Hi all, Just had the wierdest thing happen overnight to one of my databases. I have a frontend/backend set up with the front end under development on my machine. I was copying a load of old...
9
by: Peri | last post by:
Dear All, I have written a common array class which has insert, search and other functions. For Example (Code in VB.NET): ' Client Class Public Class Client Public ClientCode As String ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...

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.