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 !
Re: cast a MSCOMCTL TreeView to a Windows Form TreeView
Both controls have completely different implementations, so they are not at all compatible.
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 !
Re: cast a MSCOMCTL TreeView to a Windows Form TreeView
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