File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes General Computing and the fly likes Not Java but still need help Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Reply Bookmark "Not Java but still need help" Watch "Not Java but still need help" New topic
Author

Not Java but still need help

Ali Gilani
Ranch Hand

Joined: Mar 01, 2002
Posts: 137
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 ]
Sara Jahan
Ranch Hand

Joined: Apr 20, 2003
Posts: 120
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 ]
Roy Tock
Ranch Hand

Joined: Jul 16, 2001
Posts: 83
Do you have the Crystal runtime DLLs on your home PC?
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7231

Moving to Someone Do My Homework Please, aka General Computing.


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 3901
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 ]

I never took notes in college. That's how I got a 4.0 the first 2 years, and a 3.5 the second two years.
Nicholas Turner
Ranch Hand

Joined: May 24, 2003
Posts: 119
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

Joined: May 24, 2003
Posts: 119
Sorry about the aggresiveness but ask your professor so people with career oriented questions can get help
leo donahue
Ranch Hand

Joined: Apr 17, 2003
Posts: 327
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


Thanks, leo
 
IntelliJ Java IDE
 
subject: Not Java but still need help
 
Threads others viewed
jasper reports : export to PDF
How to use Jasper reports in java
NOT JAVA BUT STILL NEED HELP
Jasper
how to call a DLL from JSP page
developer file tools