Welcome to Windows Help!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Error=429: ActiveX component can't create object

 
   Windows Help (Home) -> Windows Vista Help RSS
Next:  Got some strange errors all of a sudden  
Author Message
vibhub

External


Since: Dec 23, 2008
Posts: 1



(Msg. 1) Posted: Tue Dec 23, 2008 2:25 am
Post subject: Error=429: ActiveX component can't create object
Archived from groups: microsoft>public>windows>vista>general (more info?)

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"]http://www.ITSYSSolutions.com[/URL]

 >> Stay informed about: Error=429: ActiveX component can't create object 
Back to top
Login to vote
George Bashore

External


Since: Dec 23, 2008
Posts: 1



(Msg. 2) Posted: Tue Dec 23, 2008 6:22 am
Post subject: Re: Error=429: ActiveX component can't create object
Archived from groups: per prev. post (more info?)

[URL="http://support.microsoft.com/kb/292054"]http://support.microsoft.com/kb/292054[/URL]





"vibhub" wrote in message

>
> 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"]http://www.ITSYSSolutions.com[/URL]
>
>
> --
> vibhub
> ------------------------------------------------------------------------
> vibhub's Profile: [URL="http://forums.techarena.in/members/vibhub.htm"]http://forums.techarena.in/members/vibhub.htm[/URL]
> View this thread: [URL="http://forums.techarena.in/vista-help/1091912.htm"]http://forums.techarena.in/vista-help/1091912.htm[/URL]
>
> [URL="http://forums.techarena.in"]http://forums.techarena.in[/URL]
>

 >> Stay informed about: Error=429: ActiveX component can't create object 
Back to top
Login to vote
vibhub

External


Since: Dec 23, 2008
Posts: 1



(Msg. 3) Posted: Tue Dec 23, 2008 10:25 am
Post subject: Re: Error=429: ActiveX component can't create object
Archived from groups: per prev. post (more info?)

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"]http://www.ITSYSSolutions.com[/URL] - Solutions for business.
 >> Stay informed about: Error=429: ActiveX component can't create object 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
System restore: Could not create. . . - I turned system restore off to clean out old files, now trying to turn system restore back on I keep getting an error message: "Could not create the scheduled task for the following reason: the task image is corrupt or has been tampered with...

unable to create dynamic disks - In Computer Management -> Storage -> Disk Management, I right click on Disk 2, select "Convert to Dynamic Disk..." from the resultant menu and get the following error: The operation is not supported by the object. Any ideas? The disk I...

STOP MOVING WINDOWS 7 SUPPORT TO WEB, INSTEAD CREATE A NEW.. - Rick Rogers wrote: " > Hi, > [URL="http://answers.microsoft.com/en-us/windows/default.aspx"]http://answers.microsoft.com/en-us/windows/default.aspx[/URL] >Microsoft has apparently decided that all peer support should be on their &...

I/O error - hi ,i have a buffalo nas drive with a seagate usb drive plugged in to it when i try to copy a folder or file from the nas to the usb i get the error "0x8007045d cannot perform this operation because of a I/O error" i have tried turning system ...

parental error -
   Windows Help (Home) -> Windows Vista Help All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]