J
Jack Gillis
I have Google Group'ed this problem and found a lot of information that,
frankly, is beyond me because I don't have a lot of experience in VBA.
Here is the problem under Access 2003 and XP SP2.
I have an database file that works just fine on the machine it was
developed on. When I use that database on another machine, I
immediately get a message saying that it has a missing or broken link
reference to the file 'comdlg32.ocx'. I found how to fix this by
unchecking the Microsoft Common Dialog Control 6.0 in VBA's references
and compiling the database again.
What I would like to know is this. Is there a way to determine which
function call or other line in the VBA code is the origin of this
problem so I can re-do the code to get around it? Maybe I have some
un-needed code in a module that can be eliminated.
Micro Soft Office Assistance, in Troubleshoot undefined functions and
references to projects or libraries suggests 'You can't call a class
module from a query, form, report or macro. Store a Visual Basic
procedure in a standard module if you need to call it from a query,
form, report or macro'. I probably have such a call in one of the
prohibited areas and am more than willing to search it out if I could
identify it and knew where to store it. I'm not sure I even know what a
Standard Module is.
As I said, I am in way over my head dealing with VBA at this level and
would really appreciate any help I receive.
Thank you.
frankly, is beyond me because I don't have a lot of experience in VBA.
Here is the problem under Access 2003 and XP SP2.
I have an database file that works just fine on the machine it was
developed on. When I use that database on another machine, I
immediately get a message saying that it has a missing or broken link
reference to the file 'comdlg32.ocx'. I found how to fix this by
unchecking the Microsoft Common Dialog Control 6.0 in VBA's references
and compiling the database again.
What I would like to know is this. Is there a way to determine which
function call or other line in the VBA code is the origin of this
problem so I can re-do the code to get around it? Maybe I have some
un-needed code in a module that can be eliminated.
Micro Soft Office Assistance, in Troubleshoot undefined functions and
references to projects or libraries suggests 'You can't call a class
module from a query, form, report or macro. Store a Visual Basic
procedure in a standard module if you need to call it from a query,
form, report or macro'. I probably have such a call in one of the
prohibited areas and am more than willing to search it out if I could
identify it and knew where to store it. I'm not sure I even know what a
Standard Module is.
As I said, I am in way over my head dealing with VBA at this level and
would really appreciate any help I receive.
Thank you.