Re: get text from listbox

Tech-Archive recommends: Fix windows errors by optimizing your registry



Thanks, will give that a try.

RBS


"Schmidt" <sss@xxxxxxxxx> wrote in message news:Oy$56uy9FHA.1484@xxxxxxxxxxxxxxxxxxxxxxx

"RB Smissaert" <bartsmissaert@xxxxxxxxxxxxxxxx> schrieb im Newsbeitrag news:%23IjeWms9FHA.1224@xxxxxxxxxxxxxxxxxxxxxxx
Not sure that could work.
The listbox has 7 columns, 1 for an icon and 6 with strings.
Then it is a ListView (Somewhat different, especially regarding the SubItems
in the other 6 Columns).


I've written a "hackish" example (few Const-Declares and comments) some time
ago, to read out the Columns of a ListView-Control from an external Process
(FileMon from Sysinternals).


The Main-Problem is, that you need to deal correctly with the
ReadProcessMemory/WriteProcessMemory-APIs.

Anyway - here's the link:
http://tinyurl.com/a7b6j
Try, to get this to work first (with FileMon), before you adapt the code to
your problem.


HTH

Olaf



.