Solved

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

Posted on 2003-11-14
4
4,903 Views
Last Modified: 2009-09-26
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
0
Comment
Question by:CosmoNut
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
NetPointer earned 500 total points
ID: 9765980
not in vb7.. its a managed code..u dont have pointers here...

u can use managed extension for C++ for this...

or u can use remoting.

Regards,
NetPointer
0
 
LVL 8

Expert Comment

by:zlatev
ID: 9786769
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
0
 
LVL 1

Author Comment

by:CosmoNut
ID: 9799390
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
0
 
LVL 1

Author Comment

by:CosmoNut
ID: 9808419
Was not what I hope to hear, but not your fault thanks for the heads up.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question