473,809 Members | 2,780 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Very newbie question about Navigation?

16 New Member
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 1291
VBPhilly
95 New Member
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 New Member
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 New Member
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
VBPhilly
95 New Member
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 New Member
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 Contributor
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 New Member
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
2955
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
1729
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, 2 or at most 3 people concurrently and I'm using Access 2003 for my data source. We are not dealing with a large amount of data (5 or 6 tables, for a total of maybe 3,000 records - one table having the majority of that). This application is...
50
5753
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
2519
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 work. Any ideas? Here's the HTML: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head>
27
2863
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
1689
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 inform me).Also the installation create some services.Probably my starter database is OracleServiceORCL and OracleStartORCL which they running.Also running OracleTNSListener80 and OracleWebAssistant. Then i try to connect with Oracle Enterprise...
112
4776
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 work. To rule out all possible factors, I made up a dummy page for an index.html to upload, along the lines of <html><head><title></title></ head><body></body></html>.; the image-swap itself is your basic <img src="blah.png"...
4
1044
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 called as needed from another file. In file #1 I have... import time
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10387
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10120
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7662
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5689
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.