R
Robert
The following snippet is my code from a VB6.0 Module.
I am now using Visual Studio 2008 Standard.
'Registry Constants
Public Const HKEY_CLASSES_ROOT = &H80000000
Public Const HKEY_CURRENT_USER = &H80000001
Public Const HKEY_LOCAL_MACHINE = &H80000002
Public Const HKEY_USERS = &H80000003
I have created a VB.Net app, and when I place the above in a Module it has
blue squiggly lines stating that it must be declared
with an "AS"
Can some one help with my upgrading of my code.
What is the .Net version of the above.
Also, now the following does not work in .Net.
Type SECURITY_ATTRIBUTES
nLength As Long
lpSecurityDescriptor As Long
bInheritHandle As Boolean
End Type
Any sites with tutorials for upgrade code to .Net.
I am now using Visual Studio 2008 Standard.
'Registry Constants
Public Const HKEY_CLASSES_ROOT = &H80000000
Public Const HKEY_CURRENT_USER = &H80000001
Public Const HKEY_LOCAL_MACHINE = &H80000002
Public Const HKEY_USERS = &H80000003
I have created a VB.Net app, and when I place the above in a Module it has
blue squiggly lines stating that it must be declared
with an "AS"
Can some one help with my upgrading of my code.
What is the .Net version of the above.
Also, now the following does not work in .Net.
Type SECURITY_ATTRIBUTES
nLength As Long
lpSecurityDescriptor As Long
bInheritHandle As Boolean
End Type
Any sites with tutorials for upgrade code to .Net.