Originally posted by xTrEsX3
Hello, I Need some DLL,, Exe, or source code for vb 2008.
i creating an batch to executable project and i need help on making batch files executable. exe
Thank You! Hope i'm not asking for too much.
So you started a project to convert batch files to executables, but then it turns out that you actually don't know how to actually complete the project in any way whatsoever and now you want us to write the code for you?
For a very simple batch to executable converter, just save the batch code into the executable (you could use the CodeDOM compiler) and then execute it from there (directly on the system). I'll give you a hint for both of what I just mentioned:
- You must login or register to view this content. (look into the System.CodeDom.Compiler namespace, as seen here: You must login or register to view this content.)
- You must login or register to view this content. (look into the Process class and ProcessStartInfo class)
I will say this: Visual Basic is NOT the ideal language to create a batch to executable converter (in fact, I'd recommend sticking to compiled languages). If I was you, I'd build this in C, you'll get a smaller output file and it'll execute faster (unless you were so inclined to apply OOD to this project, in which case I'd recommend C++).
Again, the idea I gave you is very simplistic, I'm sure there's better ways of going about building such a converter, but the way I mentioned is a quick, cheap, easy to implement method.