using lib in vb
-
hi every one i have a lib that create it in vc. can i use it in vb? is there possibility using static library in visual basic? please guide me. with special thanks
-
hi every one i have a lib that create it in vc. can i use it in vb? is there possibility using static library in visual basic? please guide me. with special thanks
Sure. If it's a COM-based library, then you can add a reference to it in your projects Properties. If it's not COM-based, then you'll have to use P/Ivoke to get at the functions exported by the library. Google for "vb.net pinvoke" for examples.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
Sure. If it's a COM-based library, then you can add a reference to it in your projects Properties. If it's not COM-based, then you'll have to use P/Ivoke to get at the functions exported by the library. Google for "vb.net pinvoke" for examples.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008thanks but how is it about vb6?
-
thanks but how is it about vb6?
It's done the same way. If you just put "VB" in your post somewhere, everyone will assume you're talking about VB.NET, not VB6.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008