EnumWindows equivalent in VB .Net

  • Thread starter Thread starter Geoff
  • Start date Start date
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
 
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...
 
* "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.
 
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-----
 
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.
 
Back
Top