Mayayana submitted this idea :
> What you linked to looks like very basic winsock
> functions to me. (Maybe with a function to convert
> between big endian and little endian? I don't know
> enough about .Net to be sure.) You can do that in
> VB directly using winsock API, or with the winsock
> OCX. (The winsock class from Oleg Gdalevich is still
> around online.) I think you'd also need to use capicom
> functions, for the MD5 encryption, which shouldn't
> be a problem, but I haven't used it myself.
>
> Maybe the question should be how you're going to
> use the software. If it's just for you then it might be
> easiest to do what you're doing... and learn in the
> process. If it's for distribution that changes the
> picture. ...Adding a 1GB+- .Muck dependency for an
> OCX? Need I say more?
First off - it's not that big. I know you like to keep pushing that,
but it's simply not true. My .NET folder on this machine is just under
a gig, and I have basically every version of .NET installed. 32-bit and
64-bit.
Further, on any new machines - beyond xp, the framework will already be
present (3.0). So - depending on which version of the framework that
is targeted, it's really only xp you might have to install the
framework (it's very common to find at least 2.0 already installed),
and you could always use the 3.5 or 4.0 client profile. My preference
would be to just target the 4.0 client profile - yes, you will probably
almost always install the framework, but, it's much smaller then a full
install and you get to use all the new features... Though, in his
particular application he could easily get away with just targeting the
2.0 runtime - and then he would probably almost never have to install
(3.0 is the 2.0 runtime, with some additional classes).
As for the rest, creating a com accesible class is pretty easy.
Here is a simple example for using a vb.net class in vba:
http://support.microsoft.com/kb/317535
The process is basically the same for vb6.
--
Tom Shelton