Results 1 to 3 of 3

Thread: VB6 (using vbSendmail) to send ICS Invitation to Outlook

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Dec 2008
    Location
    Melbourne Australia
    Posts
    1,487

    VB6 (using vbSendmail) to send ICS Invitation to Outlook

    I have an existing VB6 app, that creates Tasks with Dates and Times.
    I currently use vbSendMail for other purposes, but not for Tasks yet.
    User has asked that in addition to the internal bookings, that I also send an email to the staff members, so that they can open the email in Outlook, and it automatically realizes that it is a Calendar Invitation, which it can load into the user's Calendar.
    I would prefer not to 'automate' Outlook, as this occurs in a complex/busy part of my program.
    What i would like to do, is create a text file (.ICS) with the necessary Dates/Times, and use vbSendmail to attach that file and send it to the staff members' Outlook email addresses.

    In my attempts to explore the format of the ICS file, I have used my Google Calendar to send an invitation.
    The one that it sent to my Outlook email address, did open up properly in Outlook.
    I also got Google Calendar to send one to my non Outlook email.
    It duly arrived with an ICS attachment.
    When I tried attaching that file, and sending it to my Outlook email address, Outlook did not realize that it was an Invitation.

    Any help would be greatly appreciated.

    PS IS THIS IN THE WRONG FORUM ?
    I was not sure whether this should be in the general VB6 Forum.
    Please advise if you think I should move it
    Last edited by Bobbles; Feb 8th, 2010 at 08:06 AM. Reason: May not be in correct Forum

  2. #2
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: VB6 (using vbSendmail) to send ICS Invitation to Outlook

    See this link...

    It is for vb.net though. See if you can adapt it for vb6...

    http://www.codeproject.com/KB/vb/vcalendar.aspx
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Dec 2008
    Location
    Melbourne Australia
    Posts
    1,487

    Re: VB6 (using vbSendmail) to send ICS Invitation to Outlook

    Quote Originally Posted by koolsid View Post
    See this link...

    It is for vb.net though. See if you can adapt it for vb6...

    http://www.codeproject.com/KB/vb/vcalendar.aspx
    I have never used VB.NET and I am not very OO
    So will take some studying.
    Thanks for assisting,
    Rob

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width