[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

10/31/2009 at 08:24AM PDT, ID: 24860766 | Points: 500
[x]
Attachment Details

how to take  running exe file into vb.net2003  windows application coding ?

Asked by Tamilselvan in .NET, .NET Framework 2.x, Visual Studio

Tags: vb.net2003, file running process handling

I have opened many exe file like(winword.exe,excel.exe,notepad.exe)
I want to move, maximize and  minimize the  word file window, excel file window, etc. that  means exe file  type wise. this is my ideal

Dim a() As Process = Process.GetProcessesByName("iexplore")
Dim b() As Process = Process.GetProcessesByName("notepad")
Dim c() As Process = Process.GetProcessesByName("winword ")
consider the above coding
a will take all opened interexplore file
b will take all opened notepad  file
c will take all opened  winword file .  I know about above coding
I want programming for following format
consider the following programming. this is not correct programming.
this is  imagine of my mind plan for my requirement
I  want to  take any of exe file that is running
Dim d() As Process = Process.GetProcessesByName("any of exe file ")
 if typeofexefile(d(1)=="winword")
          m=d(1).getprocess();
else  if typeofexefile(d(1)=="notepad")
          n=d(1).getprocess();
I know this is not correct programming.
this imagine programme  is   to  understand you   for  my mind expectation  

what is the original  vb.net2003 windows application code  for my above imagine programming expectation    ?
[+][-]10/31/09 01:28 PM, ID: 25711419

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/02/09 05:53 AM, ID: 25719231

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/02/09 07:32 AM, ID: 25720258

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/02/09 07:24 PM, ID: 25725835

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/02/09 07:47 PM, ID: 25725900

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-91 - Hierarchy / EE_QW_3_20080625