Accessing a web service from an Outlook form 
Author Message
 Accessing a web service from an Outlook form

Hello,

I fairly new to Outlook programming and VBA as such. I want to access a Web
Service from an Outlook form, on a particular action. I know that I can
access a Web Service from a custom form in VBA using the Web Services
Toolkit from Microsoft.

However, an Outlook form cannot be edited in VBA (atleast thats what I know
as of now) and hence I am unable to add code to access the web service to an
Outlook form (Post form). Is there a way for me to access a web service
using VB Script.

Would really appreciate help on this topic from anyone who has tried this
thing out.



Mon, 21 Nov 2005 02:37:08 GMT  
 Accessing a web service from an Outlook form
Instead of attempting to call the Web Service from VBScript behind the
Outlook form, create an Outlook Add-in that exposes a public method that in
turn calls your Web Service and returns results to the form-level code. For
a .NET example, see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnou...

--
Randy Byrne, MVP - Outlook
http://www.microeye.com
Building Applications with Microsoft Outlook 2002 (MSPress - July 2001)
Building Applications with Microsoft Outlook 2000 (MSPress)
http://www.microeye.com/books
Micro Eye ZipOut
http://www.microeye.com/zipout


Quote:
> Hello,

> I fairly new to Outlook programming and VBA as such. I want to access a
Web
> Service from an Outlook form, on a particular action. I know that I can
> access a Web Service from a custom form in VBA using the Web Services
> Toolkit from Microsoft.

> However, an Outlook form cannot be edited in VBA (atleast thats what I
know
> as of now) and hence I am unable to add code to access the web service to
an
> Outlook form (Post form). Is there a way for me to access a web service
> using VB Script.

> Would really appreciate help on this topic from anyone who has tried this
> thing out.



Mon, 21 Nov 2005 04:28:49 GMT  
 Accessing a web service from an Outlook form
Randy,

Thank you for your useful tip. The link that you forwarded (and wrote) was
quite useful too. However, I dont know if I can apply this Add-In to a
custom form in a public folder. I have a custom form (derived from the Post
form) and I want to run some business logic on an event of the form (in the
public folder).

I want to know if I would be able use this add-in for any form (custom form)
in the public folder or is it just restricted to the standard forms and the
Outlook folders.



Instead of attempting to call the Web Service from VBScript behind the
Outlook form, create an Outlook Add-in that exposes a public method that in
turn calls your Web Service and returns results to the form-level code. For
a .NET example, see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnou...

--
Randy Byrne, MVP - Outlook
http://www.microeye.com
Building Applications with Microsoft Outlook 2002 (MSPress - July 2001)
Building Applications with Microsoft Outlook 2000 (MSPress)
http://www.microeye.com/books
Micro Eye ZipOut
http://www.microeye.com/zipout



Mon, 21 Nov 2005 07:03:41 GMT  
 Accessing a web service from an Outlook form
You can develop the Add-in for a specific form (determined by the custom
form's message class) in a specific folder.

--
Randy Byrne, MVP - Outlook
http://www.microeye.com
Building Applications with Microsoft Outlook 2002 (MSPress - July 2001)
Building Applications with Microsoft Outlook 2000 (MSPress)
http://www.microeye.com/books
Micro Eye ZipOut
http://www.microeye.com/zipout


Quote:
> Randy,

> Thank you for your useful tip. The link that you forwarded (and wrote) was
> quite useful too. However, I dont know if I can apply this Add-In to a
> custom form in a public folder. I have a custom form (derived from the
Post
> form) and I want to run some business logic on an event of the form (in
the
> public folder).

> I want to know if I would be able use this add-in for any form (custom
form)
> in the public folder or is it just restricted to the standard forms and
the
> Outlook folders.



> Instead of attempting to call the Web Service from VBScript behind the
> Outlook form, create an Outlook Add-in that exposes a public method that
in
> turn calls your Web Service and returns results to the form-level code.
For
> a .NET example, see

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnou...

- Show quoted text -

Quote:

> --
> Randy Byrne, MVP - Outlook
> http://www.microeye.com
> Building Applications with Microsoft Outlook 2002 (MSPress - July 2001)
> Building Applications with Microsoft Outlook 2000 (MSPress)
> http://www.microeye.com/books
> Micro Eye ZipOut
> http://www.microeye.com/zipout



Tue, 22 Nov 2005 03:40:49 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Accessing a web service from an Outlook form

2. Sending web forms (no Web Services!!!)

3. Running Outlook from an Access form on Web

4. ?? Customized forms wiith VBScript in OWA (Outlook Web Access)

5. Messaging Source: Outlook.exe or Outlook Web Access

6. Send a web form and receive an Outlook form

7. changing outlook service property form VB

8. Need design advice for service mngmnt sftwre based on outlook - access integration

9. Accessing Outlook via a service

10. Accessing services info from Outlook VBA.

11. Accessing A Web Service

12. accessing a web service

 

 
Powered by phpBB® Forum Software