Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Task requests
Message
From
07/02/2002 14:40:16
 
 
To
01/02/2002 10:34:28
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00614023
Message ID:
00616913
Views:
14
Following code works fine in VB:

Set OutlookApplication = CreateObject("Outlook.Application")
Set OutlookMailItem = OutlookApplication.CreateItem(olMailItem)

Constant olMailItem ( = 0) is declared in Outlook object library. Try to use 0 instead of olMailItem or define olMailItem = 0

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Previous
Reply
Map
View

Click here to load this message in the networking platform