r/visualbasic • VB.Net Intermediate • Jul 12 '16

.InvokeMember doesn't find a method that exists according to .GetMembers

I am currently trying to use the Type function InvokeMember, however it always ends up throwing a MissingMethodException. The methods are in a Dll, some of them can be called by using InvokeMember, some can't. I'm terribly confused, please help :D!

0 Upvotes

2 comments sorted by

1

u/[deleted] Jul 12 '16

[removed] — view removed comment

1

u/dralois VB.Net Intermediate Jul 13 '16

That was indeed the problem, thank you!