Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 11th, 2008, 11:10 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: West Palm Beach, Florida, USA.
Posts: 205
Thanks: 4
Thanked 0 Times in 0 Posts
Default Call Outlook

I have a vb application that calls Outlook with an attachment (crystal report). It works fine except for that I do not always know what version of Outlook users have so the Outlook.exe could be in the Office10, Office11 or Office12 folder. Is there a good way to determine or scan to see what version of Outlook is installed and then build the path?

Here is what I have today (which points to Outlook 2007). Some users have Outlook 2003 installed)

Code:
Dim myOutlookString As String = """C:\Program Files\Microsoft Office\OFFICE11\Outlook.exe"" /a """ + myReport + """"
Shell(myOutlookString)

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Call outlook ASP.Net dani_adam71 .NET Framework 2.0 1 October 27th, 2008 08:15 AM
Outlook jdhock8865 Beginning VB 6 3 July 9th, 2008 12:01 PM
[Resolved] [2005] Call Outlook in vb application snufse .NET Framework 2.0 1 February 12th, 2008 04:58 PM
[Resolved] [2005] Call Outlook with attachment snufse .NET Framework 2.0 4 February 12th, 2008 09:59 AM
IS it possible to call Outlook from VBScript? nfoliveira VBScript 1 March 19th, 2004 09:49 AM



All times are GMT -4. The time now is 10:53 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.