Click here to Skip to main content
15,912,507 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VBA trouble Pin
Nick Seng3-Sep-03 15:40
Nick Seng3-Sep-03 15:40 
GeneralRe: VBA trouble Pin
Jeremy Osner4-Sep-03 1:45
Jeremy Osner4-Sep-03 1:45 
GeneralRe: VBA trouble Pin
Nick Seng4-Sep-03 21:47
Nick Seng4-Sep-03 21:47 
GeneralMySQL / Crystal Reports for VS.NET Problem Pin
Vinyl2-Sep-03 3:55
Vinyl2-Sep-03 3:55 
GeneralActiveX Control Pin
Olli2-Sep-03 1:31
Olli2-Sep-03 1:31 
GeneralRe: ActiveX Control Pin
Diederik de Haas5-Sep-03 3:59
Diederik de Haas5-Sep-03 3:59 
GeneralVB MS Soap 3.0 Pin
praveengoosari1-Sep-03 20:43
praveengoosari1-Sep-03 20:43 
GeneralHelp with WM_GETTEXT Pin
Anonymous1-Sep-03 5:26
Anonymous1-Sep-03 5:26 
I am using the SendMessage API to read text from a textbox in a third party application.

I am calling it using the following command:

Win32API.SendMessage(hwnd, WM_GETTEXT, textlength, mymessage)

where hwnd is an Int32 representing the textbox handle;
WM_GETTEXT is a constant
textlength is the number of characters to be retrieved; and
mymessage is the string to store the info.

Everything seems OK apart from the fact that when I try and display the string it simply appears as a series of blobs.....not readable text (see below).

片敡敭丠睥慭敔瑳倠条eಇ䐁

This is my first foray into the world of Win32 APIs and VB.Net so your help would be much appreciated.
General.Net Windows service time out Pin
Regardt31-Aug-03 23:48
Regardt31-Aug-03 23:48 
GeneralClean Build Pin
jholt31-Aug-03 11:28
jholt31-Aug-03 11:28 
GeneralRe: Clean Build Pin
SimonS1-Sep-03 5:07
SimonS1-Sep-03 5:07 
GeneralRe: Clean Build Pin
jholt1-Sep-03 9:41
jholt1-Sep-03 9:41 
GeneralTrigger a Windows Form Notification Pin
su_see31-Aug-03 8:08
su_see31-Aug-03 8:08 
GeneralProblem In Msgbox And InputBox Pin
Meysam Khayatan30-Aug-03 8:59
Meysam Khayatan30-Aug-03 8:59 
GeneralRe: Problem In Msgbox And InputBox Pin
Hesham Amin30-Aug-03 20:49
Hesham Amin30-Aug-03 20:49 
GeneralRe: Problem In Msgbox And InputBox Pin
Dave Kreskowiak3-Sep-03 17:27
mveDave Kreskowiak3-Sep-03 17:27 
GeneralMAJOR PROJECT Pin
IT_student30-Aug-03 0:29
IT_student30-Aug-03 0:29 
Generalsaving icon to hard drive Pin
pnpfriend29-Aug-03 6:57
pnpfriend29-Aug-03 6:57 
Generalgetting icon location Pin
pnpfriend29-Aug-03 2:48
pnpfriend29-Aug-03 2:48 
GeneralRandom Number Maths Quiz Pin
Alvin Wong29-Aug-03 1:50
Alvin Wong29-Aug-03 1:50 
GeneralRe: Random Number Maths Quiz Pin
Corinna John1-Sep-03 3:18
Corinna John1-Sep-03 3:18 
GeneralRe: Random Number Maths Quiz Pin
Corinna John1-Sep-03 6:16
Corinna John1-Sep-03 6:16 
QuestionHow do I check if a registry entry exists in the windows registry. Pin
Simon_22117528-Aug-03 19:08
Simon_22117528-Aug-03 19:08 
AnswerRe: How do I check if a registry entry exists in the windows registry. Pin
Dave Kreskowiak29-Aug-03 4:54
mveDave Kreskowiak29-Aug-03 4:54 
QuestionHow do I export a registry hive? Pin
wobblervb28-Aug-03 16:24
wobblervb28-Aug-03 16:24 

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.