the property object

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In VB6 there was a property - object. What is the similar property in .NET
I am using a 3rd party COM grid object that requests the object property of
another such object. e;g:

Set grd.ddb = grd1.Object

what is the equivalent of the line above in .NET?
 
In VB6 there was a property - object. What is the similar property in
.NET I am using a 3rd party COM grid object that requests the object
property of another such object. e;g:

Set grd.ddb = grd1.Object

what is the equivalent of the line above in .NET?

AFAIR, VB6 used an Extender Object, wrapping the actual COM control, so the
Object properpty referred to the real control. There is no extender (and no
need for it) with .NET controls, consequently there is no such property.


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
Well how do I do then. The COM control I am using is doing kind of binding
to another COM control and it will not work if I don't perform the
following:
Set grd.ddb = grd1.Object
Any ideas for work around?
Please note this is not a .NET control it is a COM control probably written
in VB6. It is a 3rd party so I cannot simply port it. I don't have the
sources

Please advise
 
Well how do I do then. The COM control I am using is doing kind of
binding to another COM control and it will not work if I don't
perform the following:
Set grd.ddb = grd1.Object
Any ideas for work around?
Please note this is not a .NET control it is a COM control probably
written in VB6. It is a 3rd party so I cannot simply port it. I don't
have the sources

Sorry for answering late. (Had some problems with my PC so I couldn't use
the upgrade wizard that I wanted to use to do some research.)

Ok, I thought you wanted to do the same for a .NET control. Well, I think I
can't help you here.

The documentation contains the changes of the VBControlExtender object -
unfortunatelly without any comment about the object property.

http://msdn.microsoft.com/library/e...robjectchangesinvisualbasicnet.asp?frame=true


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
Thanks for the effort. I tried with port of VB6 application as well and got
the same results as you. I guess I have to upgrade to a .NET version of the
3rd party control. It costs 500 USD so I will see what I'll do about it.

Thanx again
 
Back
Top