|
-
Aug 6th, 2008, 03:26 AM
#1
[RESOLVED] Error on loading
Friends,
I had created a software and I made its distributable file(setup) using Inno Setup. But when the software is installed and on opening it, I got a runtime error 429 - Activex component can't create object. And when I click the OK button, it will display the main MDI form and when I tried to click on the menus in the menubar or the buttons in the toolbar, the code is not working. I mean when I clicked on the File->About menu, it should open another window. But when I clicked on it, it doesn't do that. Can you help me in solving this problem. Does I forget to include any resource files in my setup file.
Thanks in advance...
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Aug 6th, 2008, 03:33 AM
#2
Lively Member
Re: Error on loading
you have to include all the referenced dlls, ocx and tlb files along with your app. inno setup might have a section to include this. these reference files need to be at the apps path or the system 32 path.
to collect all the reference files i use the package and deployment wizard that comes with vb6. you can create a setup with the p&d also. when the p&d wizard creates a setup it copies all the reference files to a sub directory. you can add these files to your inno setup project so when the app is installed all the reference files will be copied to system 32 or the app path.
ive never used inno setup. i use installshiled.
-
Aug 6th, 2008, 07:02 AM
#3
Re: Error on loading
Thread moved to Application Deployment forum, which is for questions about installing/distributing your software
-
Aug 12th, 2008, 12:25 AM
#4
Re: Error on loading
Thanks guys for your help. I will try astronau's method.
In the load event of the main form, I used this code
Code:
Dim Db1 as DAO.Database
Dim Rec1 as DAO.Recordset
I think for this piece of code, I need to include the reference file. Which file should I have to include for this? On loading this form, an error shows "Activex Component can't create object"
Any idea...???
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Aug 12th, 2008, 10:17 AM
#5
Re: Error on loading
Using astronau's method is the best idea - it should show you what you need, no matter what Components and References you have in the project.
There are useful articles about this (and other things about VB6/InnoSetup) in the Application Deployment FAQ, at the top of this forum.
-
Aug 12th, 2008, 12:42 PM
#6
Lively Member
Re: Error on loading
If you are using installshield wizard it will automaticaly detect all the dabase drivers when you are adding your reference files. It will also setup the database for you. I think if you go to their site a trial version is available.
-
Aug 18th, 2008, 04:32 AM
#7
Re: Error on loading
Anyway thanks for all your help, members....
Thanks a lot..
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|