School is back in session where I live and I got dropped in a programming class. Apparently we're using visual basic to make random projects. Is there anything I should know or do to prepare for these said projects? It won't be too complicated because the teacher is learning along with us. How complicated is VB anyway? I'm more into web design and development, so this is a little off my subject base. But it was either this or jortc lol. Halp?
Visual Basic is pretty basic, hence the name, I don't think you will encounter any problems with it.
The stupid syntax and stupid IDE are the worst parts of it.
To load a file,
[code]Open App.Path & "file.txt" For Input As #Filenum[/code]
Stupid capital letters and stupid random hash sign and stupid keywords that aren't used anywhere else.
Loops have some funky syntax
[code]For X = 1 To 100 Step 2
DoSomethingWith X
Next
[/code]
Then the do-while uses Loop to close instead
[code]Do While X <= 5
Something X
Loop
[/code]
Other than that it's easy.
Edit: Okay it's VB6, we weren't allowed to use anything other than that in class.
That's not how you load a file, is that VB6 or something?
[QUOTE=Sumtoxx;16591362]It won't be too complicated because the teacher is learning along with us.[/QUOTE]
What the fuck, what's the point if the teacher doesn't know about it either
[QUOTE=Hmn30;16592848]What the fuck, what's the point if the teacher doesn't know about it either[/QUOTE]
Don't know, don't care lol. I'm only taking that class so I don't get stuck doing something i truly hate. I can deal with being on a computer coding for a class period lol.
Yeah, stop using Visual BASIC, your experience from this language will skullfuck you the rest of your fucking life as a progammer. Anything else than Visual BASIC >:P
[QUOTE=onforty;16598948]Yeah, stop using Visual BASIC, your experience from this language will skullfuck you the rest of your fucking life as a progammer. Anything else than Visual BASIC >:P[/QUOTE]
I disagree, I began programming with Basic, moving to C was no problem for me.
As for the OP question, VB is pretty simple and can be used to make basic windows applications, it's a good step towards learning a more powerful language such as C, C++ or VC++.
VB may have horrible syntax but it still teaches you the fundamentals of programming.
[QUOTE=onforty;16598948]Yeah, stop using Visual BASIC, your experience from this language will skullfuck you the rest of your fucking life as a progammer. Anything else than Visual BASIC >:P[/QUOTE]
Visual Basic is very good to learn the basics of programming.
It is easy enough for someone who is a beginner to pick up and start creating programs, but you will still learn how to use variables, loops, ifs and all kinds of other things.
When moving to a new language it will help because you will only be learning the new syntax.
Visual basic is pretty simple (Once again, hence the name)
Most modules you would have to program in C++ are included as simple syntax entries and also can be accessed through the IDE, such as a web browser module.
Most programming that is done more by hand is just mostly logic and math operations, such as using integer values from textboxes and adding, subtracting, etc.
The most easy way to start is to check out the MSDN videos on VB. There's one on how to make a simple web browser, it'll teach you how to use the web browser module, how to input text strings into a module from a textbox, and the most simple matter of executing code with a button, in the case of the video, to put the text string value in the textbox into the web browser module as a url.
The simplicity of the language should not fool you, you can do alot of cool shit with it. Good luck to you OP.
Actually you can make pretty much anything you want with VB. Being a simple language doesn't mean you can do little with it.
Don't use if you're going for small file sizes.
Change the names. You don't want to be searching what Textbox1 was for while you could do other more productive things whit your time..
Sorry, you need to Log In to post a reply to this thread.