Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - Error=429: ActiveX component can't create object

Reply
 
Old 12-23-2008   #1 (permalink)
vibhub


 
 

Error=429: ActiveX component can't create object


I am creating a VB6 application to export data from MsAccess to Excel.
It works fine on Windows XP Pro but gives an error "Error=429: ActiveX
component can't create object" on Vista Home Premium. The development
machine has Excel 11 where as the client machine has Excel 12. I
included Excel 11 in the installer package.

I have included the code that gives the error....

' Excel object variables
Dim appExcel As Excel.Application
Dim wbk As Excel.Workbook
Dim wks As Excel.Worksheet
Dim sTemplate As String
Dim sTempFile As String
Dim sOutput As String

' Create the Excel Applicaiton, Workbook and Worksheet and Database
object
Set appExcel = New Excel.Application
Set wbk = appExcel.Workbooks.Open(sOutput)
Set wks = appExcel.Worksheets("Sheet1")

Thanks & Regards,

Vibhu Bansal
http://www.ITSYSSolutions.com


--
vibhub
------------------------------------------------------------------------
vibhub's Profile: http://forums.techarena.in/members/vibhub.htm
View this thread: http://forums.techarena.in/vista-help/1091912.htm

http://forums.techarena.in


My System SpecsSystem Spec
Old 12-23-2008   #2 (permalink)
George Bashore


 
 

Re: Error=429: ActiveX component can't create object

http://support.microsoft.com/kb/292054





"vibhub" <vibhub.3kuyng@xxxxxx> wrote in message
news:vibhub.3kuyng@xxxxxx
Quote:

>
> I am creating a VB6 application to export data from MsAccess to Excel.
> It works fine on Windows XP Pro but gives an error "Error=429: ActiveX
> component can't create object" on Vista Home Premium. The development
> machine has Excel 11 where as the client machine has Excel 12. I
> included Excel 11 in the installer package.
>
> I have included the code that gives the error....
>
> ' Excel object variables
> Dim appExcel As Excel.Application
> Dim wbk As Excel.Workbook
> Dim wks As Excel.Worksheet
> Dim sTemplate As String
> Dim sTempFile As String
> Dim sOutput As String
>
> ' Create the Excel Applicaiton, Workbook and Worksheet and Database
> object
> Set appExcel = New Excel.Application
> Set wbk = appExcel.Workbooks.Open(sOutput)
> Set wks = appExcel.Worksheets("Sheet1")
>
> Thanks & Regards,
>
> Vibhu Bansal
> http://www.ITSYSSolutions.com
>
>
> --
> vibhub
> ------------------------------------------------------------------------
> vibhub's Profile: http://forums.techarena.in/members/vibhub.htm
> View this thread: http://forums.techarena.in/vista-help/1091912.htm
>
> http://forums.techarena.in
>
My System SpecsSystem Spec
Old 12-23-2008   #3 (permalink)
vibhub


 
 

Re: Error=429: ActiveX component can't create object


I am using ADO2.1 in the project and not DAO. Does this still hold
good?

Thanks & Regards,

Vibhu Bansal
http://www.ITSYSSolutions.com - Solutions for business.


--
vibhub
------------------------------------------------------------------------
vibhub's Profile: http://forums.techarena.in/members/vibhub.htm
View this thread: http://forums.techarena.in/vista-help/1091912.htm

http://forums.techarena.in

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
ActiveX component Vista General
Problem with ActiveX creating object on IE 7 in Vista Vista General
Error=429 : ActiveX component can't create object Vista General
Error 429 : ActiveX component can't create object Vista General
ActiveX component Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46