Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Other Topics > Computer Technical Help
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-09-2007, 05:50 AM
beenben beenben is offline
Senior Member
 
Join Date: Dec 2003
Location: w/in my Bankroll
Posts: 2,076
Default 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?
Reply With Quote
  #2  
Old 01-09-2007, 10:24 AM
nuclear500 nuclear500 is offline
Senior Member
 
Join Date: Aug 2004
Location: Madison, WI
Posts: 1,065
Default 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.
Reply With Quote
  #3  
Old 01-09-2007, 04:48 PM
wallywojo wallywojo is offline
Senior Member
 
Join Date: Feb 2006
Location: Put the knife away and shut your mouth
Posts: 582
Default 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?
Reply With Quote
  #4  
Old 01-09-2007, 05:21 PM
Sniper Sniper is offline
Senior Member
 
Join Date: Jun 2005
Location: Finance Forum
Posts: 12,364
Default 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.
Reply With Quote
  #5  
Old 01-10-2007, 02:12 AM
beenben beenben is offline
Senior Member
 
Join Date: Dec 2003
Location: w/in my Bankroll
Posts: 2,076
Default 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.
Reply With Quote
  #6  
Old 01-10-2007, 11:31 AM
wallywojo wallywojo is offline
Senior Member
 
Join Date: Feb 2006
Location: Put the knife away and shut your mouth
Posts: 582
Default 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.
Reply With Quote
  #7  
Old 01-10-2007, 12:27 PM
kerowo kerowo is offline
Senior Member
 
Join Date: Nov 2005
Posts: 6,880
Default 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.
Reply With Quote
  #8  
Old 01-10-2007, 11:46 PM
BiPolar_Nut BiPolar_Nut is offline
Senior Member
 
Join Date: Aug 2006
Location: Slightly over the edge
Posts: 1,590
Default 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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:14 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.