Group:  Microsoft Access ยป microsoft.public.access.setupconfig
Thread: Runtime version generates "Object Closed" Error

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Runtime version generates "Object Closed" Error
Paul 25.07.2006 14:36:02
I am using the A2002 Deployment Wizard to generate a runtime version of my
application. On one of my forms I have a call to the
FileDialog(msoFileDialogFilePicker) object. When I install my runtime
application on a computer (target) that does not have Access installed, I get
an error, '-2147467259 - The expression you entered refers to an object that
is closed or doesn't exists' when I call this object. I assume it is a
reference problem. I believe this object is located at c:\Program File\Common
Files\Microsoft Shared\Office10\MSO.DLL, and I confirmed that this file is
present in the target computer.
I am at lost to resovle this, any suggestions would be appreciated.
Thanks,
Paul
RE: Runtime version generates "Object Closed" Error
Glynn 07.08.2006 10:03:02
Paul - I have a very similar problem. In my application I have a Dialog box
for a 'Begin date' and 'End date' for opening reports, which works fine -
but in the run-time version loaded on a non-Access Basic target computer - I
get the error message 'You don't have the licence required to use this Active
X contol - You tried to open a form containing an OLE objecyt control, or
you tried to create an Active X control'.
This appears non-sensical - and is very frustrating.
--
Glynn


"Paul" wrote:

[Quoted Text]
> I am using the A2002 Deployment Wizard to generate a runtime version of my
> application. On one of my forms I have a call to the
> FileDialog(msoFileDialogFilePicker) object. When I install my runtime
> application on a computer (target) that does not have Access installed, I get
> an error, '-2147467259 - The expression you entered refers to an object that
> is closed or doesn't exists' when I call this object. I assume it is a
> reference problem. I believe this object is located at c:\Program File\Common
> Files\Microsoft Shared\Office10\MSO.DLL, and I confirmed that this file is
> present in the target computer.
> I am at lost to resovle this, any suggestions would be appreciated.
> Thanks,
> Paul

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net