开发者

Question on example on MSDN

开发者 https://www.devze.com 2023-03-22 04:01 出处:网络
I have been trying to use http://msdn.microsoft.com/en-us/library/akfttx8c(v=VS.90).aspx example for VB to see how virtual function works but the example used on MSDN doesn\'t even have a sub main!

I have been trying to use http://msdn.microsoft.com/en-us/library/akfttx8c(v=VS.90).aspx example for VB to see how virtual function works but the example used on MSDN doesn't even have a sub main!

I tried playing around with it but can't get it working. Anyone have an idea on how it should be setu开发者_Go百科p? Thanks!


Just add the following Main:

Module AppEntryPoint

    Sub Main()
        TestPoly()
    End Sub

End Module

And yes, that should have been obvious from the description in the MSDN article …

0

精彩评论

暂无评论...
验证码 换一张
取 消