Go Back   Trackpads Community > General Discussions > Computer and Technology > Microsoft Applications

Microsoft Applications Discussions about Windows and other MS Products such as Office

Reply
 
LinkBack Thread Tools
Old 06-16-2004, 15:55   #1 (permalink)
David Hunsberger
Civilians

 
Default Comparing Versions - Error Messages

I am having a lot of trouble using the add-in Compare Versions utility. I get error messages and then the macro stops working. By the way, I use a lot of custom fields, and I found by experimentation that when I remove all the customizations the Compare Versions utility is much more likely to run properly, but even then I sometimes get errors that cause the compare to fail.

One error pops up as "Run-time error '424': Object required", and offers just an "OK" button for response. When "OK" is pressed, I get a box saying "An error occurred in the COM Add-in named: Compare Project Versions Utility Error #:0".

Another error pops up as "Run-time error '1101': The argument value is not valid." Once again this leads to the second box, as above.

Is there any help file available that enumerates these error messages, giving some clue as to their cause and better yet, to their resolution? Also, does anyone know who wrote this utility, and whether they will accept questions from users?

With thanks in advance,

David Hunsberger
www.it7.com


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Trackpads Information
Click to Visit
Old 06-16-2004, 15:55   #2 (permalink)
John
Civilians

 
Default Re: Comparing Versions - Error Messages


David,
Sorry you are having so much trouble with the Compare Project versions
add-in. I didn't write the add-in code but I did write a similar VBA
macro and have a good idea of how the add-in works. First, are you
working with a single file structure? That is, the files to be compared
connot be consolidated (master with inserted subprojects). Second, do
you duplicate any fields in the view table? The add-in code will
generate a run time error if for example, your view table shows the
Start field more than once. The error will occur even if the Start field
is hidden. I suggest you go to View/Table/More Tables and hit "edit".
Look through the field names and make sure there are no duplicates.
Delete any duplicate fields.

I don't know how the add-in reacts to custom fields. I've never tried it
but it is possible that one or more of the formulas could be causing a
problem when the add-in code attempts to perform a field cell compare.
If at all possible I suggest you set up a view table that does not
contain any custom fields and run the compare.

Let me know what happens. We can get you something that works, one way
or another.

John
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-16-2004, 16:03   #3 (permalink)
David Hunsberger
Civilians

 
Default Re: Comparing Versions - Error Messages

Hi John -- thanks for the thoughts. I believe I did none
of the things you mention: I used a flat single file in
two versions, not a consolidated project and with no
inserted projects. The table used in the compare was a
default "entry" table with the default columns, no custom
columns and no hidden columns (I checked with edit
table). As someone who has written VBA can you parse the
original error messages to get a sense what kind of errors
they are? I have no clue. Thanks again, David Hunsberger
>-----Original Message-----
>
>David,
>Sorry you are having so much trouble with the Compare

Project versions
>add-in. I didn't write the add-in code but I did write a

similar VBA
>macro and have a good idea of how the add-in works.

First, are you
>working with a single file structure? That is, the files

to be compared
>connot be consolidated (master with inserted

subprojects). Second, do
>you duplicate any fields in the view table? The add-in

code will
>generate a run time error if for example, your view table

shows the
>Start field more than once. The error will occur even if

the Start field
>is hidden. I suggest you go to View/Table/More Tables and

hit "edit".
>Look through the field names and make sure there are no

duplicates.
>Delete any duplicate fields.
>
>I don't know how the add-in reacts to custom fields. I've

never tried it
>but it is possible that one or more of the formulas could

be causing a
>problem when the add-in code attempts to perform a field

cell compare.
>If at all possible I suggest you set up a view table that

does not
>contain any custom fields and run the compare.
>
>Let me know what happens. We can get you something that

works, one way
>or another.
>
>John
>.
>

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-16-2004, 16:07   #4 (permalink)
John
Civilians

 
Default Re: Comparing Versions - Error Messages


David,
Ok, given the files you are trying to compare are benign (i.e. single
file using the default Entry table), tell me again what error message(s)
you get.

I have found that most error messages are quite cryptic. They are
probably of necessity rather generic and apply to more than one specific
problem. As you have probably found, hitting the button for more
information generally gives 2 or 3 different causes, none of which makes
much sense unless you already have an idea of why you got the message in
the first place. This is where experience comes in.

I have a couple more suggestions. If the add-in still chokes on your
benign file, try reloading the add-in. If that still fails, would it be
possible to e-mail me the files so I can take a look at them? If the
files contain sensitive information, I can provide you a macro that will
remove that information or you can get a similar macro called "scrub" by
going to Jack Dahlgrens webpage at:
http://masamiki.com/project/macros.htm
If both the original and revised files are de-sensitized with the same
macro the compare add-in should still work fine.

John
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-16-2004, 16:09   #5 (permalink)
David Hunsberger
Civilians

 
Default Re: Comparing Versions - Error Messages

John -- Thanks for all your care with this problem. I am
emailing you directly some screen shots of the error
messages, in Word docs. If you see anything
understandable, feel free to answer here in the forum.

-- David Hunsberger

>-----Original Message-----
>
>David,
>Ok, given the files you are trying to compare are benign

(i.e. single
>file using the default Entry table), tell me again what

error message(s)
>you get.
>
>I have found that most error messages are quite cryptic.

They are
>probably of necessity rather generic and apply to more

than one specific
>problem. As you have probably found, hitting the button

for more
>information generally gives 2 or 3 different causes, none

of which makes
>much sense unless you already have an idea of why you got

the message in
>the first place. This is where experience comes in.
>
>I have a couple more suggestions. If the add-in still

chokes on your
>benign file, try reloading the add-in. If that still

fails, would it be
>possible to e-mail me the files so I can take a look at

them? If the
>files contain sensitive information, I can provide you a

macro that will
>remove that information or you can get a similar macro

called "scrub" by
>going to Jack Dahlgrens webpage at:
>http://masamiki.com/project/macros.htm
>If both the original and revised files are de-sensitized

with the same
>macro the compare add-in should still work fine.
>
>John
>.
>

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error -- Versions of Excel?? jwr Microsoft Applications 9 10-14-2005 06:03
Re: error messages Charles Sweeney Web Design 1 04-25-2005 20:00
Re: Error messages should be grammatically correct. Pete Microsoft Applications 1 04-06-2005 16:00
comparing project versions in MSP 2003 =?Utf-8?B?bXRvb2w=?= Microsoft Applications 2 11-19-2004 13:00
Error opening previous versions Randy Spaulding Microsoft Applications 2 07-19-2004 12:54


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 11:19.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.79735 seconds with 19 queries