Type Mismatch?

  • Thread starter Thread starter Alp Bekisoglu
  • Start date Start date
A

Alp Bekisoglu

Hi All,

All of a sudden (or so it appears) I started getting "Type Mismatch" error
at startup. None of the references have been altered (not manually at least)
and no object names were changed.

Could someone guide me where to focus?

Thanks in advance...

Alp
 
Is VBA being used? If so, it should show you exactly
where the error is.

Other than that....

One of your calculated objects may have gone out of scope
(was Integer, now Long)? or one of your variables is
NULL?
 
Hi Carter,

Yes, there is code behind the main menu form but the message is the only
thing I get. It does not open up the VB highlighting the line or give a VB
error.
I do have another copy, an older version, wich runs fine without the error.
I did compare the code behind both and they are identical.
The menu form has never been altered, so both copies have the identical
form.
The only difference between the two are in the "Argument" part of the menu
table.
If it makes any sense or is indicative of anything, after the error clicking
on the OK on the error, application proceeds normally to open the menu but:
the right-click is diabled as opposed to the older copy. I have not yet
locked that option in neither.

Any further comments, advice?

Thanks,

Alp
 
Sorry, one correction: the right-click is disabled in both....
Must be going crazy slowly....

Alp
 
The fact that it continues suggests to me that it's a
reference error of some kind. I'd double check your
references, compare both the new and old version.
-----Original Message-----
Hi Carter,

Yes, there is code behind the main menu form but the message is the only
thing I get. It does not open up the VB highlighting the line or give a VB
error.
I do have another copy, an older version, wich runs fine without the error.
I did compare the code behind both and they are identical.
The menu form has never been altered, so both copies have the identical
form.
The only difference between the two are in the "Argument" part of the menu
table.
If it makes any sense or is indicative of anything, after the error clicking
 
There is a menu item calling a RunCode in both. I deleted that in the
problematic copy and voila! its back to normal??? It was just something to
try and not important so I'll do away with it.

Thanks for your help and suggestions.

Alp
 
Back
Top