Hack Forums
embed ocx in vb6 exe - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Blackhat • Red Team • Offensive Security (https://hackforums.net/forumdisplay.php?fid=447)
+---- Forum: Botnets and Botting (https://hackforums.net/forumdisplay.php?fid=92)
+---- Thread: embed ocx in vb6 exe (/showthread.php?tid=108481)



embed ocx in vb6 exe - trance.geek420 - Jul 25, 2009

does anyone know how to embed an ocx file in a vb6 application, i would rather not do it with an sfx archive or iexpress, with C# i just added the dll/ocx as a resource and extracted it in the main function, but vb6 doesn't seem to know what i'm talking about...


- Darow - Jul 25, 2009

(Jul 25, 2009 07:03 AM)trance.geek420 Wrote:  does anyone know how to embed an ocx file in a vb6 application, i would rather not do it with an sfx archive or iexpress, with C# i just added the dll/ocx as a resource and extracted it in the main function, but vb6 doesn't seem to know what i'm talking about...

If you have the source of the vb6 app.
Open the resource editor and put in the OCX
Then add a Sub Main, and drop the OCX to where ever and regsrv it.


- trance.geek420 - Jul 25, 2009

ok, that's what minidos does, i tried it with my botnet, but it didn't seem to work (i put a msgbox in the sub main), but then again the sub main was in a module so that may be why (i suck at vb6, i'm a vb.net/C#.net programmer :P)


- Darow - Jul 25, 2009

(Jul 25, 2009 12:34 PM)trance.geek420 Wrote:  ok, that's what minidos does, i tried it with my botnet, but it didn't seem to work (i put a msgbox in the sub main), but then again the sub main was in a module so that may be why (i suck at vb6, i'm a vb.net/C#.net programmer :P)

Ugh .net framework.


- NgF Limitz - Jul 26, 2009

i will crypt your bot FUD using icrypt and i can get you 300+ DL per day...add me on AIM - soco runz dubz