![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
| | #3 (permalink) |
| | 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 Specs![]() |
![]() |
| 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 | |||