By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,473 Members | 3,292 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,473 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
10 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
"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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.