Re: SysListView32 [resolved]
benmartin101 could u show me how to select perticuler external listbox item . Thanks
Re: SysListView32 [resolved]
Re: SysListView32 [resolved]
benmartin101 if the data in "Syslistview32" updates dynamically like a stocks trading platform how could we copy the data in to a excel sheet automatically.
Re: SysListView32 [resolved]
Well, I'm guessing you could create a hook that would intercept all LVM_SETITEMTEXT messages to that listview. Then from that intercepted message, just get the text and just create a code that would send the text to the excel sheet. I'm assuming that your already familiar with hooks, if not, then there are many threads here that explains how to make one.
Re: SysListView32 [resolved]
Quote:
Originally Posted by benmartin101
Well, I'm guessing you could create a hook that would intercept all LVM_SETITEMTEXT messages to that listview. Then from that intercepted message, just get the text and just create a code that would send the text to the excel sheet. I'm assuming that your already familiar with hooks, if not, then there are many threads here that explains how to make one.
benmartin101 I am new to programming.The application which I use displays data in "syslistview32".That is executable application only.How Can i get the data that is displayed to be displayed in Excel.If it is a small thing can you write the code for me
Re: SysListView32 [resolved]
Mr benmartin101
Pl guide me which books i have to read,about hooks .Particularly VB.net wnvironment
Re: SysListView32 [resolved]
I didn't really read any books to learn about hooks. I mainly looked at the threads, and to understand what is happening, I just googled in the internet. Understanding the concept first is probably best to do first. Then you could look at the codes(that are shown in many of the threads in here) and just learn what they are doing.
For example, when you click on a button, a "WM_LBUTTONDOWN message" is sent to the button's window procedure. The window procedure then processes that message.
Now, if you installed a WH_GETMESSAGE hook(there are other types of hooks other than this, and they differ in usage), it will intercept that WM_LBUTTONDOWN message before it gets to the button's window procedure. You can then manipulate or process the data that came with the WM_LBUTTONDOWN message depending on what you're trying to do. After you're finished processing the message, it then goes to the window procedure.