I have opened many exe file like(winword.exe,excel.exe
,notepad.e
xe)
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)=="winwo
rd")
m=d(1).getprocess();
else if typeofexefile(d(1)=="notep
ad")
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 ?