Photoset reblogged from UGUU~ with 1 note
GETTING STARTED. Open up Visual Basic, and when prompted, select the Standard EXE option (img 1). Don’t worry about the other two, I will probably not be getting into those. So what you now see is what is called a Form. A Form is the template for any program you make. You place all text, buttons, images and everything else onto this. But all the coding is done on a different section. To get to the coding part, look at the toolbar on the top, go to view, and select Code. It should be the first option. But before we can code, we need Objects to code with. Objects are anything that you can place on a Form. The two Objects that we will be using for this first lesson are Command Buttons and Labels. Command Buttons are Objects that can be clicked during run-time, and when clicked, will follow any code that you put under it. Labels are objects that can display any text that you set it to, and can be changed during run-time using Command Buttons or if clicked. To create a Command Button, click or double-click the Command Button option in the left hand toolbar (img 2). If you click once, you can click-and-drag a custom size Command Button. If you double-click, it will make a normal sized button for you in the center of the Form. To create a Label, click or double-click to create in the same manner as a Command Button. Alrighty!
So the next part of this tutorial is to make a “Hello World!” Application. Basically, it’s a program that will display the text “Hello World!” after Command Button is clicked. Also another thing is to add a Command Button that will close the program. To start, we need two Command Buttons and one Label. We can make a large Label, but for the Command Buttons just leave them at regular size. But you can change sizes at any point in time anyways, so it doesn’t really matter. But remember, part of Visual Basic is to also make it visually appealing by keeping it neat, organized and easy to follow. Okay so now you should have something that looks similar to this (img 3).The next thing we need to learn is about the Properties Window. Each Object, including the Form, has a Property Window on the bottom right-hand corner of the screen (img 4). In here you’ll find, well, properties. These properties include but are not limited to Caption, Visibility, Alignment, Name and Font. For this, we will be using Caption, Alignment, Name and Font. The Caption Property is the display text for Labels, Command Buttons and Forms. Alignment is just where the text is aligned to, primarily in Labels ex. Left, Right and Center. The Name Property is very important. The Name you set each object is the Name that you will use while coding. Each Name does have to be unique; no two Names can be the same. Now to be very organized with larger programs, there is usually a 3-Letter representation for each Object before each Object’s Name. For example, if you have a Label Named “Display” then for better organization you would name it “lblDisplay.” Since it is a label, the 3 Letters before the actual name are “lbl.” This varies for each Object. Command Buttons are “cmd,” and Forms are “frm.” Note that the Name Property does not show up as text anywhere on the Object, it is used only for coding. For practice, we will use this rule of thumb. It doesn’t hurt to get into the habit of being better organized! So to start you will change the Caption of one of the Command Buttons to “Display.” Change the Name of this Command Button to “cmdDisplay.” For the second Command Button, change the Caption to “Close,” and the Name to “cmdClose.” And for the Label, change the Caption to equal nothing, we will change the Caption during run-time. Change the Name to “lblDisplay.” Also we want to change the Alignment of the Label to “Center” and we want the Font to be large, so select 24. And one last Object to edit, is the Form itself. It is crucial to Name all your Forms when working with multiple Forms, so we will get into the habit now before our larger programs crash and burn to the ground. To select the Form, just click the title. Change the Caption to “Hello World Application,” and the Name to “frmHelloWorld.” Something to note is that you cannot have spaces in Names. So this is what we have so far (img 5). But now onto the coding!
A nice way to start is by double-clicking your Close Command Button. Whenever you double-click an Object, it will open it up in the coding section and a section for it. So to make this Command Button Close your program when clicked, we want to use the “Unload” function. So to add this to the code, press tab and type “Unload Me.” Why press tab? It will indent the code nicely, and really helps with organizations, especially when you have code that happens underneath under other code, it really does help with keeping all your code neat and easy to read. But what does the “Me” mean? “Me” is an alias that you can use for the Form that you are currently adding code too. So when you use “Unload Me,” it will Unload the current Form. Since you only have one Form in this program, it will close the application. So now it should look a little something like this (img 6). But now on to the main application of this program. Go back to your Object and double-click on your Display Command Button. So we want to change a property value of the Label when this Command Button is clicked, specifically the Caption value. To do this we will type “lblDisplay.Caption.” Now this is just the first part. To make it display the text “Hello World!” we need to add an equal sign and some quotations, along with our desired text. So now it will say “lblDisplay.Caption = ‘Hello World!’” Our code now looks like this (img 7) And that’s it! To test your program, click the play button at the top (img 8), or you can press F5 on your keyboard. If something doesn’t work right, and you need to end the whole program (for larger programs) you can click the stop button. And that’s it for the first lesson! If you have any questions, ask away!
Source: zachsspecialcorner
Link reblogged from UGUU~ with 1 note
Okay guys here’s the download link for Visual Basic 5 CCE! My first tutorial will hopefully be up shortly, it’s just that I’m actually quite busy as of lately. :p To download click the title, and then enter the username as “Public” (without the quotations) and there is no password. Enjoy! Also thank you very much to my friend who actually put up the download for me! His website isn’t up yet, but when it is I’ll link you all to it!
Source: zachsspecialcorner
Link reblogged from UGUU~ with 1 note
I have decided to post some Visual Basic tutorials for Visual Basic 5. The download is free and all that. Visual Basic 7 is out, however it’s not free. But don’t worry! Visual Basic 5 is just as capable! For those wondering what on earth Visual Basic is, it is basically a basic programming program! It can do the basics and more advanced things as well based on all your algorithms! I will be putting up another post soon for the first lesson! To download click on the title…
Visual basics.
I see Zachu.
I see.
Source: zachsspecialcorner
Post with 1 note
Aloha dearies.
I just realized how much art I’m piling up now.
I also found a shit ton of stamps and envelopes in my shelf.
So I was wondering if any of you would like a letter from me?
It’s just going to include some art, stickers and maybe even a keychain as well as a fun little letter to you.
I will send letters internationally.
I don’t mind that.
I guess you could message me if you’d be interested?
Photo reblogged from im actually a galaxy with 245 notes
There will be better days for now just enjoy the little things
Source: royallie
Audio post reblogged from → MEMENTO MORI ← with 1,300 notes - Played 5,213 times
[Flash 9 is required to listen to audio.][Tsuritama OP] Tsurezure Monochrome
Source: wookeys
Photo with 1 note
I DID NOT HAVE A REFERENCE FOR THIS AT THE TIME SO HE PROBABLY LOOKS WAY OFF.
This was for a stop motion animation project for my Communication Technology class.
I just did the stop animation project on this picture done step by step.
It ended up being 897 pictures.
It was fun though
Damn this took a while ahaha
Sorry about late requests and commissions!
I will get them done soon, I promise.
School is just taking up a lot of my free time now and it’s hard to get any time to relax.
Plus exams are coming up
Ahhhhhhhh.
The character is Renzou Shima from Ao no Exorcist/Blue Exorcist.
Textures found by my friend Zach who found them on a blog.
Page 1 of 18