Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Not Java but still need help

 
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i am an O-level student having computers as a subject. Thus i have to make a computer project, mine's A Library project made in VB6. I am also using crystal Reports 9 to display various reports. the problem: the reports work fine at the skool but at home the program says "Run-Time error 429: ActiveX component cannot create object" and then shuts down
i have made the ODBC connection but still doesnt work.Please do help.
Thanks
Ali
[ July 07, 2003: Message edited by: Michael Ernest ]
 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by ali gilani:
the reports work fine at the skool but at home the program says "Run-Time error 429: ActiveX component cannot create object" and then shuts down


Hi,
I copied the error on Google and I came up with the following. You should do the same when you come across such problems.
/Sara
----------------------------------------------
This problem can occur if the following conditions are true:
* The control is called from Visual Basic for Applications code by using the New CommonDialog command.
* The computer on which you are running the code has a run-time license instead of a design-time license for this control.
With a run-time license, you can load the control but you cannot create or insert it. The design-time license for this control that is included with the Microsoft Office 2000 Developer Edition, Microsoft Visual Basic 6.0, and Microsoft Visual Studio. It is not included with other versions of Microsoft Office 2000.
WORKAROUND
To work around this problem, wrap the control inside another control, such as a UserForm. To do this, follow these steps:
1. In the Visual Basic Editor, add a UserForm to your project.
2. Insert a common dialog control on the UserForm. For example, use the following code to call the common dialog control on the UserForm:
Sub test()
UserForm1.CommonDialog1.ShowOpen
End Sub

3. Save the workbook.
Becuase the control is wrapped in the UserForm and resides inside the project, you can now call it in run-time mode.
[ July 05, 2003: Message edited by: Sara Jahan ]
 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have the Crystal runtime DLLs on your home PC?
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to Someone Do My Homework Please, aka General Computing.
 
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i moderate in both meaningless drivel and this forum, i didnt move the thread here because i know how slow it is here and wanted you to get a little help anyway.
i was reading the other thread about this before i closed it. to register an activeX control, you need to open a DOS window and cd to the folder that the control's file is in(system or whatever)
then type regsvr32.exe myControl.ocx
or whatever the filename of the control or dll is.
not all have to be registered. just trying to help
[ July 07, 2003: Message edited by: Randall Twede ]
 
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The answer is COMPLETELY SIMPLE. I MEAN you shouldnt even begin to work with COM if you dont understand this one concept.
IF THE COM factory(CLASS) doesnt exist how can it be created. I mean if your making a piece of toast and you dont have bread its called butter and the knife errors when it wipes air!
Get my drift, go to an MS site for these questions.
BUT THE ANSWER IS INSTALL THE CRYSTAL REPORTS DLL ON YOUR SYSTEM.
In english: run the setup wizard on your computer at home
 
Nicholas Turner
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry about the aggresiveness but ask your professor so people with career oriented questions can get help
 
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Nicholas Turner:
The answer is COMPLETELY SIMPLE. I MEAN you shouldnt even begin to work with COM if you dont understand this one concept.
IF THE COM factory(CLASS) doesnt exist how can it be created. I mean if your making a piece of toast and you dont have bread its called butter and the knife errors when it wipes air!
Get my drift, go to an MS site for these questions.
BUT THE ANSWER IS INSTALL THE CRYSTAL REPORTS DLL ON YOUR SYSTEM.
In english: run the setup wizard on your computer at home


It could be the Common Dialog Control (Comdlg32.ocx)
Try this post:
Post
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic