Click here to Skip to main content
15,887,822 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: hi all Pin
Ashfield11-Mar-09 3:16
Ashfield11-Mar-09 3:16 
QuestionCompare two Table Pin
zaimah10-Mar-09 18:18
zaimah10-Mar-09 18:18 
AnswerRe: Compare two Table Pin
Luc Pattyn10-Mar-09 18:47
sitebuilderLuc Pattyn10-Mar-09 18:47 
GeneralRe: Compare two Table Pin
zaimah10-Mar-09 19:03
zaimah10-Mar-09 19:03 
GeneralRe: Compare two Table Pin
Sebastian Br.10-Mar-09 21:26
Sebastian Br.10-Mar-09 21:26 
GeneralRe: Compare two Table Pin
zaimah10-Mar-09 21:55
zaimah10-Mar-09 21:55 
QuestionHow to get string from ReadProcessMemory Pin
Oliverikawood10-Mar-09 18:04
Oliverikawood10-Mar-09 18:04 
AnswerRe: How to get string from ReadProcessMemory [modified] Pin
Oliverikawood10-Mar-09 18:53
Oliverikawood10-Mar-09 18:53 
OK, this is solved (and also this question). The issue is actually convert WideChar string into ANSI string. I use CopyMemory instead of WideCharToMultiByte.
Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long)

Function ByteArrayToString(bytes As String, Length As Long) As String
    Dim retValStr As String
    retValStr = String(Length - 1, Chr$(0))
    CopyMemory ByVal StrPtr(retValStr), ByVal bytes, Length * 2
    ByteArrayToString = retValStr
End Function


modified on Wednesday, March 11, 2009 1:04 AM

QuestionHttpWebRequest define the language Pin
picolo510-Mar-09 17:44
picolo510-Mar-09 17:44 
AnswerRe: HttpWebRequest define the language Pin
picolo510-Mar-09 18:02
picolo510-Mar-09 18:02 
Questionafter installation Pin
sathyan_829410-Mar-09 17:05
sathyan_829410-Mar-09 17:05 
AnswerRe: after installation Pin
Johan Hakkesteegt11-Mar-09 7:53
Johan Hakkesteegt11-Mar-09 7:53 
QuestionHow do i keep on top a currently clicked form in win application. (Vb.net 2005)? Pin
r_mohd10-Mar-09 16:33
r_mohd10-Mar-09 16:33 
AnswerRe: How do i keep on top a currently clicked form in win application. (Vb.net 2005)? Pin
Dave Kreskowiak10-Mar-09 18:18
mveDave Kreskowiak10-Mar-09 18:18 
GeneralRe: How do i keep on top a currently clicked form in win application. (Vb.net 2005)? Pin
Pankaj Garg10-Mar-09 19:55
Pankaj Garg10-Mar-09 19:55 
GeneralRe: How do i keep on top a currently clicked form in win application. (Vb.net 2005)? Pin
Dave Kreskowiak11-Mar-09 2:59
mveDave Kreskowiak11-Mar-09 2:59 
QuestionCharacter Encoding and .bat files Pin
Alan Burkhart10-Mar-09 15:34
Alan Burkhart10-Mar-09 15:34 
AnswerRe: Character Encoding and .bat files Pin
Dave Kreskowiak10-Mar-09 18:17
mveDave Kreskowiak10-Mar-09 18:17 
GeneralRe: Character Encoding and .bat files Pin
Alan Burkhart10-Mar-09 19:04
Alan Burkhart10-Mar-09 19:04 
QuestionVB 2008 Pin
Manfred ramirez10-Mar-09 10:22
Manfred ramirez10-Mar-09 10:22 
Questionclass structure Pin
captainmogo10-Mar-09 7:48
captainmogo10-Mar-09 7:48 
AnswerRe: class structure Pin
Luc Pattyn10-Mar-09 8:26
sitebuilderLuc Pattyn10-Mar-09 8:26 
GeneralRe: class structure Pin
captainmogo10-Mar-09 8:48
captainmogo10-Mar-09 8:48 
GeneralRe: class structure Pin
Luc Pattyn10-Mar-09 8:55
sitebuilderLuc Pattyn10-Mar-09 8:55 
Questionproblem in printing Pin
Jagz W10-Mar-09 7:11
professionalJagz W10-Mar-09 7:11 

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.