#1
|
|||
|
|||
programmers - Visual Basic dumb question
Got a book out of the company library - programming 4 absolute beginners. Downloaded the free version of visual basic. Do you know the program at all? It's installed on my home computer so I can't see exactly what I want to ask you but it basically told me to put stuff on the tab where the commands go but there's already some stuff there because before it told me to do that it had me put some labels and buttons in the form and move them around and change the text, etc. Where do I plop the commands in?
|
#2
|
|||
|
|||
Re: programmers - Visual Basic dumb question
eh? heh
GUI IDE's to develop GUI forms are WYSIWYG. Draw the form you want, double click the command button or icon you want to do something and it brings up the code sections to code in what you want to occur when buttons are depressed or when events are triggered. There will be code in the .BAS and .VB files by default as there still has to be code to tell Windows how to draw the form you've...drawn....but you can usually exclude that from being shown. |
#3
|
|||
|
|||
Re: programmers - Visual Basic dumb question
Do you have an idea what you want to do or is learning VB what you want to accomplish?
|
#4
|
|||
|
|||
Re: programmers - Visual Basic dumb question
Hey been,
If you installed VBExpress, it should give you access to the Build a Program NOW (VB Edition) book online. Which should walk you thru using the interface as well as starting to code. |
#5
|
|||
|
|||
Re: programmers - Visual Basic dumb question
Thanks for the replies. I want to learn how to program. I suspect that I have whatever setting that shows the code of how to draw the stuff instead of hiding it so it didn't match the how-to book. I saw the thing about how to use the program and it was cool - step by step - but I couldn't figure out how to get back to it.
|
#6
|
|||
|
|||
Re: programmers - Visual Basic dumb question
Yes in VB there are two views that you can work from the code and design. At the top of the window below the main toolbars you will see the open items and the view they are in (code/design). Things that you get used to in VB is first when you want to add code to a control from design view you can double-click it, but you should become aware of the context that the code runs in, the event. These are listed in the drop down boxes of the code view. This is one of the first things when I learned VB that helped me understand how it works.
|
#7
|
|||
|
|||
Re: programmers - Visual Basic dumb question
Do you want to learn to program for a particular reason? I think there are better languages to learn than VB depending on what your goal is.
|
#8
|
|||
|
|||
Re: programmers - Visual Basic dumb question
[ QUOTE ]
I think there are better languages to learn than VB depending on what your goal is. [/ QUOTE ] Agreed....C/C++, Python, PERL, Java, TK/TCL, AHK, hell, even ASM or .NET depending on your final goal/reasons for learning a language. As far as that goes, dos batch "programming" or shell scripting in Korn or BASH could even be helpful. What is your end goal? |
Thread Tools | |
Display Modes | |
|
|