semi colon in name eg. .mpp:2 - Reply to Rod Gill

N

NG_AU

Hi Rob

Well here I go again !!!!

I replied to your post & it just goes missing :(

So sorry to muck you around but I started a new post.

The activate event runs immediately before the filename:2 appears.

But this code is working fine in Word & Visio as it is only creating a menu
with a number of options.

So it cant be this code :)

Plus it is only after the project opens the 1st time that this happens, if I
ALT -TAB to another application & ALT - TAB back which fires activate then I
dont get filename:2.

That is why I need to know what the deal is with the cloned filename:2 ????

TIA

NG
 
R

Rod Gill

Sorry, I can't say anything without seeing the code. You are probably right
about it not being the activate code but please post it anyway.

From memory :2 is a new window that is a copy of the first.

--

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com




NG_AU said:
Hi Rob

Well here I go again !!!!

I replied to your post & it just goes missing :(

So sorry to muck you around but I started a new post.

The activate event runs immediately before the filename:2 appears.

But this code is working fine in Word & Visio as it is only creating a
menu
with a number of options.

So it cant be this code :)

Plus it is only after the project opens the 1st time that this happens, if
I
ALT -TAB to another application & ALT - TAB back which fires activate then
I
dont get filename:2.

That is why I need to know what the deal is with the cloned filename:2
????

TIA

NG


__________ Information from ESET Smart Security, version of virus
signature database 4613 (20091116) __________

The message was checked by ESET Smart Security.

http://www.eset.com

__________ Information from ESET Smart Security, version of virus signature database 4613 (20091116) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 
N

NG_AU

Hey Rod

Pasting in the code would be a waste of space, it is literally pages of VB
because the menu options are built from Local & Master configuration files.

I have discovered a couple of interesting points.

1. This only occurs when you image activate project by double clicking a
project file.

2. If project is running & I open the project files the "cloning" does not
occur.

From what I have found I believe that this is a bug with project as my code
does not have any ".opens" so how could the code be opening a clone of the
project file.

Plus this code has been working in Word / Visio for years !!!

NG
 
R

Rod Gill

does your code do a WindowNewWindow command?

This creates a :2 duplicate of the activeWindow

--

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com




NG_AU said:
Hey Rod

Pasting in the code would be a waste of space, it is literally pages of VB
because the menu options are built from Local & Master configuration
files.

I have discovered a couple of interesting points.

1. This only occurs when you image activate project by double clicking a
project file.

2. If project is running & I open the project files the "cloning" does not
occur.

From what I have found I believe that this is a bug with project as my
code
does not have any ".opens" so how could the code be opening a clone of the
project file.

Plus this code has been working in Word / Visio for years !!!

NG



__________ Information from ESET Smart Security, version of virus
signature database 4620 (20091118) __________

The message was checked by ESET Smart Security.

http://www.eset.com

__________ Information from ESET Smart Security, version of virus signature database 4620 (20091118) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 
N

NG_AU

Hey Rod

No mate it does not :)

I have actually searched the project for this & other "strings" like this
eg. open, plus I got really paranoid & exported the modules, classes etc. to
the disk & searched the files seperately.

Again, I am starting to think this is a bug with the image activation of
project !!!

I have a few other ideas which I will try in the near future & give youi the
heads up of my "results" ASAP

NG
 
R

Rod Gill

:2 means a duplicate window so look along those lines.

--

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com




NG_AU said:
Hey Rod

No mate it does not :)

I have actually searched the project for this & other "strings" like this
eg. open, plus I got really paranoid & exported the modules, classes etc.
to
the disk & searched the files seperately.

Again, I am starting to think this is a bug with the image activation of
project !!!

I have a few other ideas which I will try in the near future & give youi
the
heads up of my "results" ASAP

NG




__________ Information from ESET Smart Security, version of virus
signature database 4621 (20091119) __________

The message was checked by ESET Smart Security.

http://www.eset.com

__________ Information from ESET Smart Security, version of virus signature database 4621 (20091119) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top