|
| | |||||||
| Windows Vista Discuss the different versions of Windows Vista, Fuji, or Vienna |
| | LinkBack | Thread Tools |
| |||
| 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 [url]http://www.ITSYSSolutions.com[/url] -- vibhub ------------------------------------------------------------------------ vibhub's Profile: [url]http://forums.techarena.in/members/vibhub.htm[/url] View this thread: [url]http://forums.techarena.in/vista-help/1091912.htm[/url] [url]http://forums.techarena.in[/url] |
| |||
| Re: Error=429: ActiveX component can't create object [url]http://support.microsoft.com/kb/292054[/url] "vibhub" <vibhub.3kuyng@DoNotSpam.com> wrote in message news:vibhub.3kuyng@DoNotSpam.com...[color=blue] > > 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 > [url]http://www.ITSYSSolutions.com[/url] > > > -- > vibhub > ------------------------------------------------------------------------ > vibhub's Profile: [url]http://forums.techarena.in/members/vibhub.htm[/url] > View this thread: [url]http://forums.techarena.in/vista-help/1091912.htm[/url] > > [url]http://forums.techarena.in[/url] >[/color] |
| |||
| 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 [url]http://www.ITSYSSolutions.com[/url] - Solutions for business. -- vibhub ------------------------------------------------------------------------ vibhub's Profile: [url]http://forums.techarena.in/members/vibhub.htm[/url] View this thread: [url]http://forums.techarena.in/vista-help/1091912.htm[/url] [url]http://forums.techarena.in[/url] |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error 429 : ActiveX component can't create object | Brad | Windows Vista | 10 | 09-17-2009 05:30 AM |
| Error=429: ActiveX component can't create object | vibhub | Windows Vista | 0 | 12-22-2008 10:10 PM |
| Error=429 : ActiveX component can't create object | RobGG | Windows Vista | 14 | 02-24-2008 08:06 PM |
| ERROR: Could not create an ICertificate object & message 32 error | Pocket PC General | 3 | 01-15-2007 10:58 AM | |
| Run-time error '429' ActiveX component can't load object | lwt22 | Windows XP | 4 | 01-04-2007 01:55 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |