Share via

Where is visual basic on Win7

Anonymous
2010-08-08T23:07:54+00:00

I understand that visual basic comes installed on all recent Win Oses. How can I find it on Win 7?

Windows for home | Previous Windows versions | Apps

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2010-08-11T04:11:22+00:00

Actually, vb  scripting is there. One has to dig deep to find it. Write a simple  script file and call  it myprog.vbs. You could probably put anything inside. Now right-click on it, and select Open As  (something close to that), and eventually you will find a choice of a program executes the file.  If you had no legit code in the file, it will fail. However, you get to see how it works. There are some script exe files that will execute the code at the command line.

Hmm.  I think solarblast may be right.  I just:

  1. created the simple Hello Word program in notepad as directed by http://www.wikihow.com/Program-with-VBScript
  2. Saved it to a VBS file
  3. Ran it from the command prompt

and walla, instant MessageBox without having to even open IE.

This is very interesting.  I'm not sure how this compares to full blown VB.NET, however.   My experience has been with VB.NET.  In general, I have preferred VB.NET to VBScript and JScript because debugging in JScript/VBScript seemed to be difficult.   Also, if I were to learn Microsoft scripting, I would probably stick with PowerShell or work a little more with F# (Not really a scripting language but great for parsing!!!)

Anyway its interesting to know that VBScript has come with Windows by default since Win98:

http://en.wikipedia.org/wiki/VBScript

I would like to thank Mr. Solarblast for teaching me something new!!!

Happy Programming,

Shawn

Was this answer helpful?

3 people found this answer helpful.
0 comments No comments

Answer accepted by question author

Anonymous
2010-08-10T20:26:12+00:00

Actually, vb  scripting is there. One has to dig deep to find it. Write a simple  script file and call  it myprog.vbs. You could probably put anything inside. Now right-click on it, and select Open As  (something close to that), and eventually you will find a choice of a program executes the file.  If you had no legit code in the file, it will fail. However, you get to see how it works. There are some script exe files that will execute the code at the command line.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

6 additional answers

Sort by: Most helpful
  1. Anonymous
    2010-08-09T19:18:30+00:00

    Thanks. I'm sure you are right, but a person who runs a Yahoo Group stated pretty firmly it did. ;Let me say though that he made another such remark about a  product we both use, and he was flat out wrong.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2010-08-09T09:41:39+00:00

    No, it does not and has not ever come with any version of Windows.  You could be thinking of VBS (VisualBasic Scripting) but that's not the same thing.

    "solarblast" wrote in message news:*** Email address is removed for privacy ***...

    I understand that visual basic comes installed on all recent Win Oses. How can I find it on Win 7?

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-08-09T03:01:52+00:00

    I don't think **"**Visual Basic" as most people think of it comes pre-installed with all recent Win Oses...

    I'm pretty sure PowerShell (interesting innovation) and *.NET 3.5 comes installed by default on Win7, but I don't think VB does.

    I'm guessing that if you have a good version of Internet Information Systems (IIS) activated/installed on your Win 7 OS, you could use Notepad to write WebApps that use Visual Basic, but that would be an awful lot of trouble.  Its much easier to just download Visual Basic Express and Visual Web Developer Express (If applicable) 

    If you want Visual Basic, you can get a good quality VB.NET Compiler here free of charge:

    http://www.microsoft.com/express/Windows/

    Visual Basic Express is the easy way to get started with Visual Basic.  Sure there are other ways, like IIS/Web Apps andMono but using those approaches would be quite a pain...

    Was this answer helpful?

    0 comments No comments