|
-
Oct 31st, 2012, 11:21 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Vb6 - shellexecute doesnt like "&"
Hi
I was trying to send an email thru shellexecute and I found out that if the text being sent contains a "&", shellexecute will just stop reading beyond &.
I don't know why (Im not familiar with shellexecute)
In my particular case, the example is:
ShellExecute 0&, vbNullString, emailaddress & "?subject=" & MailSub.TEXT & "&body=" & Replace(MailTEXT.TEXT, vbCrLf, "%0A"), vbNullString, vbNullString, SW_SHOWNORMAL
I thought it could be useful to know for other VB6 users too.
Regards
Horazio
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|