EnumWindows equivalent in VB .Net

G

Geoff

I need to reproduce functionality from a VB6 application
in VB .Net. In the VB6 app, I use FindWindow, EnumWindows
and other related functions. Is there a .Net NameSpace
that replaces these functions for more "compliance"
with .Net, or should I just use the "old" approach?

Thanks in advance,
Geoff
 
T

Tom Shelton

I need to reproduce functionality from a VB6 application
in VB .Net. In the VB6 app, I use FindWindow, EnumWindows
and other related functions. Is there a .Net NameSpace
that replaces these functions for more "compliance"
with .Net, or should I just use the "old" approach?

Thanks in advance,
Geoff

Geoff,

More then likely you'll end up using the "old" approach. But, that
really depends on what you were doing. Can you give some more detail
about what your actually trying to do...
 
H

Herfried K. Wagner [MVP]

* "Geoff said:
I need to reproduce functionality from a VB6 application
in VB .Net. In the VB6 app, I use FindWindow, EnumWindows
and other related functions. Is there a .Net NameSpace
that replaces these functions for more "compliance"
with .Net, or should I just use the "old" approach?

In this case, there is no managed replacement in the .NET Framework
available.
 
G

Guest

Tom,
I am trying to find out if a specific app is already
running. And, in some cases, I will need to be able
to "click a button" in that other app if it IS running.

Using VS.Net 2003 and .Net Framework 1.1

Thanks again,
Geoff
-----Original Message-----
 
T

Tom Shelton

Tom,
I am trying to find out if a specific app is already
running. And, in some cases, I will need to be able
to "click a button" in that other app if it IS running.

Using VS.Net 2003 and .Net Framework 1.1

Thanks again,
Geoff

Geoff,

In this case - I would say that you're stuck using the "old" way. There
isn't anyway really to accomplish all of this from inside the framework.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top