Click here to Skip to main content
15,867,939 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: macro code that prompt for password or display message each time MS word is opened Pin
ChiSmile2-Jul-09 17:34
ChiSmile2-Jul-09 17:34 
GeneralRe: macro code that prompt for password or display message each time MS word is opened Pin
Dave Kreskowiak2-Jul-09 18:33
mveDave Kreskowiak2-Jul-09 18:33 
GeneralRe: macro code that prompt for password or display message each time MS word is opened Pin
ChiSmile2-Jul-09 22:07
ChiSmile2-Jul-09 22:07 
JokeRe: macro code that prompt for password or display message each time MS word is opened Pin
dan!sh 2-Jul-09 8:45
professional dan!sh 2-Jul-09 8:45 
QuestionSocket programming Pin
Cory Kimble2-Jul-09 4:20
Cory Kimble2-Jul-09 4:20 
AnswerRe: Socket programming Pin
Luc Pattyn2-Jul-09 4:31
sitebuilderLuc Pattyn2-Jul-09 4:31 
GeneralRe: Socket programming Pin
Cory Kimble2-Jul-09 4:54
Cory Kimble2-Jul-09 4:54 
GeneralRe: Socket programming Pin
Luc Pattyn2-Jul-09 5:05
sitebuilderLuc Pattyn2-Jul-09 5:05 
Seems like you ignored my previous reply.

The latest code snippet is garbage, it may do what you need, it does what it does in a horrible way.
It is clear you still don't really understand how to work with strings, characters, bytes, and hex.

You should never have to convert to string and then parse back to numbers, that is non-sense.
I recall we have had similar conversations in the past.

I suggest you do not use strings at all, just have a byte array and fill it with what is required:
the special values such as 1 and 2; and the ASCII value of the text characters you need, if any.
Then send the byte array into the socket.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.

GeneralRe: Socket programming Pin
Cory Kimble2-Jul-09 6:07
Cory Kimble2-Jul-09 6:07 
GeneralRe: Socket programming Pin
Luc Pattyn2-Jul-09 6:12
sitebuilderLuc Pattyn2-Jul-09 6:12 
GeneralRe: Socket programming Pin
Dave Kreskowiak2-Jul-09 9:09
mveDave Kreskowiak2-Jul-09 9:09 
QuestionCompile error Pin
hamed20092-Jul-09 2:13
hamed20092-Jul-09 2:13 
AnswerRe: Compile error Pin
TheMrProgrammer2-Jul-09 3:49
TheMrProgrammer2-Jul-09 3:49 
AnswerRe: Compile error Pin
Dave Kreskowiak2-Jul-09 4:32
mveDave Kreskowiak2-Jul-09 4:32 
Question3D Image Pin
bhargava24092-Jul-09 2:03
bhargava24092-Jul-09 2:03 
AnswerRe: 3D Image Pin
TheMrProgrammer2-Jul-09 4:02
TheMrProgrammer2-Jul-09 4:02 
AnswerRe: 3D Image Pin
Dave Kreskowiak2-Jul-09 4:31
mveDave Kreskowiak2-Jul-09 4:31 
QuestionCrystal Reports 8.5 to email a batch of reports Pin
Raghvendra Kumar Roy2-Jul-09 1:33
Raghvendra Kumar Roy2-Jul-09 1:33 
QuestionImporting html code using HTMLProject object [modified] Pin
Harold_Wishes2-Jul-09 1:00
Harold_Wishes2-Jul-09 1:00 
Questionhow to drag video from the webbrowser and download it on a button control Pin
bhumika_singh2-Jul-09 0:58
bhumika_singh2-Jul-09 0:58 
Questionprint prview problem Pin
JC.KaNNaN2-Jul-09 0:29
JC.KaNNaN2-Jul-09 0:29 
AnswerRe: print prview problem Pin
Eddy Vluggen2-Jul-09 2:28
professionalEddy Vluggen2-Jul-09 2:28 
GeneralRe: print prview problem Pin
JC.KaNNaN2-Jul-09 3:38
JC.KaNNaN2-Jul-09 3:38 
GeneralRe: print prview problem Pin
Eddy Vluggen2-Jul-09 6:16
professionalEddy Vluggen2-Jul-09 6:16 
AnswerRe: print prview problem Pin
Henry Minute2-Jul-09 6:55
Henry Minute2-Jul-09 6:55 

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.