zulu1975
Sep 16th, 2002, 05:38 AM
Hi,
I am using VB.NET. I would like to build an SNMP program. Can I use vb.net (namespaces and api calls) or i need to program a COM object (from visual c++) and then call it from vb.net ?
I did n't see any snmp methods or functions in VB.NET. In visual c++ we have a lot of functions to call for snmp. An example is "SnmpGetRetry". We put the #include <winsnmp.h> and then declare that we need the Wsnmp32.lib in the build process. Then we can call our function.
How can we do that in VB.NET? Can we call SnmpGetRetry or we need to write the code in c++ and the call it from VB.NET ?
There are a lot of functions in Visaul c++, but i dont know if we can use in VB or VB.NET (ex.gethostname not gethostname method)
Finally I would like to ask if we Can call .lib files like c++
Thanks for your time,
zulu
PS.In other words can I program this project in VB.NET or I need to select again visual c++?
I am using VB.NET. I would like to build an SNMP program. Can I use vb.net (namespaces and api calls) or i need to program a COM object (from visual c++) and then call it from vb.net ?
I did n't see any snmp methods or functions in VB.NET. In visual c++ we have a lot of functions to call for snmp. An example is "SnmpGetRetry". We put the #include <winsnmp.h> and then declare that we need the Wsnmp32.lib in the build process. Then we can call our function.
How can we do that in VB.NET? Can we call SnmpGetRetry or we need to write the code in c++ and the call it from VB.NET ?
There are a lot of functions in Visaul c++, but i dont know if we can use in VB or VB.NET (ex.gethostname not gethostname method)
Finally I would like to ask if we Can call .lib files like c++
Thanks for your time,
zulu
PS.In other words can I program this project in VB.NET or I need to select again visual c++?