Click here to Skip to main content
15,921,174 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Reading XML String into DataSet (VB.NET) Pin
Nic Rowan23-Jan-04 3:33
Nic Rowan23-Jan-04 3:33 
GeneralRe: Reading XML String into DataSet (VB.NET) Pin
Guillermo Rivero23-Jan-04 3:30
Guillermo Rivero23-Jan-04 3:30 
GeneralRe: Reading XML String into DataSet (VB.NET) Pin
Nic Rowan23-Jan-04 3:35
Nic Rowan23-Jan-04 3:35 
GeneralDrawing custom captions on forms Pin
cnurse22-Jan-04 23:38
cnurse22-Jan-04 23:38 
GeneralDisable pasting in a textbox Pin
Anonymous22-Jan-04 23:16
Anonymous22-Jan-04 23:16 
GeneralRe: Disable pasting in a textbox Pin
Hesham Amin24-Jan-04 4:01
Hesham Amin24-Jan-04 4:01 
GeneralRe: Disable pasting in a textbox Pin
Dave Kreskowiak24-Jan-04 4:15
mveDave Kreskowiak24-Jan-04 4:15 
QuestionHow to use RtlMOveMemory in VB.NET? Pin
tacoboy22-Jan-04 22:31
tacoboy22-Jan-04 22:31 
Hi,
I have an old VB6 solution where I access a C dll that returns a pointer to a string.

It looks like this:

dim source as long
dim sQuery as string

source = IS_DLL_SendAndReceive(tSendBuf, tSendLen, tResult, tReclen)
sQuery = Space$(1300)
RtlMoveMemory StrPtr(sQuery), source, 2600)
Query = StrConv(sQuery, vbUnicode) 'From ASCII to Unicode

How can I achieve the same result in VB.NET?
I've tried with the Marshal Object and the Encoding class but I can't get it to work Frown | :(

/Jes.
AnswerRe: How to use RtlMOveMemory in VB.NET? Pin
RJGCarey29-Jan-04 7:24
RJGCarey29-Jan-04 7:24 
Generalc1 truedbgrid Pin
house_anno22-Jan-04 22:25
house_anno22-Jan-04 22:25 
GeneralRe: c1 truedbgrid Pin
gpa200026-Jan-04 5:16
gpa200026-Jan-04 5:16 
GeneralImporting data from Excel to Access using VB6 Pin
Member 78800722-Jan-04 19:50
Member 78800722-Jan-04 19:50 
GeneralRe: Importing data from Excel to Access using VB6 Pin
Roger Stewart23-Jan-04 1:58
professionalRoger Stewart23-Jan-04 1:58 
GeneralDisable rows in Datagrid Pin
ShoaibDanish22-Jan-04 19:48
ShoaibDanish22-Jan-04 19:48 
Generalgetting active machines Pin
radhika8122-Jan-04 19:16
radhika8122-Jan-04 19:16 
GeneralRe: getting active machines Pin
Dave Kreskowiak23-Jan-04 2:44
mveDave Kreskowiak23-Jan-04 2:44 
Generalvbs Script using msie as an object Pin
Ruzz22-Jan-04 14:41
Ruzz22-Jan-04 14:41 
GeneralRe: vbs Script using msie as an object Pin
Dave Kreskowiak23-Jan-04 2:39
mveDave Kreskowiak23-Jan-04 2:39 
General.application terminate Pin
Vivek Jain22-Jan-04 7:45
Vivek Jain22-Jan-04 7:45 
GeneralRe: .application terminate Pin
Dave Kreskowiak22-Jan-04 8:23
mveDave Kreskowiak22-Jan-04 8:23 
GeneralVBScript / JScript: out Parameter Pin
Roland Bär22-Jan-04 5:36
Roland Bär22-Jan-04 5:36 
GeneralRe: VBScript / JScript: out Parameter Pin
Dave Kreskowiak22-Jan-04 7:26
mveDave Kreskowiak22-Jan-04 7:26 
GeneralRe: VBScript / JScript: out Parameter Pin
Dave Kreskowiak22-Jan-04 8:18
mveDave Kreskowiak22-Jan-04 8:18 
GeneralRe: VBScript / JScript: out Parameter Pin
Roland Bär23-Jan-04 5:12
Roland Bär23-Jan-04 5:12 
QuestionWhat's wrong with my codes?? Pin
Anonymous22-Jan-04 4:09
Anonymous22-Jan-04 4:09 

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.