Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creatiating and displaying a new e-mail message
Message
From
27/01/2000 11:50:58
 
 
To
27/01/2000 11:12:28
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00323507
Message ID:
00323622
Views:
23
>Thank you so much!
>
>DECLARE INTEGER ShellExecute IN SHELL32 INTEGER, STRING, STRING, STRING, STRING, INTEGER
>=ShellExecute(0,'OPEN','mailto:edrauh@earthlink.net','','',1)
>works great
>
>I tried
>oShell = CREATEOBJ('Shell.Application')
>oShell.Open('mailto:edrauh@earthlink.net')
>
>it does not give me any errors, but it does not bring up the new message either. What am I doing wrong?

Your CREATEOBJ() probably failed, or you already had another instance up and didn't see it. If you do not have a current version of Shell installed on your computer - the original version of Win95 (in fact, pretty much anything that doesn't have at least Shell version 4.71 or later on it) might not have it if you've never put IE4 on your system, even if IE5 is there now.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform