Re: Please help translate that from C#
- From: "Saga" <antiSpam@xxxxxxxxxxxxx>
- Date: Tue, 24 Jul 2007 09:55:40 -0500
In VB6, if cSkype were a class, couldn't you declare the
object at module level using Withevents? That will allow
"access" to the object's event(s) from the module where
it is declared (taking into account scope).
Saga
--
"Steve Gerrard" <mynamehere@xxxxxxxxxxx> wrote in message
news:TfydndZjHLyj-zjbnZ2dnUVZ_gmdnZ2d@xxxxxxxxxxxxxx
The problem isn't really the constructor, which is more or less the Form_Initialize event (heavy
on the less, though).
The problem is that they are suggesting adding an event handler delegate, something that exists
only in .Net land, not in VB6. There is no mechanism in VB6 by which you can assign an event
handler to the cSkype.Reply object, if it is expecting a .Net event handler delegate. If it
doesn't raise an event directly (i.e. it is visible in the dropdowns), you are out of luck.
Presumably cSkype.Reply is itself .Net code, not a COM object.
"Jack" <replyto@it> wrote in message news:ujgFDVZzHHA.1484@xxxxxxxxxxxxxxxxxxxxxxx
What is Form constructor?
Why that cannot be translated?
Jack
"Mike Williams" <mikea@xxxxxxxxxxxxxxxxx> wrote in message
news:eg$WOQXzHHA.1164@xxxxxxxxxxxxxxxxxxxxxxx
"Jack" <replyto@it> wrote in message news:Omaxy8WzHHA.600@xxxxxxxxxxxxxxxxxxxxxxx
into something palatable, I can use in vbasic.
Jack
We haven't got Form constructors here, Jack. This is a Visual Basic newsgroup. The last real
version of Visual Basic was VB6.
Mike
.
- Follow-Ups:
- Re: Please help translate that from C#
- From: Steve Gerrard
- Re: Please help translate that from C#
- References:
- Please help translate that from C#
- From: Jack
- Re: Please help translate that from C#
- From: Jeff Johnson
- Re: Please help translate that from C#
- From: Jack
- Re: Please help translate that from C#
- From: Mike Williams
- Re: Please help translate that from C#
- From: Jack
- Re: Please help translate that from C#
- From: Steve Gerrard
- Please help translate that from C#
- Prev by Date: Re: sorting and locale problems
- Next by Date: Re: Converting an OCX to 'in project UserControl'
- Previous by thread: Re: Please help translate that from C#
- Next by thread: Re: Please help translate that from C#
- Index(es):
Relevant Pages
|