Go Back   Forum Care Forums > Development Reference Area > Visual Basic

Reply
 
LinkBack Thread Tools Display Modes
Newbie to VB
Old
  (#1)
Pop`
Guest
 
Posts: n/a
Default Newbie to VB - 06-04-2007, 09:35 AM

X-posted .misc and .vbscript; no f'ups set yet.

Hi,

I am looking to get into visual basic scripting and have fiddled a bit with
the Word and Excel provisions of it. I have a decent background in batch
files (.bat/cmd) and now wish to go another step. But, I can't believe how
little information of the type I am looking for seems to exist, so I thought
I'd go to the experts (huh? what's that sucking sound I hear? Oh, it's me!)

VB 6 seems to be the latest version. VB5 seems to have a large installed
base already.
Are either of them free or pay for download?
I've looked and looked for Visual Basic 5/6 sources and can find none.

I can however find MS Visual Basic Express 5 available and am thinking
seriously about downloading it, but it's huge so I'm trying to learn more
about it first. Yes, I understand and have read the requirements to run it.
Am I correct in ***-u-me-ing that VB5 and VBExpress 5 are two different
things?

At any rate, I was hoping some kind soul here might take a moment or two to
give me a bit of background on their opinions of the best way to get
started, in addition to answering the above questions.
They types of applications I want to use it for are pretty much
irrelevant to my quest at the moment. I want to start right from "Hello
World" and work my way up.

Honest, I'm not dumb; just ignorant of this subject <g>.

Thanks in Advance,

Pop`





   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Newbie to VB
Old
  (#2)
Richard Mueller [MVP]
Guest
 
Posts: n/a
Default Re: Newbie to VB - 06-04-2007, 09:35 AM

VBScript is free and comes with all clients since Windows 2000. It is
installed on older clients when you install DSClient (so you can join the
computer to a domain). Online resources are the TechNet Script Center:

http://www.microsoft.com/technet/scr...r/default.mspx

WSH and VBScript documentation is linked here:

http://www.microsoft.com/downloads/d...displaylang=en

and "Microsoft Windows 2000 Scripting Guide" available online at:

http://www.microsoft.com/technet/scr....mspx?mfr=true

VBScript is a subset of the Visual Basic language. There are a few
differences, but many VBScript programs run with no changes (or very few) as
VB programs.

VB5 is very old. VB6 is the latest non-dotnet version, but it actually is
very similar to version 5. There was a free version called Visual Basic
Control Creation Edition, vbcce, which may still be available. You can
create ocx's, but not exe's with it, so it is of limited use. The latest
version of the Visual Basic language is of course Visual Basic.NET, but
there is a definite learning curve and it is not free. The only Express
versions I am aware of are .NET.

For now, I would start wtih VBScript. I would recommend the Scripting Guide
linked above. I run most scripts at a command prompt using cscript.exe,
which is called a host program (the other host is wscript.exe) - it
interprets and runs VBScript programs, which are text files saved with *.vbs
extension. For example, use notepad or any text editor to create the file
Example.vbs with the following line:

Call MsgBox("Hello World!")

Then either double click the file Example.vbs (which runs it with the
default host for your computer), or at a command prompt run the program with
the command:

cscript Example.vbs

This ***umes you are in the folder where the file Example.vbs is saved. If
not, either navigate to the folder, or supply the complete path to the vbs
file. For example:

cscript c:\Scripts\Example.vbs

Most of the examples in the links above can be run at a command prompt with
cscript. The code is simply saved in a text file with *.vbs extension. The
code is interpreted, not compiled like Visual Basic programs.

Good luck.

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--

"Pop`" <EMAIL REMOVED> wrote in message
news:6Og7i.1245$WZ6.870@trnddc03...
> X-posted .misc and .vbscript; no f'ups set yet.
>
> Hi,
>
> I am looking to get into visual basic scripting and have fiddled a bit
> with the Word and Excel provisions of it. I have a decent background in
> batch files (.bat/cmd) and now wish to go another step. But, I can't
> believe how little information of the type I am looking for seems to
> exist, so I thought I'd go to the experts (huh? what's that sucking sound
> I hear? Oh, it's me!)
>
> VB 6 seems to be the latest version. VB5 seems to have a large installed
> base already.
> Are either of them free or pay for download?
> I've looked and looked for Visual Basic 5/6 sources and can find none.
>
> I can however find MS Visual Basic Express 5 available and am thinking
> seriously about downloading it, but it's huge so I'm trying to learn more
> about it first. Yes, I understand and have read the requirements to run
> it.
> Am I correct in ***-u-me-ing that VB5 and VBExpress 5 are two different
> things?
>
> At any rate, I was hoping some kind soul here might take a moment or two
> to give me a bit of background on their opinions of the best way to get
> started, in addition to answering the above questions.
> They types of applications I want to use it for are pretty much
> irrelevant to my quest at the moment. I want to start right from "Hello
> World" and work my way up.
>
> Honest, I'm not dumb; just ignorant of this subject <g>.
>
> Thanks in Advance,
>
> Pop`
>
>
>
>
>



   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Newbie to VB
Old
  (#3)
CajunCoiler
Guest
 
Posts: n/a
Default Re: Newbie to VB - 06-04-2007, 09:35 AM


> VB 6 seems to be the latest version. VB5 seems to have a large installed
> base already.
> Are either of them free or pay for download?
> I've looked and looked for Visual Basic 5/6 sources and can find none.


Contact me by e-mail ... I have connections.
EMAIL REMOVED
(remove "nospam." to make it work)


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4)
Just Got Here
 
Offline
Posts: 4
Join Date: Dec 2007
Default 12-08-2007, 11:17 AM

Hello friend !
I am currently working with the VB but now i want to make
vb.net programmer please tell me i can learn it on the bases of VB .


I love forumcare
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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




Contact Us - Forum Care Forums - Archive - Top