ronaldTest
Programmer
- Nov 29, 2008
- 5
Hi there,
I have the below VBA codes and need to know how do I implement the code in .NET?
Thanks
I have the below VBA codes and need to know how do I implement the code in .NET?
Code:
Option Compare Database
Declare Sub Process Lib "Process.dll" (ByRef sInt As Integer, ByRef sString As MemInfo)
Type MemInfo
sString As String * 100
End Type
Public Sub test()
Dim sSize As Integer
Dim sWord As MemInfo
sSize = 100
sWord.sString = "Hello: "
Call Process (sSize , sWord )
MsgBox sWord.sString
End Sub
Thanks