User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Shell Scripting section within the Software Development category of DaniWeb, a massive community of 422,804 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,393 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Shell Scripting advertiser: Programming Forums
Views: 785 | Replies: 0
Reply
Join Date: May 2007
Posts: 25
Reputation: CodyOebel is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 2
CodyOebel CodyOebel is offline Offline
Light Poster

QUESTION ABOUT .vbs scripts in windows.

  #1  
Feb 1st, 2008
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 !!!!
  1. Dim theApp, theMailItem
  2.  
  3. Set theApp = WScript.CreateObject("Outlook.Application")
  4. Set theNameSpace = theApp.GetNameSpace("MAPI")
  5.  
  6. Set theMailItem = theApp.CreateItem(0)
  7.  
  8. theMailItem.Recipients.Add "cody.oebel@bloodntissue.org"
  9. theMailItem.Subject = "TESTING EMAIL"
  10. theMailItem.Body = ""
  11. theMailItem.Body = "THIS MESSAGE SHOULD EMAIL PROPERLY" & chr(13)
  12. theMailItem.Body = theMailItem.Body & "THIS IS THE NEXT LINE"
  13. theMailItem.Send
  14. 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).
Last edited by CodyOebel : Feb 1st, 2008 at 9:21 pm.
Name: Cody Oebel
Place : San Antonio , TX.
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Shell Scripting Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Shell Scripting Forum

All times are GMT -4. The time now is 9:40 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC