473,396 Members | 1,714 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.

VB error: this will reset your project do you want to proceed anyway

Hi Gurus

Whenever I start making changes in VB (without having anything open), the
first time after opening the application, i will get the following error:

This will reset your project do you want to proceed anyway?

Why would I get this??? I just have no idea.
Nov 13 '05 #1
10 3294
WindAndWaves wrote:
Hi Gurus

Whenever I start making changes in VB (without having anything open),
the first time after opening the application, i will get the
following error:

This will reset your project do you want to proceed anyway?

Why would I get this??? I just have no idea.


I think you would get that if you're stepping through code and then make a
change to code at that point. If you stop the debugging and use the VB/VBA
editor as normal you should not get that message.
Nov 13 '05 #2
You will get this message if there is code that is running (may be paused)
or has run but is still holding data in memory. Are you loading any "global"
variables when you open the application?

--
Wayne Morgan
Microsoft Access MVP
"WindAndWaves" <ac****@ngaru.com> wrote in message
news:hS*****************@news.xtra.co.nz...
Hi Gurus

Whenever I start making changes in VB (without having anything open), the
first time after opening the application, i will get the following error:

This will reset your project do you want to proceed anyway?

Why would I get this??? I just have no idea.

Nov 13 '05 #3
If coed is running you can get this message, if you have not specifically
run code have a look to se if a form is open which has a timer event firing.
--
Terry Kreft
MVP Microsoft Access
"WindAndWaves" <ac****@ngaru.com> wrote in message
news:hS*****************@news.xtra.co.nz...
Hi Gurus

Whenever I start making changes in VB (without having anything open), the
first time after opening the application, i will get the following error:

This will reset your project do you want to proceed anyway?

Why would I get this??? I just have no idea.

Nov 13 '05 #4
Hi Guys

I have read all of your replies, but I must say that I started the
application with the shift key down and then went straight into my editor...
Nov 13 '05 #5
WindAndWaves wrote:
Hi Guys

I have read all of your replies, but I must say that I started the
application with the shift key down and then went straight into my
editor...


Well I'm not sure but;

Can you recreate this problem with a fresh database?
Have you tried compiling first? How about a compact and repair?

I've had a look at the VBA options in Access 2000 but I can't see anything
that you could uncheck. It would be worthwhile seeing if other databases
are affected, you want to rule out a general Access problem before you
continue work.
Nov 13 '05 #6
If there are any "global" variables in your modules, they will be loaded
even if you hold down the shift key.

--
Wayne Morgan
MS Access MVP
"WindAndWaves" <ac****@ngaru.com> wrote in message
news:%w*****************@news.xtra.co.nz...
Hi Guys

I have read all of your replies, but I must say that I started the
application with the shift key down and then went straight into my editor...

Nov 13 '05 #7
I don't think I have any global variables. You need to have the word global
with them - do you not?
Nov 13 '05 #8
No, you don't need the word "global". A "global" variable would be one that
is available for use anywhere in the database. It would be declared as
"Public". These are frequently, but not always, declared in the declarations
section of a standard module.

--
Wayne Morgan
MS Access MVP
"WindAndWaves" <ac****@ngaru.com> wrote in message
news:zf*****************@news.xtra.co.nz...
I don't think I have any global variables. You need to have the word global with them - do you not?

Nov 13 '05 #9
"WindAndWaves" <ac****@ngaru.com> wrote in message news:<zf*****************@news.xtra.co.nz>...
I don't think I have any global variables. You need to have the word global
with them - do you not?


I believe you use the keyword *public* in the variable declarations
section of a module, as in:

Public strSomeString as String

Now any procedure in any module in the project can access
strSomeString.

for more info, see "Understanding Scope and Visibility" in VBA help.

hth
-s
Nov 13 '05 #10
thanks for that I will check that out, because I feel I still have to learn
a few bits and pieces there.
Nov 13 '05 #11

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

Similar topics

4
by: Dushyant | last post by:
Hi everyone, I want to convert a VB.NET project into a dll. How it can be done ? What is the procedure to do this ? All the responses are welcome. regards,
15
by: M Smith | last post by:
I have a form I want to submit to itself. I want to be able to type in a list of numbers and submit the form and have that list show up on the same form under the text box I typed them into and...
67
by: Steven T. Hatton | last post by:
Some people have suggested the desire for code completion and refined edit-time error detection are an indication of incompetence on the part of the programmer who wants such features. ...
8
by: Razak | last post by:
Hi, I have a class which basically do Impersonation in my web application. From MS KB sample:- ++++++++++++++++++++code starts Dim impersonationContext As...
7
by: Kath | last post by:
Hi, I hope this is the most relevant newsgroup for this post. I have a VB.NET app that uses the MapPoint component, and in my app I use pushpins to display/retrieve GPS locations....
23
by: deathtospam | last post by:
A day or two ago, I wrote a quick ASPX page with a CS codebehind using Visual Studio .NET 2005 -- it worked, I saved it and closed the project. Today, I came back to the project, reopened the...
3
by: steve | last post by:
Hi All I have a VB.net 2005 app which uses MS Report Viewer to create reports Occassionally I get the following error when changing to a different report User code running on thread 196 has...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
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: 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?
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
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,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...

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.