Index
2018-09-08 09:21mbsoftwaresolutions@mbsoftwaresolutions.com: Problem with VFP's debugger not seeing C# object's properties
2018-09-08 09:29Koen Piller : Re: Problem with VFP's debugger not seeing C# object's properties
2018-09-08 15:59mbsoftwaresolutions@mbsoftwaresolutions.com: Re: Problem with VFP's debugger not seeing C# object's properties
2018-09-08 16:17Koen Piller : Re: Problem with VFP's debugger not seeing C# object's properties
2018-09-10 08:41Tracy Pearson : RE: Problem with VFP's debugger not seeing C# object's properties
Back to top
Problem with VFP's debugger not seeing C# object's properties

Author: mbsoftwaresolutions@mbsoftwaresolutions.com

Posted: 2018-09-08 09:21:41   Link

VFPSP2 consuming C# (maybe version 3.5 or later?)

See screenshot: https://www.screencast.com/t/bb0Xfu2KuMpC

Is there a way I can have the C# guy somehow expose the properties

somehow?

tia,

--Mike

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/dc15919af1352dca2499a0ff0079670c@mbsoftwaresolutions.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2018 mbsoftwaresolutions@mbsoftwaresolutions.com
Back to top
Re: Problem with VFP's debugger not seeing C# object's properties

Author: Koen Piller

Posted: 2018-09-08 09:29:03   Link

Mike,

VFP debugger will show you the properties of those objects only when you

select the object selve, not the parent of the object, which you have done

in this picture

Rgds,

Koen

Op za 8 sep. 2018 om 16:21 schreef <

mbsoftwaresolutions@mbsoftwaresolutions.com>:

> VFPSP2 consuming C# (maybe version 3.5 or later?)

>

> See screenshot: https://www.screencast.com/t/bb0Xfu2KuMpC

>

> Is there a way I can have the C# guy somehow expose the properties

> somehow?

>

> tia,

> --Mike

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CACUu1StE5qcuLvOJ3YhYoSwY40LEciEsZtroiRscxXMs3oFeDg@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2018 Koen Piller
Back to top
Re: Problem with VFP's debugger not seeing C# object's properties

Author: mbsoftwaresolutions@mbsoftwaresolutions.com

Posted: 2018-09-08 15:59:58   Link

On 2018-09-08 10:29, Koen Piller wrote:

> Mike,

> VFP debugger will show you the properties of those objects only when

> you

> select the object selve, not the parent of the object, which you have

> done

> in this picture

> Rgds,

> Koen

Hi Koen,

Even if I select the object via single or double click, a dropdown will

not appear and won't let me see the properties of the lower level

objects. See soundless quick demo showing that:

https://www.screencast.com/t/nYRe4eXp

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/b3bbc0d5f3b042d73be6892b01dee8d1@mbsoftwaresolutions.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2018 mbsoftwaresolutions@mbsoftwaresolutions.com
Back to top
Re: Problem with VFP's debugger not seeing C# object's properties

Author: Koen Piller

Posted: 2018-09-08 16:17:22   Link

Hi,

What happens when you set in your watch

"This.Ions.Ions(1)"

Please eplace the This with the actual object name you are "watching".

Remember you are watching objects which you have placed into an array.

Check also the code where you have populates the iOns array with the

different objects.

Koen

Op za 8 sep. 2018 om 23:00 schreef <

mbsoftwaresolutions@mbsoftwaresolutions.com>:

> On 2018-09-08 10:29, Koen Piller wrote:

> > Mike,

> > VFP debugger will show you the properties of those objects only when

> > you

> > select the object selve, not the parent of the object, which you have

> > done

> > in this picture

> > Rgds,

> > Koen

>

>

> Hi Koen,

>

> Even if I select the object via single or double click, a dropdown will

> not appear and won't let me see the properties of the lower level

> objects. See soundless quick demo showing that:

> https://www.screencast.com/t/nYRe4eXp

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CACUu1SvRkJ03qcBuJrY_Kv9_m1vwkyX5Gvup=2FnOoxv_A+qMA@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2018 Koen Piller
Back to top
RE: Problem with VFP's debugger not seeing C# object's properties

Author: Tracy Pearson

Posted: 2018-09-10 08:41:18   Link

The Attribute of [ComVisible(true)] is needed on the object you want to see

the properties. Or just the properties/methods to expose to COM.

https://docs.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.c

omvisibleattribute?view=netframework-4.7.2

I've used it recently.

HTH,

Tracy

-----Original Message-----

From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of

mbsoftwaresolutions@mbsoftwaresolutions.com

Sent: Saturday, September 08, 2018 5:00 PM

To: profoxtech@leafe.com

Subject: Re: Problem with VFP's debugger not seeing C# object's properties

On 2018-09-08 10:29, Koen Piller wrote:

> Mike,

> VFP debugger will show you the properties of those objects only when

> you

> select the object selve, not the parent of the object, which you have

> done

> in this picture

> Rgds,

> Koen

Hi Koen,

Even if I select the object via single or double click, a dropdown will

not appear and won't let me see the properties of the lower level

objects. See soundless quick demo showing that:

https://www.screencast.com/t/nYRe4eXp

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/000b01d4490b$f43503d0$dc9f0b70$@powerchurch.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2018 Tracy Pearson