Group:  Microsoft Access ยป microsoft.public.access.activexcontrol
Thread: error 429

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

error 429
Patrick 15.11.2005 21:18:02
Hi,
I got this error "Run time error 429 - ActiveX component can't create
object" when i'm trying to create an access object (Set objAccess = New
Access.Application) with the Access runtime.

It's possible to create Access.Application object with the runtime?

Patrick
Re: error 429
"Douglas J. Steele" <NOSPAM_djsteele[ at ]NOSPAM_canada.com> 15.11.2005 22:11:07
See the section labelled "Using a Run-time Application" in
http://support.microsoft.com/?id=210111

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)



"Patrick" <Patrick[ at ]discussions.microsoft.com> wrote in message
news:07A6AF40-B496-44BC-8762-87E1FA03623F[ at ]microsoft.com...
[Quoted Text]
> Hi,
> I got this error "Run time error 429 - ActiveX component can't create
> object" when i'm trying to create an access object (Set objAccess = New
> Access.Application) with the Access runtime.
>
> It's possible to create Access.Application object with the runtime?
>
> Patrick


Re: error 429
Patrick 16.11.2005 15:26:07
Thanks for the link but it didn't solve my problem. I'm still have the error
429 when i'm trying to create the object with the New Key word or the
CreateObject function like the sample in the article.

The runtime version is OfficeXP (10.0.) I read in a other discussion the
problem can be with DAO360.dll. I register the dll and the error 429 occurs.

Any idea?

Patrick

"Douglas J. Steele" wrote:

[Quoted Text]
> See the section labelled "Using a Run-time Application" in
> http://support.microsoft.com/?id=210111
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
>
> "Patrick" <Patrick[ at ]discussions.microsoft.com> wrote in message
> news:07A6AF40-B496-44BC-8762-87E1FA03623F[ at ]microsoft.com...
> > Hi,
> > I got this error "Run time error 429 - ActiveX component can't create
> > object" when i'm trying to create an access object (Set objAccess = New
> > Access.Application) with the Access runtime.
> >
> > It's possible to create Access.Application object with the runtime?
> >
> > Patrick
>
>
>
RE: error 429
Patrick 16.11.2005 17:45:45
I found the answer in the following article :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ac2003_ta/html/odc_AcAutomateVBNet.asp

It's not possible to use New or CreateObject with the runtime. I need to use
the GetObject function.

"Patrick" wrote:

[Quoted Text]
> Hi,
> I got this error "Run time error 429 - ActiveX component can't create
> object" when i'm trying to create an access object (Set objAccess = New
> Access.Application) with the Access runtime.
>
> It's possible to create Access.Application object with the runtime?
>
> Patrick
Re: error 429
"Douglas J. Steele" <NOSPAM_djsteele[ at ]NOSPAM_canada.com> 16.11.2005 23:02:17
Makes me think you didn't read the reference I gave you very closely!

In the section entitled Using a Run-Time Application, it explicitly
mentioned:

.. Because a run-time version of Microsoft Access cannot start without a
database, you should first verify if an instance is already running. If it
is not, you should use the Shell() function to open the run-time version and
specify a path to Msaccess.exe and a database.
.. After your code starts a run-time instance of Microsoft Access, use the
GetObject() function to refer to the instance.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)



"Patrick" <Patrick[ at ]discussions.microsoft.com> wrote in message
news:82950321-05BC-42D0-8BB7-8BDAAB85561D[ at ]microsoft.com...
[Quoted Text]
>I found the answer in the following article :
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ac2003_ta/html/odc_AcAutomateVBNet.asp
>
> It's not possible to use New or CreateObject with the runtime. I need to
> use
> the GetObject function.
>
> "Patrick" wrote:
>
>> Hi,
>> I got this error "Run time error 429 - ActiveX component can't create
>> object" when i'm trying to create an access object (Set objAccess = New
>> Access.Application) with the Access runtime.
>>
>> It's possible to create Access.Application object with the runtime?
>>
>> Patrick


Re: error 429
Patrick 17.11.2005 14:12:03
Sorry, i didn't read this part. Beacause my computer is configured in french,
the article is translate in french and the key word run-time is also
translate! I was a little bit confused with the tranlation of this part.

"Douglas J. Steele" wrote:

[Quoted Text]
> Makes me think you didn't read the reference I gave you very closely!
>
> In the section entitled Using a Run-Time Application, it explicitly
> mentioned:
>
> .. Because a run-time version of Microsoft Access cannot start without a
> database, you should first verify if an instance is already running. If it
> is not, you should use the Shell() function to open the run-time version and
> specify a path to Msaccess.exe and a database.
> .. After your code starts a run-time instance of Microsoft Access, use the
> GetObject() function to refer to the instance.
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
>
> "Patrick" <Patrick[ at ]discussions.microsoft.com> wrote in message
> news:82950321-05BC-42D0-8BB7-8BDAAB85561D[ at ]microsoft.com...
> >I found the answer in the following article :
> > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ac2003_ta/html/odc_AcAutomateVBNet.asp
> >
> > It's not possible to use New or CreateObject with the runtime. I need to
> > use
> > the GetObject function.
> >
> > "Patrick" wrote:
> >
> >> Hi,
> >> I got this error "Run time error 429 - ActiveX component can't create
> >> object" when i'm trying to create an access object (Set objAccess = New
> >> Access.Application) with the Access runtime.
> >>
> >> It's possible to create Access.Application object with the runtime?
> >>
> >> Patrick
>
>
>

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