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

Visual Basic

 
GeneralRe: lpCurrentDirectory Pin
Dave Kreskowiak31-May-04 11:11
mveDave Kreskowiak31-May-04 11:11 
GeneralRe: lpCurrentDirectory Pin
soul.ripper31-May-04 11:43
soul.ripper31-May-04 11:43 
GeneralAPI Problem - Get The Icon For Another Window Pin
ColonelSanders30-May-04 15:56
ColonelSanders30-May-04 15:56 
GeneralRe: API Problem - Get The Icon For Another Window Pin
DSclub30-May-04 21:05
DSclub30-May-04 21:05 
GeneralRe: API Problem - Get The Icon For Another Window Pin
Dave Kreskowiak31-May-04 1:05
mveDave Kreskowiak31-May-04 1:05 
GeneralRe: API Problem - Get The Icon For Another Window Pin
ColonelSanders31-May-04 8:38
ColonelSanders31-May-04 8:38 
GeneralRe: API Problem - Get The Icon For Another Window Pin
Dave Kreskowiak31-May-04 11:18
mveDave Kreskowiak31-May-04 11:18 
GeneralrtlMoveMemory Dll Call Problem In .NET Pin
Pugman81230-May-04 11:55
Pugman81230-May-04 11:55 
I figured out fully the functions of this call through the use of for loops. This is great but there is a speed issue when handling the functions of this dll through for loops. I am just wandering if annoy one knows how to make this call work in .NET. The declare in vb 6.0 is

Private Declare Sub CopyMemory Lib "kernel32.dll" Alias "RtlMoveMemory" (ByRef Destination As Any, ByRef Source As Any, ByVal Length As Long)<br />


This is what i am having to work with. As anyone should know that the datatype
is not supported in .net. So i replaced it with the Object datatype.

a call to this dll function looks like this
<br />
Dim bytearray(3) as Byte<br />
dim bytearray2(3) as Byte<br />
<br />
Copymemory(bytearray(0), bytearray2(0), 4)<br />

This function copys all data starting with bytearray2(0) to bytearray(0) then
bytearray2(1) to bytearray(1) and so on until it copys 4 times. As you can see this can be done with a for loop. But say you have to run thought that for loop 1000 times. The Dll call is much more efficient. When i do it in the manner that i am now my processor sits at 100 percent for almost 3 seconds while it goes through these loops. In 6.0 using the dll call there is no wait and no processor jump. I need this call to work for program efficiency. Any help would be great. Thank you
GeneralRe: rtlMoveMemory Dll Call Problem In .NET Pin
Dave Kreskowiak31-May-04 1:03
mveDave Kreskowiak31-May-04 1:03 
QuestionHow can I disable CANCEL box in System.Window.form? Pin
ATC30-May-04 5:43
ATC30-May-04 5:43 
AnswerRe: How can I disable CANCEL box in System.Window.form? Pin
Syed Abdul Khader30-May-04 18:59
Syed Abdul Khader30-May-04 18:59 
GeneralRe: How can I disable CANCEL box in System.Window.form? Pin
ATC31-May-04 8:13
ATC31-May-04 8:13 
Generalanswer can or cannot Pin
GaryKoh29-May-04 16:12
GaryKoh29-May-04 16:12 
GeneralRe: answer can or cannot Pin
Hesham Amin31-May-04 7:33
Hesham Amin31-May-04 7:33 
GeneralRe: answer can or cannot Pin
f6431-May-04 10:05
f6431-May-04 10:05 
GeneralRe: answer can or cannot Pin
GaryKoh31-May-04 14:05
GaryKoh31-May-04 14:05 
General Importing from password protected .xls (I know the password) Pin
GameFaqsPower12329-May-04 9:29
GameFaqsPower12329-May-04 9:29 
GeneralRe: Importing from password protected .xls (I know the password) Pin
Dave Kreskowiak29-May-04 15:15
mveDave Kreskowiak29-May-04 15:15 
Generalconnect to server Pin
GaryKoh28-May-04 21:41
GaryKoh28-May-04 21:41 
GeneralPlugins Pin
beowulfagate28-May-04 14:15
beowulfagate28-May-04 14:15 
GeneralRe: Plugins Pin
Mike Ellison28-May-04 14:43
Mike Ellison28-May-04 14:43 
GeneralRe: Plugins Pin
beowulfagate28-May-04 14:56
beowulfagate28-May-04 14:56 
GeneralWM_GETTEXT from text box. Please Help... Pin
danfloun28-May-04 12:33
danfloun28-May-04 12:33 
Questionhow do you create a .mat file in VB6? Pin
murphypa28-May-04 8:49
murphypa28-May-04 8:49 
AnswerRe: how do you create a .mat file in VB6? Pin
Dave Kreskowiak28-May-04 9:25
mveDave Kreskowiak28-May-04 9:25 

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.