Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > stuck in EnumWindows


Reply
 
Thread Tools Display Modes
  #1  
Old 01-08-2010, 12:53 AM
rohitb rohitb is offline
Freshman
 
Join Date: Jun 2006
Posts: 26
Default stuck in EnumWindows


Edit by Moderator: Please don't post your question in multiple forums


there is a MDI application called ODIN

it has a MDI FORM whose title starts with MARKET WATCH which displays text in syslistview32

i want get the text from syslistview32 placed in this MDI FORM NAMED MARKET WATCH and save it to a csv file

im very new to this enumwindows etc pls help me to code

below is the code for seeing if ODIN is running

if ODIN is running it inserts the Hwnd in the text box and displays message box

i am attaching my code + Screen shot with this pls help me to get to the MDI CHILD FORM and get the text to csv file

http://img237.imageshack.us/img237/2020/childwindow.png

http://img20.imageshack.us/img20/8651/parentwindow.png
Attached Files
File Type: zip ENUMWINDOWS.zip (1.9 KB, 3 views)

Last edited by Flyguy; 01-08-2010 at 01:44 AM.
Reply With Quote
  #2  
Old 01-08-2010, 03:59 AM
vb5prgrmr vb5prgrmr is offline
Senior Contributor

* Expert *
 
Join Date: Mar 2009
Posts: 1,087
Default

Don't even need to see your code or images. Once you know the handle to the program, you no longer need EnumWindows, you need EnumChildWindows...



Good Luck
Reply With Quote
  #3  
Old 01-08-2010, 11:21 AM
rohitb rohitb is offline
Freshman
 
Join Date: Jun 2006
Posts: 26
Default

im very new pls can some one help me with code
Reply With Quote
  #4  
Old 01-08-2010, 09:21 PM
vb5prgrmr vb5prgrmr is offline
Senior Contributor

* Expert *
 
Join Date: Mar 2009
Posts: 1,087
Default

Time to use your friends (yahoo, google, ask, answers, bing) as there is code out there that shows how to use these API's...



Good Luck
Reply With Quote
  #5  
Old 01-08-2010, 11:45 PM
OnErr0r's Avatar
OnErr0r OnErr0r is offline
Obsessive OPtimizer

Administrator
* Guru *
 
Join Date: Jun 2002
Location: Debug Window
Posts: 13,686
Default

Better yet, use the forum search engine. You'll find it discussed many times. Btw, I would specify the API forum.
__________________
Quis custodiet ipsos custodues.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->