From: Jean-Pierre Maertens on
Hi,

I am using a COM-object to connect to an SFTP-server. the connection
works. But the COM-object is firing events, but where do they go ? Is
there anyone who EVER succeeded in catching COM-events in VO :) please
tell me how !

TIA

--
Jean-Pierre Maertens


From: Carlos Rocha on
Hi Jean-Pierre,

The easiest way is to create an OCX wrapper with VB6. I can help you if
you need.

Regards

> Hi,
>
> I am using a COM-object to connect to an SFTP-server. the connection
> works. But the COM-object is firing events, but where do they go ? Is
> there anyone who EVER succeeded in catching COM-events in VO :) please
> tell me how !
>
> TIA
>

--
Carlos Rocha
From: Jean-Pierre Maertens on
Please explain Carlos.

(It is really unbelievable that this is STILL not solved in VO after
all these years !!!)


> Hi Jean-Pierre,
>
> The easiest way is to create an OCX wrapper with VB6. I can help you if you
> need.
>
> Regards
>
>> Hi,
>>
>> I am using a COM-object to connect to an SFTP-server. the connection
>> works. But the COM-object is firing events, but where do they go ? Is
>> there anyone who EVER succeeded in catching COM-events in VO :) please tell
>> me how !
>>
>> TIA

--
Jean-Pierre Maertens


From: Carlos Rocha on

> Please explain Carlos.
>
> (It is really unbelievable that this is STILL not solved in VO after
> all these years !!!)

It isn't, unless you use VOCOM or COMSDK, I believe. Anyway, I gave up
from this approach.

Visual Basic 6 receives events from COM Dlls "out of the box" (VB6 is
all about COM). So, you can create a "UserControl" (OCX) with just your
DLL in VB, receive the events, and pass them to VO (with "RaiseEvent").
In VO side use the VB created OCX as an OleControl and you are able to
receive the events. It's very easy. Just get VB6 (I think you'll need
the Enterprise edition to create OCXs) and I can "step-by-step" guide
you. Or tell me where I can get the DLL and I can make the OCX for you.

--
Carlos Rocha
From: Jean-Pierre Maertens on
Carlos,

I found a product (wdoSFTP) that besides the COM-version also has an
Activex-version. The Activex events work fine.

thanks for your input !

Carlos Rocha schreef :
>> Please explain Carlos.
>>
>> (It is really unbelievable that this is STILL not solved in VO after all
>> these years !!!)
>
> It isn't, unless you use VOCOM or COMSDK, I believe. Anyway, I gave up from
> this approach.
>
> Visual Basic 6 receives events from COM Dlls "out of the box" (VB6 is all
> about COM). So, you can create a "UserControl" (OCX) with just your DLL in
> VB, receive the events, and pass them to VO (with "RaiseEvent"). In VO side
> use the VB created OCX as an OleControl and you are able to receive the
> events. It's very easy. Just get VB6 (I think you'll need the Enterprise
> edition to create OCXs) and I can "step-by-step" guide you. Or tell me where
> I can get the DLL and I can make the OCX for you.

--
Jean-Pierre Maertens


 | 
Pages: 1
Prev: Macro Compiler Question
Next: SetSelectiveRelation