creating an executable

Hi folks,

  I have the ned to create an executable script that will check to see if a certain window in Internet Explorer is open. I am trying to write this in and I am nwebie at it. Could someone b as so kind as to point me in the right direction??
ANy help appericated...
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dear bearpaws,

You need to use Process class of .NET, once you got object of process class its quite easy to get memory information.

Simply copy this code in any of your application event. Like button click, or form load. It will give you number of processes available in memory for internet explorer.

Dim i As Integer
Dim p2 As System.Diagnostics.Process() = System.Diagnostics.Process.GetProcessesByName("IEXPLORE")
If p2.Length > 0 Then
     MsgBox("Total Internet explorer instances are " + p2.Length.ToString())
     MsgBox("No Internet Explorer Process Running")
End If

Let me know if there is any confusion.

Also you can play with memory processes in any way by using Process class. For more information see following link(if needed).

bearpawsAuthor Commented:
I am assuming the client will need to have .net framework loaded
Basically what I want to do is confirm they hav a certain page open and if so,
(it is an xml document) save it to file
Ya .NET framework is needed to run any executable or VB.NET. Once you get the control of the process you can do many tricks with contents too. Explore PROCESS class of .NET framework.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.