Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 06-25-2006, 04:57 PM   #1 (permalink)
 
Newb Techie

Join Date: Nov 2005

Posts: 19

mitchman

Send a message via AIM to mitchman
Default VB code

Hey, im using Microsoft Visual Basic 2005 express, and i want to make a cool program. But im kinda confused. I understand basic commands, like
IF _
THEN _
type stuff, but what i really cant get is the code to make it happen.

i want to make a program that actually does something, i dont mean like changing the background of the application, or just resizing, i mean using other stuff on the computer.

If you want to command your program to open Notepad, how would you know what code equals openning notepad, or other basic commands that someone would want, is there a site or something that can list commands.
mitchman is offline  
Old 07-24-2006, 07:36 PM   #2 (permalink)
 
Newb Techie

Join Date: Dec 2004

Posts: 45

Babbage

Default

Hi mitchman,

The best thing you can do to find out how to code what you want is to pretty much scour the internet and see if you can find a function or snippet of code that matches (or comes close) to what you need.

As far as reference for commands and everything, the best place would be the people who created the language -- in this case, Microsoft. Check out the following location for Visual Basic .NET reference information:

http://msdn2.microsoft.com/en-us/library/25kad608.aspx

I would also recommend checking out this page for code samples, and tutorials:

http://msdn.microsoft.com/vbasic/downloads/default.aspx

And, to launch an outside process from your application, check out this site:

http://www.devx.com/dotnet/Article/7914

Enjoy!
Babbage is offline  
Old 07-26-2006, 07:58 PM   #3 (permalink)
 
Newb Techie

Join Date: Nov 2005

Posts: 19

mitchman

Send a message via AIM to mitchman
Default

thank you very much i will be saving this post to come back to in the future, i bet you figured i wasnt still watching this post.

-Mitch
mitchman is offline  
Old 07-27-2006, 11:38 AM   #4 (permalink)
 
Contributor

Join Date: Jul 2006

Posts: 84

Ken11235

Default

Also, I believe that if you register Visual Basic 2005, you can download a free version of Microsoft's book "Visual Basic 2005: Create a Program Now".
Ken11235 is offline  
Old 07-27-2006, 09:10 PM   #5 (permalink)
 
Newb Techie

Join Date: Jul 2006

Posts: 34

The Future

Send a message via AIM to The Future
Default

I think the expression for what you're trying to do is the proverbial "trying to run before you learn to walk" situation. I recommend sitting down for an hour or two a day with an introductory book to Visual Basic, and from there learn the fundamentals. After that, you will have a much broader view of what the language can do, as well as how it can generally be accomplished (whether it is a language feature, API call, or algorithm altogether).
The Future is offline  
Old 07-30-2006, 03:25 PM   #6 (permalink)
 
Newb Techie

Join Date: Jul 2006

Posts: 4

ganelon

Default

mitchman, I recommend you to start with realy simple stuff like knowing control objects from basic toolbox. Because they are visual elements, you will see the result of your work immmediately and it will be much more fun that way. Find out how to manipulate them using properties and methods so you will know what can you do by simple change of a property and what you have to code yourself. Right after that you will have to learn about data types and ways to manipulate with them. Get to idea which of them to use in which situation, how to convert them etc. Everything else (API functions for example) should take a part after that. Don't rush. VB is easy to learn and you will get to know it quickly.
Regards.
ganelon is offline  
 
Closed Thread

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On