![]() |
|
[.NET] [Help] Program opens another VB.NET Program [Button?] - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] [Help] Program opens another VB.NET Program [Button?] (/showthread.php?tid=1070408) |
[Help] Program opens another VB.NET Program [Button?] - Jawley - Feb 18, 2011 Ok, Well I have two VB.NET projects that are completed, I want one project to be the main screen that will show, then with a button it can redirect or open a new window to the other project, but I want both projects to be built under the same name/program. Code? or any TuT links? Ty in advance if this is answered! * - ★Cooldude★ - Feb 18, 2011 Project>Add form. Then form2.show. * - Jawley - Feb 18, 2011 (Feb 18, 2011 02:15 PM)★Cooldude★ Wrote: Project>Add form. Then form2.show. Will try, thanks alot if it does work. Pretty simple question luckily. * - ★Cooldude★ - Feb 18, 2011 No problem, I'm glad I could help. 🙂 * - Ethereal - Feb 18, 2011 Or if you it is another executable: PHP Code * - Jawley - Feb 18, 2011 (Feb 18, 2011 02:21 PM)Ethereal Wrote: Or if you it is another executable: Well I also want it binded in the program I'm making, I don't want two programs in the same folder, or when I build it will it automatically open that program in the Process.Start if it is alrdy built. * - Ethereal - Feb 18, 2011 (Feb 18, 2011 02:40 PM)Project` Wrote: Well I also want it binded in the program I'm making, I don't want two programs in the same folder, or when I build it will it automatically open that program in the Process.Start if it is alrdy built. In that case, you can have the bytes saved as a Base64 string, and then at runtime, convert the B64 string to a Byte array, write it to a new file and execute it. Or do the same with a runPE. * - Jawley - Feb 18, 2011 (Feb 18, 2011 02:42 PM)Ethereal Wrote: In that case, you can have the bytes saved as a Base64 string, and then at runtime, convert the B64 string to a Byte array, write it to a new file and execute it. I'll give it a shot, just getting used to VB.NET so just really messing around and trying to work with new variables. |