Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Visual Basic 2008 Essentials If you are new to Visual Basic programming with version 2008, this is the place to start your questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2008 Essentials section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 17th, 2008, 03:09 PM
Registered User
 
Join Date: Jun 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default windows

hello

i'm kinda new to vb and i was wondering if it was possible to make a listbox with all active windows included?


Reply With Quote
  #2 (permalink)  
Old June 18th, 2008, 09:52 AM
Friend of Wrox
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Wow. “Windows” is a pretty broad topic! (The purpose of the subject line is to attract those who are interested in the realm of your problem...)
Another tip (if I may): It would be better to use normal capitalization in posts (“VB” not “vb,” “I'm” not “i'm,” etc.) It makes your posts easier to read, allowing more focus on what you’re saying, without having to surmount how you’re saying it.

There is an API, something like “EnumerateWindows” which gives you all of the windows that are open, tat is, that exist. (BTW: There’s never more than 1 active window...)

Having obtained the windows (you receive the contents of their title bar), you can then use the method of adding lines to a listbox with those data.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows dave_dc BOOK: Professional Multicore Programming: Design and Implementation for C++ ISBN: 978-0-470-28962-4 2 September 14th, 2013 07:35 AM
C# and windows smee C# 2005 2 February 20th, 2007 07:16 AM
Accessing Windows service from a windows app sajid08 C# 1 October 6th, 2006 10:25 AM
Windows Service hunghung General .NET 3 January 20th, 2005 01:43 PM
Windows 98 OCX control issues vs Windows XP benoyraj VB How-To 0 May 5th, 2004 08:10 AM



All times are GMT -4. The time now is 11:20 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.