Hi Folks,

Quick question - is it possible to access a memory address using vb.net?

For example, if i want to access the memory address 0x00000002 I can type this in C#:

private const int th32CS_SNAPPROCESS = 0x00000002;

But when I try what I think the vb.net version should be:

Private Const th32cs_SnapProcess As Int32 = 0x00000002

However, VS doesnt seem to like this code.

Any ideas why? Is it possible to access memory in vb.net?

All suggestions gratefully recieved!

Thanks