Go Back   TechArena Community > Technical Support > Computer Help > Windows Vista > Vista Help
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Error=429: ActiveX component can't create object

Vista Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 23-12-2008
vibhub's Avatar
Member
 
Join Date: Dec 2008
Location: New Delhi, INDIA
Posts: 2
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


Last edited by vibhub : 23-12-2008 at 11:26 AM. Reason: Added more information to the problem
Reply With Quote
  #2  
Old 23-12-2008
George Bashore
 
Posts: n/a
Re: Error=429: ActiveX component can't create object

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





"vibhub" <vibhub.3kuyng@DoNotSpam.com> wrote in message
news:vibhub.3kuyng@DoNotSpam.com...
>
> 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: Error=429: ActiveX component can't create object
>
> http://forums.techarena.in
>



Reply With Quote
  #3  
Old 23-12-2008
vibhub's Avatar
Member
 
Join Date: Dec 2008
Location: New Delhi, INDIA
Posts: 2
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.

Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Vista > Vista Help


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads for: "Error=429: ActiveX component can't create object"
Thread Thread Starter Forum Replies Last Post
ActiveX component can't create object error Abe Simpson Windows x64 Edition 4 1 Day Ago 11:43 PM
Error 429 : ActiveX component can't create object Brad Vista Help 10 16-09-2009 01:50 PM
ActiveX Component Can't Create Object Scripting.FileSystemObject Robla68 Server Scripting 2 25-06-2009 05:14 PM
Solution for Runtime Error 429 : ActiveX Component Can't Create Object Shell Tips & Tweaks 2 25-12-2008 03:01 PM
Error=429 : ActiveX component can't create object RobGG Vista Help 14 25-02-2008 09:36 AM


All times are GMT +5.5. The time now is 12:10 AM.