Click here to Skip to main content
15,881,600 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Why does Microsoft do this or am I missing something:Keypress event missing in VB.NET 2008 PinPopular
Christian Graus23-Jul-09 21:37
protectorChristian Graus23-Jul-09 21:37 
QuestionStructure in listbox Pin
Chandrasekharan P23-Jul-09 19:18
Chandrasekharan P23-Jul-09 19:18 
AnswerRe: Structure in listbox Pin
Christian Graus23-Jul-09 19:35
protectorChristian Graus23-Jul-09 19:35 
GeneralRe: Structure in listbox [modified][RESOLVED] Pin
Chandrasekharan P23-Jul-09 19:49
Chandrasekharan P23-Jul-09 19:49 
GeneralRe: Structure in listbox [modified][RESOLVED] Pin
Christian Graus23-Jul-09 21:46
protectorChristian Graus23-Jul-09 21:46 
QuestionOutlook Share Add-In setup Working On Vista but not in Window XP Pin
dcdhingra23-Jul-09 16:37
dcdhingra23-Jul-09 16:37 
QuestionVB.NET Reports on web service Pin
Rick_Mutimer23-Jul-09 14:04
Rick_Mutimer23-Jul-09 14:04 
QuestionCharSet issue with CDOSys Pin
Manas Bhardwaj23-Jul-09 10:58
professionalManas Bhardwaj23-Jul-09 10:58 
I am facing a strange issue when sending a simple text mail with unicode characters.
This is the code which I am using

Set objMessage = CreateObject("CDO.Message")

objMessage.Subject = "another test"
objMessage.From = "sender@test.com"
objMessage.To = "to@test.com"
objMessage.TextBody = "मानस"
objMessage.Send


Till, this point everything looks fine but as soon as I try to specify the charset of the body, the bosy content get corrupted and strage charcters appear in the email.

objMessage.BodyPart.CharSet = "utf-8"


That is, when I add the above line of code it simply does not work.

You may try to reproduce this by copying code into a vbs file.

Anyone has a clue?

Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

QuestionCrystal reports [modified] Pin
Ghost_80723-Jul-09 10:24
Ghost_80723-Jul-09 10:24 
QuestionHow to access the textbox data embedded in a datalist Pin
MacIntyre23-Jul-09 9:01
MacIntyre23-Jul-09 9:01 
QuestionHi there. Looking for help on a vb project. Pin
malcomhfc23-Jul-09 3:27
malcomhfc23-Jul-09 3:27 
AnswerRe: Hi there. Looking for help on a vb project. Pin
David Mujica23-Jul-09 3:38
David Mujica23-Jul-09 3:38 
GeneralRe: Hi there. Looking for help on a vb project. Pin
DoctorMick23-Jul-09 5:36
DoctorMick23-Jul-09 5:36 
AnswerRe: Hi there. Looking for help on a vb project. Pin
Jabbar_espania2-Aug-09 11:03
Jabbar_espania2-Aug-09 11:03 
GeneralRe: Hi there. Looking for help on a vb project. Pin
malcomhfc8-Aug-09 8:12
malcomhfc8-Aug-09 8:12 
QuestionMicrosoft Outlook: VBA Syntax Errors in Trying to Search for Recipients in E-Mail Message Body Pin
axla22-Jul-09 19:59
axla22-Jul-09 19:59 
Questioncode for automatic select value from ms-excel column Pin
muhammadataulhaqsultani22-Jul-09 17:57
muhammadataulhaqsultani22-Jul-09 17:57 
AnswerRe: code for automatic select value from ms-excel column Pin
Sumit Prakash Sharma22-Jul-09 21:26
professionalSumit Prakash Sharma22-Jul-09 21:26 
GeneralRe: code for automatic select value from ms-excel column Pin
muhammadataulhaqsultani23-Jul-09 16:08
muhammadataulhaqsultani23-Jul-09 16:08 
QuestionMulti-D Array comparisons Pin
Member 437454222-Jul-09 15:18
Member 437454222-Jul-09 15:18 
AnswerRe: Multi-D Array comparisons Pin
Luc Pattyn22-Jul-09 15:47
sitebuilderLuc Pattyn22-Jul-09 15:47 
GeneralRe: Multi-D Array comparisons Pin
Member 437454222-Jul-09 16:09
Member 437454222-Jul-09 16:09 
GeneralRe: Multi-D Array comparisons Pin
Luc Pattyn22-Jul-09 16:10
sitebuilderLuc Pattyn22-Jul-09 16:10 
QuestionHow do I modify a class so you can convert a String to it? Pin
i_kant_spel22-Jul-09 9:48
i_kant_spel22-Jul-09 9:48 
AnswerRe: How do I modify a class so you can convert a String to it? Pin
Luc Pattyn22-Jul-09 10:36
sitebuilderLuc Pattyn22-Jul-09 10:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.