07-21-2004, 03:02 AM
I wrote a program with VB6 and compile it with Package & Deployment Wizard in WINXP platform.I installed it in WinNT and tried to run it, but an error was appeared.
Run-time error '430'
Class does not support Automation or does not support expected interface.
What happen?Please give me hands, thank you very much. :)
07-21-2004, 05:05 AM
Have you declarations of API or something?
Can't you prove to package it from NT? If it works this way you'll know that's the problem...
It's very hard to give any suggestions without more information than that. At what point in your application does the error occur? What dependencies are you referencing?
If you're having trouble pinpointing what part of your code might be generating the error at runtime, check out the discussion in this thread (http://www.xtremevbtalk.com/showthread.php?t=37455) regarding error logging techniques.
07-21-2004, 09:08 PM
I deleted all codes in the program except the forms and tried to compile it with Package and Deployment Wizard. It still didn't work, I tried again and I found that, in the "Included Files" section of Package and Deployment Wizard, It shows the files included in the package. I found one of the files called "VB6 Runtime and OLE Autmation"(It is similar to the error message). I unticked this file and compiled this project, It worked! the forms I designed are displayed.So, I tried to compile the program with all codes and unticked the file "VB6 Runtime and OLE Autmation" and ran the program.But............. same error message. ~>_<~
what's that file?
what can I do?
thank you very very much~
07-22-2004, 09:16 PM
I installed the program into 2 NT PC. one could run the program, but the other couldn't. The difference between the 2 NT PC I found is in the ODBC source(control panel -> ODBC data source) one of the PCs' driver ODBCJT32.dll's version is more latest, more drivers are supported.
Does it relate to my problem?
07-23-2004, 02:42 AM
I don't know if it works but can you add the latest ODBCJT32.dll's on your package?
Okay, you hadn't mentioned before that this was a database application. Are you installing MDAC with your app? If so, what version? Is it the same version referenced by your application? If it is MDAC 2.6 or higher, and you are referencing an Access database, are you also deploying Jet drivers (they stopped being included as part of MDAC after version 2.5)?
07-25-2004, 07:44 PM
Is that the file called MDAC_TYPE.EXE?
(Location: Program Files\Microsoft Visual Studio\VB98\Wizards\Redist)
If so, the version is 4.71.1015.0.
07-25-2004, 07:45 PM
If not, how can i check it?
thanks alot. :p
07-27-2004, 07:13 PM
I found that, one of the PC's ODBC's driver is more latest.Is that the reason I can't run my program on my PC that with the less latest version ODBC driver.
08-03-2004, 07:36 PM
Can it be solved by upgrading the version of MDAC (Mdac_typ) and Jet (Jet40SP8_9xNT) into the Windows NT stations?