+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Feb 2009
    Posts
    1

    Smile Send email through Visual Basic 6.0

     
    Hello everybody. I'm wondering how you can make a code on Visual Basic where you click the command button and Outlook Express pops up to a new message.

    If anybody has a solution or has an idea that I could test out, please let me know.

    Thanks!

  2. #2
    Junior Member
    Join Date
    Feb 2009
    Posts
    21
    sorry but what code does Visual Basic use exactly? Coz i use VB 6.0 at school and wonder if it has ANY significant purpose to learning it, as in it using the same language as a program that actually DOES something USEFUL.

  3. #3
    Ultimate Member dchw_dude's Avatar
    Join Date
    Nov 2004
    Location
    Provo, UT
    Posts
    1,356
    You need to use the Outlook automation libraries from MS. they can be found here, along with some sample code from MS themselves.

    How to automate Outlook by using Visual Basic

    From what I understand, these libraries are good for COM extensions for Outlook and Outlook automation. A general format for what will happen is thus:

    1) Your VB code will open an instance of outlook in the background
    2) Send a command via the interop(in the link above) to open a new message.
    3) You type your message and send.
    4) Upon exit from new message, automation takes over and closes outlook and saves your data.

    Having worked with Outlook and Word interops before, they can be a little buggy if not implemented properly. Unfortunately, thats all I know about this kind of stuff. Wish I could give you some code!

    @9800GTX - VB is immensely useful. Great scripting language for us IT folk. And it teaches basic programming concepts as well!

    TechIMO Folding@home Team #111 - Crunching for the cure!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Visual Basic help
    By Paluccie in forum Webmastering and Programming
    Replies: 3
    Last Post: March 21st, 2007, 02:47 PM
  2. Help in Visual Basic
    By Altis 1 in forum Webmastering and Programming
    Replies: 3
    Last Post: June 3rd, 2005, 08:52 AM
  3. HELP!! - Visual Basic
    By darssus in forum Webmastering and Programming
    Replies: 1
    Last Post: October 6th, 2004, 01:40 PM
  4. Visual Basic
    By Paluccie in forum Webmastering and Programming
    Replies: 32
    Last Post: December 16th, 2002, 07:09 PM
  5. Visual Basic
    By kickzum in forum General Tech Discussion
    Replies: 22
    Last Post: August 18th, 2002, 12:52 PM

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Recommended Sites: ResellerRatings Store Reviews