-
Oct 22nd, 2020, 03:16 PM
#1
Thread Starter
New Member
I opened chrome using shell, how can I close all instances of open Chrome using VB6?
Is there a way to close all instances of Chrome that are open on my computer?
-
Oct 22nd, 2020, 03:24 PM
#2
Re: I opened chrome using shell, how can I close all instances of open Chrome using V
That would be malware. We don't do that here.
-
Oct 22nd, 2020, 03:26 PM
#3
Thread Starter
New Member
Re: I opened chrome using shell, how can I close all instances of open Chrome using V
That is in no way malware. I just want a kill button on the bottom of my screen to close all the open browsers I have on my desktop. How is that in any way malware?
-
Oct 23rd, 2020, 02:52 AM
#4
Re: I opened chrome using shell, how can I close all instances of open Chrome using V
-
Oct 23rd, 2020, 03:46 PM
#5
Re: I opened chrome using shell, how can I close all instances of open Chrome using V
Originally Posted by CaptainJohn
That is in no way malware. I just want a kill button on the bottom of my screen to close all the open browsers I have on my desktop. How is that in any way malware?
Right click on the Chrome icon at the taskbar and select "Close all windows"
-
Oct 23rd, 2020, 04:41 PM
#6
Thread Starter
New Member
Re: I opened chrome using shell, how can I close all instances of open Chrome using V
Originally Posted by wqweto
Malware kills :-))
Haha, I know the Kill funcion, but how do I know what Chrome is called?
-
Oct 23rd, 2020, 04:42 PM
#7
Thread Starter
New Member
Re: I opened chrome using shell, how can I close all instances of open Chrome using V
Originally Posted by Eduardo-
Right click on the Chrome icon at the taskbar and select "Close all windows"
*facepalm*
-
Oct 23rd, 2020, 05:15 PM
#8
Re: I opened chrome using shell, how can I close all instances of open Chrome using V
Originally Posted by CaptainJohn
*facepalm*
That's what you asked for.
-
Oct 23rd, 2020, 05:18 PM
#9
Thread Starter
New Member
Re: I opened chrome using shell, how can I close all instances of open Chrome using V
Originally Posted by Eduardo-
That's what you asked for.
Not exactly. The question was how to close chrome using VB6. Honestly, I just don't know how to figure out what programs are called in VB6. I have used the kill function for forms, can I use that on Chrome? Or how to I find out what the windows handle is so I can use the API?
-
Oct 23rd, 2020, 06:51 PM
#10
Re: I opened chrome using shell, how can I close all instances of open Chrome using V
We usually don't help people when we suspect the question is for doing malware. And your question does not make much sense... and there is no "kill funtion for forms"... and the phrase "what programs are called in VB6" makes no sense either.
Good luck.
-
Oct 23rd, 2020, 07:23 PM
#11
Thread Starter
New Member
Re: I opened chrome using shell, how can I close all instances of open Chrome using V
oh my, how I miss PSC. Is everybody on here so combative, or is it the election got everybody all fired up?
It does make since. Windows uses hwnd to identify programs, and some programs like notepad are just called notepad. I put in chrome and it doesn't work. When I used to program alot, chrome wasn't a thing, we used IE for everything, if we didn't do our own browsers. I was just looking for some insight. I'm not sure what malware one would do closing browsers, that would be silly anyways. I spent years using VB6 and PSC (planet source code) making everything from POS (cash register) systems, to running an I/O card turning on and off all the equipment in a carwash. I just have never had to close programs I didn't write, it was an easy question, would have taken 5 minutes on PSC with their search menu. And if I couldn't find it, in the old days of PSC, you would just ask the question and people would help with code. I dunno, here live the trolls ??? Anybody on here actually code???
I don't work for anonymous, I'm not a hacker, I'm not trying to destroy the world. I'm a mid 40s international businessman teaching my son how to write code, and this is a project he wanted to do. My 12 year old thought it would be awesome to make an EXE he could send to his friends on their windows PC's that opens up his youtube page, shows a video, and then closes by itself after they watch the video. Do I think it's a silly project, yes. Does my 12 year old think it's magical, yes. For some reason it has to be chrome for him. And I'll do anything to get him off of video games and into code writing, so this is a great start...
Last edited by CaptainJohn; Oct 23rd, 2020 at 08:11 PM.
-
Oct 23rd, 2020, 07:25 PM
#12
Thread Starter
New Member
Re: I opened chrome using shell, how can I close all instances of open Chrome using V
You are right, the kill was back in the DOS days to erase things, not VB6...
-
Oct 23rd, 2020, 07:43 PM
#13
Re: I opened chrome using shell, how can I close all instances of open Chrome using V
One site that has the PSC projects and with a search function is this.
-
Oct 23rd, 2020, 07:44 PM
#14
Thread Starter
New Member
Re: I opened chrome using shell, how can I close all instances of open Chrome using V
Originally Posted by Eduardo-
One site that has the PSC projects and with a search function is this.
That is great, I can figure it out from here! You are the best, thanks for your help!
-
Oct 23rd, 2020, 07:54 PM
#15
Thread Starter
New Member
Re: I opened chrome using shell, how can I close all instances of open Chrome using V
Just in case anybody else is looking to do something similar! Here is some code to help others
https://www.fortypoundhead.com/showc...sp?artid=24093
Last edited by CaptainJohn; Oct 23rd, 2020 at 08:03 PM.
-
Oct 23rd, 2020, 08:22 PM
#16
Fanatic Member
Re: I opened chrome using shell, how can I close all instances of open Chrome using V
kill the process chrome. exe
-
Oct 23rd, 2020, 08:33 PM
#17
Thread Starter
New Member
Re: I opened chrome using shell, how can I close all instances of open Chrome using V
Originally Posted by xxdoc123
kill the process chrome. exe
That is way easier than what I was trying to do. Thank you.
Shell "taskkill.exe /f /t /im chrome.exe"
yup...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|