CodyOebel -2 Junior Poster in Training

Ok, I have noticed that everything I like to do in windows using c++ can easily be done with .vbs scripts. Just to clarify the books I looked into buying to teach me .vbs all mostly talk about vbscripting for html??????????????? Is that what .vbs scripting is usually for ..
EXAMPLE !!!!

Dim theApp, theMailItem

     Set theApp = WScript.CreateObject("Outlook.Application")
     Set theNameSpace = theApp.GetNameSpace("MAPI")
     
     Set theMailItem = theApp.CreateItem(0)
          
     theMailItem.Recipients.Add "cody.oebel@bloodntissue.org"
     theMailItem.Subject = "TESTING EMAIL"
     theMailItem.Body = ""
     theMailItem.Body = "THIS MESSAGE SHOULD EMAIL PROPERLY" & chr(13)
     theMailItem.Body = theMailItem.Body & "THIS IS THE NEXT LINE"
     theMailItem.Send
     theNameSpace.Logoff

What kind of scripting is this ? it's saved as a .vbs and I'm using c++ to do all my programming need's but time to time I need to have my c++ program stream output to create a .vbs similar to this above. I want to become more proficient with the use of this language. Could someone please recomend a book. I dont get online unless im at work and at home have no time to be on the net having a wife and kids. LOL .. Please someone help

Cody C Oebel (age 24).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.