Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Win 98 and shell32.dll
Message
From
08/08/2003 16:31:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Win 98 and shell32.dll
Miscellaneous
Thread ID:
00818435
Message ID:
00818435
Views:
62
I am launching an email message via
		DECLARE INTEGER ShellExecute ;
		    IN SHELL32.DLL ;
		    INTEGER nWinHandle,;
		    STRING cOperation,;
		    STRING cFileName,;
		    STRING cParameters,;
		    STRING cDirectory,;
		    INTEGER nShowWindow
		    
		LOCAL lcEmail, lcCCAddress, lcSubject, lcMessagebody
		lcEmailAddress = 's_tysinger@northstate.net'
		lcCCAddress = " "
		lcSubject = "Serial Number Request For Tooling Wizard"
		lcMessageBody = 'Hardware ID: '+thisform.oapp.zgethdd()+CHR(11)+CHR(13)+CHR(11)+CHR(13)+;
			thisform.txtmy3.getvalue()+CHR(11)+CHR(13)+thisform.txtmy4.getvalue()+CHR(11)+CHR(13)+;
			thisform.txtmy5.getvalue()+CHR(11)+CHR(13)+thisform.txtmy7.getvalue()+CHR(11)+CHR(13)

		ShellExecute(0, "", "mailto:" + lcEmailAddress + "?Subject=" + lcSubject + ;
		                    "&CC=" + lcCCAddress + "&body=" + lcMessageBody, "", "", 1)
but it fails on one of my windows 98 machines, it just does nothing, no errors nothing. There is a default email client, I check for that first. In this case the client is OUTLOOK.
Next
Reply
Map
View

Click here to load this message in the networking platform