-
August 2nd, 2011, 03:04 AM
#1
cast a MSCOMCTL TreeView to a Windows Form TreeView
Hi all.
I'm coding a project in visuel C#, and in VBA.
The connection between the two is made with a COM object.
I have created a TreeView in VBA with the librairie MSCOMCTL. And i want to send this TreeView Object to C#
The thing is that C# windows Forms TreeView seems to be not compatible with VBA MSCOMCTL treeView.
Is there any tips or idea to fix this ?
any help is welcome !
-
August 2nd, 2011, 11:07 AM
#2
Re: cast a MSCOMCTL TreeView to a Windows Form TreeView
Both controls have completely different implementations, so they are not at all compatible.
-
August 2nd, 2011, 12:10 PM
#3
Re: cast a MSCOMCTL TreeView to a Windows Form TreeView
Yes, you're right !
But i want to manipulate a MSCOMCTL TreeView created in VBA Excel in a C# application.
I already receive that TreeView in my C# application in Visual Studio.
I tried to handle this treeview with MSCOMCTL too in C#. But the treeview method causes me many problems ...
For exemple, i can't even use the : myTreeView.Nodes.Add method.
Is there any tips or solution, or exemple ?
any help would be fine ...
thank you again !
-
August 2nd, 2011, 12:52 PM
#4
Re: cast a MSCOMCTL TreeView to a Windows Form TreeView
-
August 4th, 2011, 01:25 AM
#5
Re: cast a MSCOMCTL TreeView to a Windows Form TreeView
there is no solution to my problem in your link ...
Any other help please ?
If you need i can be more specific ... thank you
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|