473,503 Members | 12,175 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

the property object

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?
Nov 20 '05 #1
8 1234
<bm@bm.bm> schrieb
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

Nov 20 '05 #2
<bm@bm.bm> schrieb
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

Nov 20 '05 #3
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

"Armin Zingler" <az*******@freenet.de> wrote in message
news:40***********************@news.freenet.de...
<bm@bm.bm> schrieb
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

Nov 20 '05 #4
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

"Armin Zingler" <az*******@freenet.de> wrote in message
news:40***********************@news.freenet.de...
<bm@bm.bm> schrieb
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

Nov 20 '05 #5
<bm@bm.bm> schrieb
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/en...asp?frame=true
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #6
<bm@bm.bm> schrieb
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/en...asp?frame=true
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #7
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

"Armin Zingler" <az*******@freenet.de> wrote in message
news:40***********************@news.freenet.de...
<bm@bm.bm> schrieb
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/en...asp?frame=true

--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #8
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

"Armin Zingler" <az*******@freenet.de> wrote in message
news:40***********************@news.freenet.de...
<bm@bm.bm> schrieb
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/en...asp?frame=true

--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1928
by: Aaron | last post by:
Hi, I've seen javascript code where a constructor function is passed an argument "document", and inside the function itself the assignment "this.document = document;" is made. This is the code...
16
25390
by: sneill | last post by:
How is it possible to take the value of a variable (in this case, MODE_CREATE, MODE_UPDATE, etc) and use that as an object property name? In the following example I want 'oIcon' object to have...
3
5139
by: MattC | last post by:
Hi, I found this code somewhere on the net and need to make some alterations. public class GenericSorter : IComparer { String sortProperty; bool sortOrder; public GenericSorter(String...
2
1003
by: Hal Heinrich | last post by:
I have the following class: Public Class myObj Dim x as myOtherObj Public Property otherObject() As myOtherObj Get otherObject = x End Get
10
4143
by: dgk | last post by:
I'm searching for a way to determine if control values have changed. For some it's easy, such as TextBox.Modified. But looking at the radiobutton I come across IsMirrored. Curious, I look to the...
3
2540
by: Mark Jones | last post by:
I am quite new to ASP and .Net development and I am building a web-based multiple choice exam application. The web page displays the questions using a Repeater control and the answers are nested...
15
1875
by: Sam Kong | last post by:
Hello! I got recently intrigued with JavaScript's prototype-based object-orientation. However, I still don't understand the mechanism clearly. What's the difference between the following...
0
1968
by: Memfis | last post by:
While I was looking through the group's archives I came across a discussion on doing properties (as known from Delphi/C#/etc) in C++. It inspired me to do some experimenting. Here's what I came up...
2
1653
by: =?Utf-8?B?Z2FkeWE=?= | last post by:
I use one of 2 arrays dependent on the country. Rather than say: if exchangeID = 1 then dim myPlaceBets() as As UK.exchange.PlaceBets many statements myPlaceBetsReq.bets = myPlaceBets else...
11
3942
by: Andrus | last post by:
I'm implementing entity object which should populate its properties from database when property is first referenced. In RDL reports I use object properties like MyObject.MyProperty MyObject...
0
7067
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7264
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5562
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
371
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.