![]() |
|
[.NET] Open a Form in another form - 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] Open a Form in another form (/showthread.php?tid=4379432) Pages: Pages
1
2
|
Open a Form in another form - GHD124 - Aug 5, 2014 This is sort of a tutorial and help at the same time. i am using this code to open Form 2 in Form 1: Code Dim newform As New Form2but is there a way to make this code with, lets say opening mozilla or something? * - Cairns - Aug 5, 2014 Yes, it is called an addon lol. You can't do it with your logic though. * - Euras - Aug 5, 2014 I don't know what you mean by "opening mozilla". Do you mean if you click a button on your form, Firefox opens? If so then you would use the Process.Start() method. By the way, this is not by any means a tutorial. * - GHD124 - Aug 5, 2014 (Aug 5, 2014 02:26 PM)∃uras Wrote: I don't know what you mean by "opening mozilla". Do you mean if you click a button on your form, Firefox opens? If so then you would use the Process.Start() method.i wanted to open the another program in my form, like i showed with that code. (Aug 5, 2014 02:21 PM)Cairns Wrote: Yes, it is called an addon lol. You can't do it with your logic though. thanks for that constructive and well thought out comment you posted there. it really helped me out and i would like to commend you for posting this comment on my thread. hope the HF community looks upon you with great respect and divinity because you sir are a the most intellectual and Dignified person i have ever met. * - Euras - Aug 5, 2014 (Aug 5, 2014 02:33 PM)GHD124 Wrote: i wanted to open the another program in my form, like i showed with that code. Yes but all that code is doing is showing Form2. In regards to Firefox, are you wanting to open the browser when you click a button, or are you talking about embedding the browser into your form? Sorry but you need to clarify what you're wanting a little better. * - Josh - Aug 5, 2014 (Aug 5, 2014 02:43 PM)∃uras Wrote: Yes but all that code is doing is showing Form2. In regards to Firefox, are you wanting to open the browser when you click a button, or are you talking about embedding the browser into your form? I would say it's quite clear it's the latter. * - GHD124 - Aug 5, 2014 (Aug 5, 2014 02:43 PM)∃uras Wrote: Yes but all that code is doing is showing Form2. In regards to Firefox, are you wanting to open the browser when you click a button, or are you talking about embedding the browser into your form?i would like to embed the browser into the form, thats a way better way of explaining it. * - Euras - Aug 5, 2014 (Aug 5, 2014 02:47 PM)GHD124 Wrote: i would like to embed the browser into the form, thats a way better way of explaining it. In that case, you might find this link useful: https://developer.mozilla.org/en-US/docs/Gecko/Embedding_Mozilla * - GHD124 - Aug 5, 2014 (Aug 5, 2014 02:52 PM)∃uras Wrote: In that case, you might find this link useful: thanks this will help alot. i will post an update when i get this to work. 😖 * - TheBarret - Aug 5, 2014 Holy crap, wtf is with the horrible background, i think my iris just started to bleed... o.O * - Dispersia - Aug 5, 2014 Why don't people only screenshot the relevant things anymore. So annoying. * - SIM-1676753 - Aug 5, 2014 (Aug 5, 2014 05:01 PM)Dispersia Wrote: Why don't people only screenshot the relevant things anymore. So annoying. Welcome to the .Net Section 2014, where we screenshot everything except for relevant things. /joke * - Washi - Aug 5, 2014 Use the SetParent function. PHP Code * - GHD124 - Aug 6, 2014 (Aug 5, 2014 04:45 PM)TheBarret Wrote: Holy crap, wtf is with the horrible background, i think my iris just started to bleed... o.O its not a background its another form * - TheBarret - Aug 6, 2014 (Aug 6, 2014 01:24 AM)GHD124 Wrote: its not a background its another form Oh my bad, but whats the purpose of that app? give them seizures ? 🤐 |