Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21246

Conflicting Names [Help]

$
0
0
Hi ,
When I used a reference to Microsoft Excel 12.0 Object Library in vb6 , I got a type/control named "Pane"
eg: do declare a new element of type 'Pane' I can use, Dim e as Pane

And, later I used an ActiveX control and it also had a type named "Pane"

So now I'm facing a problem, whenever I try to declare a new 'Pane' by using "Dim e as Pane", this time I want to make it of second "Pane" type, but it's showing runtime error 13: Type Mismatch, it's treating it as the first "Pane" probably.

How to deal with this? please help.

Viewing all articles
Browse latest Browse all 21246

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>