Link to home
Start Free TrialLog in
Avatar of CosmoNut
CosmoNut

asked on

Vb.net: How to read/write to memory of another application

Hello, am wondering if someone could give example code of how to read and write the value from a memory address in another application using vb(7).net,  Byte and Word values.  I have done this in the past in vb6 but am feeling rather lost in .net.

Thanks in advance for any help

Cos
ASKER CERTIFIED SOLUTION
Avatar of NetPointer
NetPointer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Zlatin Zlatev
http://www.javalobby.com/threadMode_printfriendly.jsp?forum=61&thread=4359
http://www.vbdesign.net/expresso/archive/topic/2766.html

Why you need direct memory access?
In .NET you may have it only under VC++.NET in unmanaged code, but it is considered only for device drivers and not for ordinary programs.
To interchange data between applications there are a lot of other options, but not knowing your exact requirements, cannot help you.
Please be more specific.
Kind Regards,
Zlatin
Avatar of CosmoNut
CosmoNut

ASKER

Hi zlatev, for the sake of simplicity what Im looking to do is build a stat tracker for a game server, which I have done in VB6.  For an example here if you could provide a sample that would allow me to read the value in the display box of the calculator and then write that value in the display, not looking for math functions or any calculator functions just read and write to the display, I also dont expect you to go hunting for the memory location of the calc display box,  assume for this that the display is located at address X in ram how would I read it and then write to it?  Also I am looking for a VB.net solution not a VC++.net solution if this is possiable.  

Thanks in advance for any help.

Cos
Was not what I hope to hear, but not your fault thanks for the heads up.