I think you will have to use form1's button to generate form2. I'm probably wrong though.
hey so i wanted to know if there is a way to, from form1 , save form2 as a .exe appart on desktop.
like when i press a button if form1 , form2 is created on the desktop appart.
I thought about something like that but it doesnt work:
Dim Filename As String = My.Computer.FileSystem.SpecialDirectories.Desktop & "\Form2.exe"
IO.File.WriteAllBytes(Filename, Form2)
For more info:
i want to make an app that has 2 forms:
form1's work: it designs and modify form2 and when finished build it.
like this picture an app for @Pingo :
[IMG]https://i203.photobucke*****m/albums/aa29/Baxter_esa/TrainerScreen.png[/IMG]
i want the same app... @Brinuz @Hassan
I think you will have to use form1's button to generate form2. I'm probably wrong though.
@ilikesmeagol
You want to make a trainer/dll loader too?
Im not sure how many ways it can be done but i used codedom.
You can use VB but in that picture, i used C#.
Just do what i did and start off with 2 forms. Google how to edit form2 from form1 if you dont know how.
Once you have all that done, start with the codedom code, google examples.
I googled codedom too but in the end, i used my own method. The example i seen had alot of unnecessary things
i didnt need.
Everything is written in string format.
Any code you dont need to edit, for example my write/read process memory class,
can be put in a text file and stored in the resources and added to the project at build time.
It can seem alittle overwhelming at first but think of it like a picture puzzle.
Add one piece at a time and before you know it, it starts taking shape.
It's going to be an absolute bitch, trust me. There are a couple of ways you could approach it:
a) Use Reflection.Emit and generating your own assembly, using dynamic methods and IL (like assembly but for .NET). Definitely not something you'd like to get into if you're still relatively new to VB.NET as it is an advanced topic.
b) A simpler method, use CodeDom as Pingo described and generate an application using .vb source strings. You can find some examples on Google, I'm not going to guarantee it's going to make any sense to you though. (Hint, you're going to need to use the GenerateAssembly and OutputAssembly property from the CompilerParameters object you make).
Last edited by master131; 09-08-2012 at 08:43 AM.
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]
Try it on your own for now to see how you do first. If you get stuck, i'll give you a hand.
Im no expert in codedom nor VB though.
I'll see if i can put together a simple example in vb so you can get an idea.
What you making?