View Full Version : VB Sniffer - (VB 6.0 --> .Net)
Blade_DSS
11-27-2002, 09:54 AM
Has anyone converted the VB 6.0 sniffer code to VB .NET code. Since I only purchased the VB .NET standard addition (yeah, I'm a dumbass, but it is to late), that feature seems to be "left out". I was wondering if anyone had VB sniffer code in .NET format they would like to share, so that i don't have to print out the code and work from scratch. It has been several years (like 8) since I did any coding in VB so working code to start with would be nice.
Thanks,
Blade_DSS
cheeze69
11-27-2002, 10:43 AM
I tried converting the VB sniffer code (when it was first released) using the converter in VS.NET, but I ran into a bunch of problems.
The most common one was the "define as any" statements (or similar - I'm not in front of it now). The new version of VB in VS.NET does not support the "as any" command.
I thought, "OK, I'll just get the return types of the various API functions." Well, apparently, I don't know enough about VS.NET because I could not find this info easily in the help and even when I did find-out that a function was returning "DWORD" for example, I did not know what the keyword in VB needed to be.
Then, I found the DLL solution from Maggotboy and just shitcanned the VB project for now.
Mike
Blade_DSS
11-27-2002, 10:49 AM
Is there any chance I can get a copy of your .NET professional convered code? I didn't even have that to start with so I am still attempting to convert Types to Structures etc.
I am also not quite sure what the declartions should be either, since the "as any" type is not allowed, which is where i started to stumble. If i could just get some basic code of a application opening a process in memory, reading from memory, and then storing it in a variable, I can handle the rest of the conversion, or even better right something custom, which is what my whole intentions are. My knowledge of C is minimal, but I know once I would get some working code in .NET I could really do alot with it.
Additionally, I have been looking for a example like this in VB for along time, with the capability of accessing memory, so there is some self gratification in understanding this as well.
If anyone can do the conversion, or just write a simple (Non EQ) related example in .NET, I can finish the rest.
I am going to keep plugging away.
Blade_DSS
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.