473,382 Members | 1,692 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Very newbie question about Navigation?

16
Hi I am trying to learn Visual Basic and I am getting everything for the most part, mainly because of my ability to read code like a book, but my question is what is the best way to Navigate through a Visual Basic program.

For example lets say I have a big Visual Basic Form1.vb and on Form1.vb there are buttons and I click on this button, now the only thing I want to change would be a "content" area, I want the navigation to be the same.

Do I load a new form and make it look exactly like the other one or is their an easy way to change just the contents of the "content" area? I have been looking at Panels for this, is this the right way to go?

Any help would be very much appreciated.

Thank You!
Sep 6 '07 #1
7 1276
Hi I am trying to learn Visual Basic and I am getting everything for the most part, mainly because of my ability to read code like a book, but my question is what is the best way to Navigate through a Visual Basic program.

For example lets say I have a big Visual Basic Form1.vb and on Form1.vb there are buttons and I click on this button, now the only thing I want to change would be a "content" area, I want the navigation to be the same.

Do I load a new form and make it look exactly like the other one or is their an easy way to change just the contents of the "content" area? I have been looking at Panels for this, is this the right way to go?

Any help would be very much appreciated.

Thank You!
You may be referring to visual inheritance where you have one form and derive other forms from it.

Here is a good article on the topic:
http://www.devcity.net/Articles/35/visual_inherit.aspx
Sep 6 '07 #2
Bruno43
16
Thanks that is what I was looking for unfortunately I should have specified it is Visual basic 2005 Express Edition so a couple of things in that article were different. It did however get me to looking around a lot more and I did find a template I could use. Thank you very much!
Sep 6 '07 #3
Bruno43
16
Actually I am not sure if this is what I am looking for...
I am looking for a way to make it appear that everything is happening in the same window. Meaning when I click a button I don't want another form to open up I just want it to repopulate the current window with new information.....
Sep 6 '07 #4
Actually I am not sure if this is what I am looking for...
I am looking for a way to make it appear that everything is happening in the same window. Meaning when I click a button I don't want another form to open up I just want it to repopulate the current window with new information.....
Your original approach is good, then.

An idea would be to have two panel objects.
One docked at the bottom to host the buttons.
Another filling the rest of the form.

You can even have panels inside panels. Endless possibilities.
Sep 6 '07 #5
Bruno43
16
Your original approach is good, then.

An idea would be to have two panel objects.
One docked at the bottom to host the buttons.
Another filling the rest of the form.

You can even have panels inside panels. Endless possibilities.
Thanks! Would you happen to know of any tutorials I could read/do that would help me get understand the basics of panels?
Sep 7 '07 #6
jamesd0142
469 256MB
newbi here!

How about creatinglabels and when u click the botton it sets all other labels to hidden and only enables the 1 u want...
Sep 14 '07 #7
Bruno43
16
Actually I did something similar with Panels, I saw a tutorial on VBDudes.com about it and is actually working out pretty well.
Thanks for the reply!
Sep 14 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

40
by: JohnnyCJohnny | last post by:
Is it pretty safe to say that almost all web surfers now use browsers that are Frames compatible? What are most people using these days? IE? Thanks
14
by: Steve | last post by:
Sorry in advance for my ignorance. Any help would sure be appreciated. I'm writing a fairly simple application with VB.Net and am obviously a bit of a newbie. This application will be used by 1,...
50
by: diffuser78 | last post by:
I have just started to learn python. Some said that its slow. Can somebody pin point the issue. Thans
3
by: Paul | last post by:
I want the <div id="navigation"column to be the same color all the way to the bottom. The "background-image: url(bg_menu_tile.gif);" was a try to force it with a long 1-pixel graphic - didn't...
27
by: Paulo da Silva | last post by:
Hi! I was told in this NG that string is obsolet. I should use str methods. So, how do I join a list of strings delimited by a given char, let's say ','? Old way:
3
by: db_happy | last post by:
Hello I install Oracle8 Enterprise Edition Release 8.0.4 for Windows NT and I choose Typical in Starter Database.As I understand ORACLE create a sample database for me (If that is wrong please...
112
by: Prisoner at War | last post by:
Friends, your opinions and advice, please: I have a very simple JavaScript image-swap which works on my end but when uploaded to my host at http://buildit.sitesell.com/sunnyside.html does not...
4
by: frankrentef | last post by:
Greetings all, I'm wanting to maintain what values in one file and call them in another. The purpose being to keep a single location where url's, login's and passwords can be maintained, then...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.