CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2009
    Posts
    17

    can anyone check this and help me out

    http://www.4shared.com/file/ogcmtgdH/ENUMWINDOWS.html



    this code is suppose to pull out data from syslistview32 of a application

    but its not fetching the data

    its just creating a blank file
    Attached Files Attached Files
    Last edited by rohitb; April 22nd, 2010 at 04:50 AM.

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: can anyone check this and help me out

    Rather post your code here ( in zip format ) or put your code in [CODE] blocks, and explain what precisely your problem is, then, we can possibly help

  3. #3
    Join Date
    Dec 2009
    Posts
    17

    Re: can anyone check this and help me out

    Quote Originally Posted by HanneSThEGreaT View Post
    Rather post your code here ( in zip format ) or put your code in [CODE] blocks, and explain what precisely your problem is, then, we can possibly help
    here i hav attached the code and screen shots

  4. #4
    Join Date
    Jul 2006
    Location
    Germany
    Posts
    3,725

    Re: can anyone check this and help me out

    Have you tested the modified thing I sent to you by email?
    Your read-out routine works well as it seems.
    Maybe the handle of the syslist32 is not valid...
    I shall give it a closer look tonight.

  5. #5
    Join Date
    Dec 2007
    Posts
    234

    Re: can anyone check this and help me out

    Well, that's fine and dandy, but it would be far easier if you posted just the part(s) you're having issue with. People like me don't have VB6 just lying around that we can use to test someone's code. But I can spend a couple minutes looking at it online and spot problems.

    -tg

  6. #6
    Join Date
    Jul 2006
    Location
    Germany
    Posts
    3,725

    Re: can anyone check this and help me out

    I'd give debugging another go:
    Have you verified if you get back proper ListCount and ColumnCount values?

  7. #7
    Join Date
    Sep 2010
    Posts
    5

    Re: can anyone check this and help me out

    i am also trying to get the itemtext data from syslistview32 of external process through VB program and stuck at the same place. I am able to get itemcount, columncount and header text correctly but while i try to use lvm_getitemtext i get null return. I have read on the forum that someone have solved this problme for one of the user but am unable to get the code. Please help me out as i am stuck in this position since last 1 month. My program is able to get itemdata from all other listviews but it does not work on one program ODIN which updates and show live stock market prices.

    Thanks for the help...

  8. #8
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: can anyone check this and help me out

    Your own listbox is different than a listbox in another program.

    Please start a new thread, rather than confuse an old one!

    Also, include CODE SAMPLES and PICTURES where appropriate.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured