Get The Address of An Object in Memory
Version Compatibility: Visual Basic.NET
There was function in VB6 that supplied you with the pointer for a variable in memory. This does not exist in VB.NET, so this function will return the offset of where a given object is located in memory.
Instructions: Copy the declarations and code below and paste directly into your VB project.