Click here to Skip to main content
15,892,643 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: how to save a form as an image in runtime Pin
DaveAuld24-Dec-09 22:47
professionalDaveAuld24-Dec-09 22:47 
GeneralRe: how to save a form as an image in runtime Pin
zhiyuan1624-Dec-09 22:57
zhiyuan1624-Dec-09 22:57 
QuestionConvert into the Indian Rs formate Pin
lrsalunkhe24-Dec-09 20:08
lrsalunkhe24-Dec-09 20:08 
AnswerRe: Convert into the Indian Rs formate Pin
DaveAuld24-Dec-09 22:18
professionalDaveAuld24-Dec-09 22:18 
AnswerRe: Convert into the Indian Rs formate [modified] Pin
Dimitri Witkowski26-Dec-09 2:50
Dimitri Witkowski26-Dec-09 2:50 
QuestionUsing Combo box Pin
sun.spider24-Dec-09 19:21
sun.spider24-Dec-09 19:21 
AnswerRe: Using Combo box Pin
DaveAuld24-Dec-09 22:21
professionalDaveAuld24-Dec-09 22:21 
Questionhow to decode =?windows-874?B?t7TKzbogdGVzdCB=?= to Thai Langauge ? [modified] Pin
narongaun24-Dec-09 18:19
narongaun24-Dec-09 18:19 
Dim TCP As Net.Sockets.TcpClient
Dim POP3Stream As System.IO.Stream
Dim inStream As System.IO.StreamReader

TCP = New Net.Sockets.TcpClient
TCP.Connect(strServer, 110)

POP3Stream = TCP.GetStream
inStream = New System.IO.StreamReader(POP3Stream, System.Text.Encoding.GetEncoding("utf-8"))

strTemp = inStream.ReadLine

While (strTemp <> ".")
strEmailMess = strEmailMess & strTemp & vbCrLf
strTemp = inStream.ReadLine
End While


For example: if strTemp is =?windows-874?B?t7TKzbogdGVzdCB=?=

i have to cut ?windows-874?B? and ?= so, it will remains t7TKzbogdGVzdCB=

and i will use code below to encode it to Thai letter

Dim encoding As New System.Text.UTF8Encoding
Dim Buffer As Byte() = Convert.FromBase64String(t7TKzbogdGVzdCB=)

DecodeBase64 = encoding.GetString(Buffer)

it's read ?????????


How to make it read in Thai letter ?


Thanks

modified on Friday, December 25, 2009 4:43 AM

AnswerRe: how to decode =?windows-874?B?t7TKzbogdGVzdCB=?= to Thai Langauge ? Pin
DaveAuld24-Dec-09 22:25
professionalDaveAuld24-Dec-09 22:25 
GeneralRe: how to decode =?windows-874?B?t7TKzbogdGVzdCB=?= to Thai Langauge ? Pin
narongaun24-Dec-09 22:48
narongaun24-Dec-09 22:48 
QuestionFor next loop and external file handling? Pin
offroaderdan24-Dec-09 3:09
offroaderdan24-Dec-09 3:09 
AnswerRe: For next loop and external file handling? Pin
Eddy Vluggen24-Dec-09 4:09
professionalEddy Vluggen24-Dec-09 4:09 
AnswerRe: For next loop and external file handling? Pin
DaveAuld24-Dec-09 22:27
professionalDaveAuld24-Dec-09 22:27 
AnswerRe: For next loop and external file handling? [modified] Pin
Md. Marufuzzaman25-Dec-09 8:34
professionalMd. Marufuzzaman25-Dec-09 8:34 
QuestionDatabase problem NEARLY sorted out Pin
offroaderdan24-Dec-09 1:12
offroaderdan24-Dec-09 1:12 
AnswerRe: Database problem NEARLY sorted out Pin
offroaderdan24-Dec-09 1:13
offroaderdan24-Dec-09 1:13 
AnswerRe: Database problem NEARLY sorted out Pin
Md. Marufuzzaman24-Dec-09 1:44
professionalMd. Marufuzzaman24-Dec-09 1:44 
GeneralRe: Database problem NEARLY sorted out Pin
offroaderdan24-Dec-09 1:53
offroaderdan24-Dec-09 1:53 
GeneralRe: Database problem NEARLY sorted out Pin
offroaderdan24-Dec-09 2:03
offroaderdan24-Dec-09 2:03 
GeneralTransfer text Pin
David Mujica24-Dec-09 2:10
David Mujica24-Dec-09 2:10 
GeneralRe: Transfer text Pin
offroaderdan24-Dec-09 2:13
offroaderdan24-Dec-09 2:13 
GeneralRe: Database problem NEARLY sorted out Pin
Eddy Vluggen24-Dec-09 4:07
professionalEddy Vluggen24-Dec-09 4:07 
GeneralRe: Database problem NEARLY sorted out Pin
Luc Pattyn24-Dec-09 4:39
sitebuilderLuc Pattyn24-Dec-09 4:39 
GeneralRe: Database problem NEARLY sorted out Pin
Eddy Vluggen24-Dec-09 6:57
professionalEddy Vluggen24-Dec-09 6:57 
GeneralRe: Database problem NEARLY sorted out Pin
Md. Marufuzzaman24-Dec-09 2:03
professionalMd. Marufuzzaman24-Dec-09 2:03 

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.