Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 150,051 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 1,707 people online right now. Registration is fast and FREE... Join Now!




linking a form to another

 
Reply to this topicStart new topic

linking a form to another

unlimited
20 Feb, 2008 - 01:14 PM
Post #1

New D.I.C Head
*

Joined: 16 Apr, 2007
Posts: 27


My Contributions
hi again. I'm making a webbrowser (as a small roject) but I have no idea in how to link any additional forms to it. and does anyone know how to run a second form without having to run a first form? I really really not have a clue where to start, so I don't have any code to show sad.gif. hope someone can help me xD.
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Linking A Form To Another
20 Feb, 2008 - 05:03 PM
Post #2

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,483



Thanked: 161 times
Dream Kudos: 9075
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
Questions:

  1. If you're making a web browser, why do you need other forms linked to it?
  2. Your 2nd question is rather confusing, please explain
    QUOTE

    How can I run a second form without running a first


To get you started, read up on the WebBrowser Control, that is the control you will need to know in order to create a web browser smile.gif
User is offlineProfile CardPM
+Quote Post

unlimited
RE: Linking A Form To Another
21 Feb, 2008 - 06:08 AM
Post #3

New D.I.C Head
*

Joined: 16 Apr, 2007
Posts: 27


My Contributions
QUOTE(PsychoCoder @ 20 Feb, 2008 - 06:03 PM) *

Questions:
  1. If you're making a web browser, why do you need other forms linked to it?
  2. Your 2nd question is rather confusing, please explain


thanks for replying PsychoCoder. well 1. I have made a web browser interface and navigation is functional (Home,Back,Foward,etc) but I also want to give the possibility of opening files, saving and modifying html or text based documents, and so I need to embed the savefiledialog and openfiledialog in forms... right? xD

and 2. say you make 2 forms but you cannot start the second one without starting the first form on, how can I do exactly that, test the second form to make sure it works right without runnig the main form. hope now is less confusing smile.gif

This post has been edited by unlimited: 21 Feb, 2008 - 06:17 AM
User is offlineProfile CardPM
+Quote Post

Jayman
RE: Linking A Form To Another
21 Feb, 2008 - 10:34 AM
Post #4

Student of Life
Group Icon

Joined: 26 Dec, 2005
Posts: 7,319



Thanked: 66 times
Dream Kudos: 500
Expert In: Everything

My Contributions
To run the second form for debugging purposes without running the main form first, go into menu item Project -> ProjectName Properties, select the Application tab and change the Startup form to the name of the form you wish to test.
User is offlineProfile CardPM
+Quote Post

unlimited
RE: Linking A Form To Another
25 Feb, 2008 - 08:00 AM
Post #5

New D.I.C Head
*

Joined: 16 Apr, 2007
Posts: 27


My Contributions
QUOTE(jayman9 @ 21 Feb, 2008 - 11:34 AM) *

To run the second form for debugging purposes without running the main form first, go into menu item Project -> ProjectName Properties, select the Application tab and change the Startup form to the name of the form you wish to test.


thanks a lot for the reply smile.gif... I will try it now.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 10:17PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB.NET Help!

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month