For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > February 2005 > Error 430 on Setting ActiveX EXE









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Error 430 on Setting ActiveX EXE
Hyo-Han Kim

2005-02-25, 3:56 pm

Hi..

I got two project

Project A is ActiveX EXE

and Project B is referencing to Project A ...


Here is some code from ProjecT A

Private Withevents AxTest1 as ProA.clsAX
Private Withevents AxTest2 as ProA.clsAX
' I want two threads ofProa.clsAX


Private Sub Form_Load()
'Set axTest1 = CreateObject("ProA.clsAx")
Set AxTest1 = New ProA.clsAX ' --> it causes Error 430
Set AxTest2 = New ProA.clsAX
End Sub


How can I fix it?..

TIA




Ken Halter

2005-02-25, 3:56 pm

"Hyo-Han Kim" <blueless@esql.co.kr> wrote in message
news:OVO28QyGFHA.1396@TK2MSFTNGP10.phx.gbl...
> Private Sub Form_Load()
> 'Set axTest1 = CreateObject("ProA.clsAx")
> Set AxTest1 = New ProA.clsAX ' --> it causes Error 430
>
> How can I fix it?..


Binary Compatibility....
http://www.vbsight.com/BinaryComp.htm


--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Please keep all discussions in the groups..


Hyo-Han Kim

2005-02-26, 3:55 am

It still goes on error ...

run-time Error :430

Class does not support Automation or does not support expected interface .

My options are :

1. ActiveX EXE
2. upgrade ActiveX Control
3. Thread per Object
4. compile to P-code
5. Start mode : Standalone
6. Version Compatibility : Binary Compatibility

What is wrong with my options?..

TIa


"Ken Halter" <Ken_Halter@Use_Sparingly_Hotmail.com> wrote in message
news:eKfapu0GFHA.2452@TK2MSFTNGP10.phx.gbl...
> "Hyo-Han Kim" <blueless@esql.co.kr> wrote in message
> news:OVO28QyGFHA.1396@TK2MSFTNGP10.phx.gbl...
>
> Binary Compatibility....
> http://www.vbsight.com/BinaryComp.htm
>
>
> --
> Ken Halter - MS-MVP-VB - http://www.vbsight.com
> Please keep all discussions in the groups..
>



Ralph

2005-02-26, 3:55 am


"Hyo-Han Kim" <blueless@esql.co.kr> wrote in message
news:OT8M0p6GFHA.3340@TK2MSFTNGP14.phx.gbl...
> It still goes on error ...
>
> run-time Error :430
>
> Class does not support Automation or does not support expected interface .
>
> My options are :
>
> 1. ActiveX EXE
> 2. upgrade ActiveX Control
> 3. Thread per Object
> 4. compile to P-code
> 5. Start mode : Standalone
> 6. Version Compatibility : Binary Compatibility
>
> What is wrong with my options?..
>
> TIa
>


What is the Instancing property of clsAx?
Does clsAx publish any events?
When you create a Project reference to ProA, what do you see in the Object
Viewer?

-ralph


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com