cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post

Build a better NOC (Part 1)

Level 15

In the not so distant past, I wrote a four part series entitled Visual Basic 101 where I explained how to build a bandwidth calculator for SAM component monitors using nothing more than Visual Basic.net. That was a fairly popular series so I thought, "Why not go a step further?"

The Step Further.

I have no idea what your environment looks like or what browser you use. However, I can make the assumption that you're always looking to improve it to suit your needs. For example, what browser are you using with SAM and/or NPM? Chrome, Firefox? Do they offer the plug-ins and flexibility you desire? If not, do what I did (in less than an hour mind you). Build your own browser. Below is a screenshot of the Quad browser I just built which enables you to view four screens at once.

quad.png

Now this may not be very practical on a tablet or laptop. But toss it on a projector or an 80" LCD? Wow. Pretty slick! You can have SAM in one corner and NPM in another. You could have four different levels of SAM shown at one time if you like. The possibilities are limitless. The point is simple. This browser is not feature rich whatsoever. What it does do is demonstrate just how quick and easy it is to build your own environment to suit your needs.

Lesson 1 - Installation

Before we begin, you'll need to install Visual Basic Express 2010, free courtesy of Microsoft. Click this link to begin downloading, followed by the installation.

Lesson 2 - The Environment

Now open Visual Studio Express and select New Project from the File menu. A new window will pop open. From there, select Windows Form Application, then click OK. If you done everything successfully, your screen should now look like this:

ide.png

Now you have all you need to build the Quad Noc Browser, minus the code. Let me explain what you're looking at above:

  • Highlighted in red is a Form. A form, in essence, is a window; hence the name, Windows. A form is an empty workspace where all of your buttons and controls will live, once you put them there. (Notice the form of the browser above with all of its controls.)
  • Highlighted in green is the Toolbox. The toolbox contains all of the controls you will need to build almost anything, including the browser. These controls may be placed on the form as needed. As you can see in the browser, there are multiple web browsers, radio buttons, labels, and so on. These all came from the toolbox.
  • Highlighted in purple is the Properties window. Every control, or object (including the form itself) has certain properties. These properties can be set and changed both before running the program and while the program is running. Think about the properties of television. One property is its color. Other properties include the TV's height, weight, picture resolution, and so on.

Homework

Play around with this new environment and try to get comfortable. Explore the controls and the properties of the more common controls.
Tip: Once you place a control on the form and select it, the Properties window will show the properties of that control.

In part 2 we'll build the form with all of the controls.

9 Comments
Level 10

THANK YOU!

Level 15

Welcome 🙂

Level 8

Thanks. I think I like this better than cycling through tab slideshow in Firefox.

Level 13

Love the idea, but I recently found the "tile tab" plugin for Firefox. it works great

Level 15

Nothing easier than having someone else do it! My way let's you build whatever you want though.

Level 9

Thanks

Level 15

See a few comments above.

Level 8

Thank you for this...

Level 15

THanks

About the Author
Who am I? • I met Robert Frost at the end of the road less traveled, and then pointed him in the right direction. • Einstein asked me to define "Up," and I did. • I cliff dive from airplanes. • On Christmas, Santa comes to me for gifts. • I play three-cushion billiards with one hand. • Lions ask for my protection (I speak Lion). • Bobby Fischer and I came to a stalemate while playing chess. • I have literally given a woman the shirt off of my back. • I have also helped an old lady cross the street. • I know what a dangling participle is. • Mozart bequeathed his Requiem to me, and I corrected it. • I was thrown out of an Eric Clapton concert twice in the same night for drawing too much attention to myself. • I am a verbose minimalist. • I am Bronx. Who are you?