473,405 Members | 2,287 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Enumerate Windows

In vb6, I could Enumerate windows with API calls. Is there an easier way in .net, or do I still need to use the api calls?
Nov 20 '05 #1
3 1515
* "=?Utf-8?B?RG91Zw==?=" <an*******@discussions.microsoft.com> scripsit:
In vb6, I could Enumerate windows with API calls. Is there an easier
way in .net, or do I still need to use the api calls?


All windows in Windows? You will still have to use p/invoke to do that.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
* "=?Utf-8?B?RG91Zw==?=" <an*******@discussions.microsoft.com> scripsit:
Yes all windows in windows. I'm not familiar with p/invoke. Is that api calls?


Yes. It's very similar to VB6, but there are differences.

<http://msdn.microsoft.com/library/en-us/csref/html/vcwlkPlatformInvokeTutorial.asp>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3
Hi,

http://www.elitevb.com/content/01,0075,01/04.aspx

Ken
-----------------
"Doug" <an*******@discussions.microsoft.com> wrote in message
news:6E**********************************@microsof t.com...
Yes all windows in windows. I'm not familiar with p/invoke. Is that api
calls?

----- Herfried K. Wagner [MVP] wrote: -----

* "=?Utf-8?B?RG91Zw==?=" <an*******@discussions.microsoft.com>
scripsit:
> In vb6, I could Enumerate windows with API calls. Is there an

easier
> way in .net, or do I still need to use the api calls?


All windows in Windows? You will still have to use p/invoke to do
that.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Phillip N Rounds | last post by:
I need to eumerate all available drives in a C# Windows Form application ( and then of course the directory tree, but that's not the problem) My question is, how to I enumerate all the available...
5
by: HL | last post by:
Hi, I need to enumerate windows and find the sum of the rect of all the windows of a specific application. In C++, I use the APIs - 'EnumWindows , GetWindowRect and UnionRect to accomplish the...
1
by: smichr | last post by:
I see that there is a thread of a similar topic that was posted recently ( enumerate with a start index ) but thought I would start a new thread since what I am suggesting is a little different. ...
0
by: tom.andersen | last post by:
What we want to do is send a message to all windows in our .net application. They all are based on System.Windows.Forms.Form, and we might have, say 5 of them open in our application at once....
0
by: pa.singer | last post by:
I have an MDIList menu item that I want to enumerate at run-time and possibly change the text shown for some of the MDI children included in that list. When I enumerate the collection for that...
2
by: eight02645999 | last post by:
hi, i am using python 2.1. Can i use the code below to simulate the enumerate() function in 2.3? If not, how to simulate in 2.1? thanks from __future__ import generators def...
21
by: James Stroud | last post by:
I think that it would be handy for enumerate to behave as such: def enumerate(itrbl, start=0, step=1): i = start for it in itrbl: yield (i, it) i += step This allows much more flexibility...
3
by: ssghill | last post by:
Okay all i'm new to the asp portion but fairly good with vbscript. My problem is that I am trying to us an asp page to enumerate an ou. The problem is when I us localhoston the intranet web...
2
by: =?Utf-8?B?am1hZ2FyYW0=?= | last post by:
I'm trying to get a list of user accounts on the local computer - the same list you see when you are about to log in to Windows XP or Vista. This needs to work on a home computer (not connected to...
1
by: ShadowLocke | last post by:
I've been searching for the past two days on how to enumerate only the visible windows on the desktop (ala Taskbar/Alt+Tab list) I am using EnumWindows to get the list of the windows and this is what...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.