Error Loading Form @ Runtime 
Author Message
 Error Loading Form @ Runtime

Hi and ThanX in Advance

I created an exe file from my project. I put it onto another machine. When i try to load a
particular form i get this error:

Runtime Error 430

Class doesn't support automation.

Its just a simple form with data control. I am also using 2 DBCombo boxes to list options on
the form.

I don't get this error when running on machine which created then file?

What possible reasons can generate this error.

Mark



Thu, 19 Feb 2004 19:37:07 GMT  
 Error Loading Form @ Runtime
Did you simply copy the EXE to the 2nd computer?  That's what it sounds
like. Unless your program is an extremely simple one that uses no other
components (OCXs, DLLs, etc), this will rarely work.  Create an installation
package using the Package and Deployment Wizard (if you're using VB6 which
you didn't state either) and then run Setup to properly install your
application on the 2nd PC.

Mike


Quote:
> Hi and ThanX in Advance

> I created an exe file from my project. I put it onto another machine. When
i try to load a
> particular form i get this error:

> Runtime Error 430

> Class doesn't support automation.

> Its just a simple form with data control. I am also using 2 DBCombo boxes
to list options on
> the form.

> I don't get this error when running on machine which created then file?

> What possible reasons can generate this error.

> Mark



Thu, 19 Feb 2004 20:16:51 GMT  
 Error Loading Form @ Runtime

Quote:

>Hi and ThanX in Advance

>I created an exe file from my project. I put it onto another machine. When i try to load a
>particular form i get this error:

>Runtime Error 430

>Class doesn't support automation.

>Its just a simple form with data control. I am also using 2 DBCombo boxes to list options on
>the form.

>I don't get this error when running on machine which created then file?

>What possible reasons can generate this error.

>Mark

Did you install the app on the other machine?  If you just copied it
is not surprising is doesn't work.  Your app is using files that do
not exist on the other machine which will be the case if the machine
has never seen a VB app before.

You need to run you app through the P&D wizard and the use the
resulting  Setup.exe, Cab file(s) and Setup.lst

Have a look at setup.lst with Notepad and you may well be supposed at
how may files are needed to make your app run,

Stuart Sutherland



Thu, 19 Feb 2004 20:33:06 GMT  
 Error Loading Form @ Runtime
Hi

and thanX for the advice. Its much appreciated

Mark



Thu, 19 Feb 2004 21:52:04 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. VB6: application in runtime environment with error on loading form: ado cannot load object

2. Excel VBA runtime error when form loads

3. Runtime Error 31037 - Error Loading From File

4. runtime error 48 error loading DLL

5. Runtime error 48 - error loading .DLL

6. Runtime Error 48 - Error in Loading DLL

7. Runtime error 31037 - Error loading from file

8. Not a loaded class error when loading form

9. Run-time error '31037': Error load form file

10. Error 31037 Error Loading Form

11. Loading Forms Backgroundimage at RunTime

12. form load at runtime

 

 
Powered by phpBB® Forum Software