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

Visual Basic

 
AnswerRe: Deploying a VB.Net application with third party dlls? Pin
Sarvesvara (BVKS) Dasa26-May-04 7:37
Sarvesvara (BVKS) Dasa26-May-04 7:37 
GeneralUsercontrols on Panes Pin
emari25-May-04 1:00
emari25-May-04 1:00 
GeneralRe: Usercontrols on Panes Pin
Dave Kreskowiak25-May-04 2:09
mveDave Kreskowiak25-May-04 2:09 
GeneralRe: Usercontrols on Panes Pin
Member 85737725-May-04 8:56
Member 85737725-May-04 8:56 
GeneralRe: Usercontrols on Panes Pin
Dave Kreskowiak25-May-04 11:14
mveDave Kreskowiak25-May-04 11:14 
GeneralRe: Usercontrols on Panes Pin
emari25-May-04 22:02
emari25-May-04 22:02 
GeneralRe: Usercontrols on Panes Pin
Member 85737725-May-04 9:24
Member 85737725-May-04 9:24 
Generalkernel32.dll Call Problems Pin
Pugman81224-May-04 23:03
Pugman81224-May-04 23:03 
I am tring to use the copymemory API and it works fine in vb 6.0 but when i try to use this in .net. It throws an error and says that the object is not set to an instance. The API is declared in a public module and you do not have to instance a module. Well i never have and i have also tried putting the call in the class im working in. Still nothing. I have tried many variations in the coding of the call to satisfy its needs but always throws the error. This is the code that i am using in .NET

<br />
Public Declare Sub CopyMemory Lib "kernel32.dll" Alias "RtlMoveMemory" (ByVal Destination As Int32, ByRef Source As Object, ByVal Length As Int32)


This is the code that works in 6.0

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

And also is the a equivalent of the any data type in 6.0 Object in a manner of speaking.
GeneralRe: kernel32.dll Call Problems Pin
Dave Kreskowiak25-May-04 0:33
mveDave Kreskowiak25-May-04 0:33 
GeneralRe: kernel32.dll Call Problems Pin
Pugman81225-May-04 9:17
Pugman81225-May-04 9:17 
GeneralRe: kernel32.dll Call Problems Pin
Dave Kreskowiak25-May-04 11:57
mveDave Kreskowiak25-May-04 11:57 
GeneralRe: kernel32.dll Call Problems Pin
Pugman81225-May-04 12:34
Pugman81225-May-04 12:34 
GeneralOpening large tiff files Pin
NaserAbiat24-May-04 19:22
NaserAbiat24-May-04 19:22 
GeneralRe: Opening large tiff files Pin
Dave Kreskowiak25-May-04 0:30
mveDave Kreskowiak25-May-04 0:30 
GeneralRe: Font color,Type, Columns... Pin
Dave Kreskowiak24-May-04 16:49
mveDave Kreskowiak24-May-04 16:49 
GeneralRe: Font color,Type, Columns... Pin
Dave Kreskowiak25-May-04 0:28
mveDave Kreskowiak25-May-04 0:28 
GeneralRe: Font color,Type, Columns... Pin
rubdub25-May-04 20:18
rubdub25-May-04 20:18 
GeneralSetting Enviroment Variables Pin
waffleman24-May-04 8:58
waffleman24-May-04 8:58 
GeneralRe: Setting Enviroment Variables Pin
Dave Kreskowiak24-May-04 9:22
mveDave Kreskowiak24-May-04 9:22 
GeneralMultithreading Help Pin
800XL24-May-04 5:59
800XL24-May-04 5:59 
GeneralRe: Multithreading Help Pin
Dave Kreskowiak24-May-04 7:11
mveDave Kreskowiak24-May-04 7:11 
GeneralRe: Multithreading Help Pin
800XL24-May-04 23:32
800XL24-May-04 23:32 
GeneralRe: Multithreading Help Pin
Dave Kreskowiak25-May-04 0:24
mveDave Kreskowiak25-May-04 0:24 
GeneralRe: Multithreading Help Pin
800XL25-May-04 0:57
800XL25-May-04 0:57 
GeneralRe: Multithreading Help Pin
800XL26-May-04 1:19
800XL26-May-04 1:19 

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.