Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Function name resolution in VB.Net

Status
Not open for further replies.

btbass

Advanced Member level 5
Advanced Member level 5
Joined
Jul 20, 2001
Messages
1,897
Helped
438
Reputation
882
Reaction score
289
Trophy points
1,363
Location
Oberon
Activity points
12,888
vb.net function name as variable

I have a COM dll that I am using that has a function named 'GetType' that returns an int.

VB.Net has a function with the same name.
When I try

Dim MyApp As Object
Dim value As Integer

'Code here that initialises MyApp Object
'Then I try the call

value = MyApp.GetType

Vb flags an error and insists on trying to call it's own 'GetType' function, which returns an object.
There must be a way to resolve function name clashes?

Can any body help to solve this problem?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top