Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: AC_Drkan on September 30, 2004, 03:02 PM

Title: [VB] Closing a Window
Post by: AC_Drkan on September 30, 2004, 03:02 PM
I think i know how to close a window like internmet explorer but correct me if im wrong:

you'd find the Location of the windows the shell execute close iexplore.exe?
Title: Re: [VB] Closing a Window
Post by: Dyndrilliac on September 30, 2004, 06:32 PM
TerminateProcess() API.
Title: Re: [VB] Closing a Window
Post by: Michael on September 30, 2004, 06:37 PM
Quote from: Dyndrilliac on September 30, 2004, 06:32 PM
TerminateProcess() API.
How would you get the process number or info? and what api calls would you need?
Title: Re: [VB] Closing a Window
Post by: Dyndrilliac on September 30, 2004, 07:38 PM
Google?

Findwindow()
GetWindowThreadProcessId()
OpenProcess()
TerminateProcess()
Title: Re: [VB] Closing a Window
Post by: AC_Drkan on October 01, 2004, 09:08 PM
Quote from: Dyndrilliac on September 30, 2004, 07:38 PM
Google?

Findwindow()
GetWindowThreadProcessId()
OpenProcess()
TerminateProcess()

Ahhh the infamous Google!
Title: Re: [VB] Closing a Window
Post by: LivedKrad on October 03, 2004, 04:15 AM
Seems to me this topic solution could have easily been found on google.
Title: Re: [VB] Closing a Window
Post by: Michael on October 03, 2004, 10:13 AM
Quote from: LivedKrad on October 03, 2004, 04:15 AM
Seems to me this topic solution could have easily been found on google.
What can't be solved with google?
Title: Re: [VB] Closing a Window
Post by: Banana fanna fo fanna on October 03, 2004, 11:58 AM
Grand Unified Theory
Title: Re: [VB] Closing a Window
Post by: Forged on October 03, 2004, 12:50 PM
I'm sure google could do it