but how to point to the address of another variable? Thanks
You'll have to follow the website I gave you. VB stopped supporting VarPtr in VB6, and now there's no such thing as a pointer in VB .NET. But, as the article points out, you can still invoke the HeapAlloc API function and then use the memory reading/writing functions the author mentions.
Comment