Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / October 2004



Tip: Looking for answers? Try searching our database.

"CreateObject" problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Crevit - 22 Oct 2004 16:14 GMT
Hi,

I have a DLL ActiveX for Report generation (with datareport)
and I use this code to instancing and manage CommonDialog, that need for
printer default change:

----------------------------------------------------------------------------
Private objCommonDialog As Object
Set objCommonDialog = CreateObject("MSComDlg.CommonDialog")
...
objCommonDialog.ShowPrinter
...
----------------------------------------------------------------------------

With Win2k code work!!!
But I have problems with XP Professional SP1.
When  the "CreateObject" is processed I have this error message :

"Runtime Error 429: ActiveX component can't create object"

How I can resolve this problem?
Thank in adavance.

Crevit
Rekhender Dhawan - 25 Oct 2004 17:52 GMT
Hi!
Try registring ComDlg32.ocx on ur Win-XP machine with RegSvr32 <Path>

This hopefully will solve ur problem!

Regards
Rekhender

> Hi,
>
[quoted text clipped - 20 lines]
>
> Crevit
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.