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
Thanks in advance for any help
Cos
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
Thanks in advance for any help.
Cos
ASKER
Was not what I hope to hear, but not your fault thanks for the heads up.
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