Click here to Skip to main content
15,886,664 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hey guys,

I want to get and set flex grid cell value in another process , how can I do that ?

I know that is can be done by sub classing & hooking and inject code to the another process space , it is difficult for me, I will be appreciate if there is an example to demonstrate.

Regards
Sameh Nabeel
Posted
Comments
[no name] 26-Jul-13 21:50pm    
So you want to hire someone to write all this code for you that "is difficult" for you?
S-N-A1 28-Jul-13 17:14pm    
Thanks for reply but what i found example with C++ and i know a little in C++ , after search for days I found good example to get value from clicked flex grid cell using hook in DLL file written with c++ but I can't edit or set value of specified cell in same flexgrid.
the Example link here :

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=74112&lngWId=1&txtForceRefresh=72320131955178879

A appreciate for any one can help me.

Regards
Sameh Nabeel

1 solution

In vb6
I am using MSHFLEXGRID1 to get perticular cell value

VB
Dim MyCellValue as integer 'Integer or String as per your requirement

MyCellValue = MSHFlexGrid1.TextMatrix(0, 1)  ''0 stand for Row and 1 is for column


If you have any query please let me knopw.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900