Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

closing other exe file from filemaker

Featured Replies

hi, all ! can somebody tell me how to close other application ?

well something like a batch file which i can call it from fmp via send event script.

actually batch file is fine but what is the code for it ?

or make other application bring forward when i call it from fmp.

send event bring forward is not working for

one of the application that i have.

it keeps blinking at the bottom of the

toolbar instead of comming to the front.

any idea ?

thanks,

mike

Edited by Guest

Mike,

You could use the "TASKKILL" command line parameter.

taskkill /F /IM notepad.exe /T

That's kind of cool, something to add to my toolkit :

  • Author

hi, mark ! i made a batch file with that code and it didn't close the app. it said taskkill is not recognizable.

i heard that there is a pskill which will do this but in window nt and xp pro. but i have xp home edition.

hello genx ! did you test it ? did it work for you ?

how should i use it ?

thanks ,

mike

Edited by Guest

Mike,

It is not required to use a batch file. The script step Send Event using a calculation will work on its own.

I made a table with the program names in it. Each record has a button to run a Kill Task script.

Send Event: "CMD /C TASKKILL /F /IM " & Program_Name & " /T"

  • Author

hi, mark ! thanks for reply.

i tried your code and it didn't close other program.

i used < "CMD /C TASKKILL /F /IM " & "logitech quickcam.exe" & " /T" > in a send event calc and it didn't work.

am i doing something wrong here ?

regards,

mike

Edited by Guest

Try:

"CMD /C TASKKILL /F /IM " & Quote("logitech quickcam.exe") & " /T"

  • Author

hi, genx ! that didn't work neither.

wim decorte said send ALT-F4 comand with vb code will do. but i don't know nothing about vb.

i'm still waiting for his reply.

thanks ,

mike

I just tried: "CMD /C TASKKILL /F /IM " & Quote("firefox.exe") & " /T" and it worked fine for me, killed firefox straight off lol.

Hit Ctrl + Shift + Escape, go to processes and make sure you have the exact process name for your logitech app.

"CMD /C TASKKILL /F /IM " & Quote("FileMaker Pro Advanced.exe") & " /T"

Should kill fm if you wanted to do that?

  • Author

hi, genx ! what OS are you using ?

i use win xp home edition svc pack 2 and it didn't work.

i tried notepad.exe / logitech quickcam.exe

none of them worked.

i could open above apps by send event script.

so should've worked with those names.

did you run send event script from fmp ?

p.s. -- by the way , do you know what happen to updateginie from high-voltage ( company in melborne ) ? looks like they are discontinuing update ginie.

thanks,

mike

Edited by Guest

They are discontinuing it.

I'm running xp pro sp2 and it makes no difference (we're both on xp)

1) Open notepad

2) Click start > Run and copy and paste the following:

CMD /C TASKKILL /F /IM "notepad.exe" /T

That should close it. If it does (and i'm pretty sure it will)... Open FM, Create a new script, add the script step "Send Event". Click Specify, then click calculation and click specify, type the following in:

"CMD /C TASKKILL /F /IM " & Quote("notepad.exe") & " /T"

Open up notepad, then run that script.

  • Author

hi, genx ! did it work on your side ?

it is not working on mine. dos screen just splashes and disappear and do nothing.

mike

Yes it did work on my side, forget FileMaker for a minute, just do the Start > Run instructions.

Mike,

My research tells me that XP Home does not have the taskkill.exe program; however, it does have the tskill.exe program. It is a limited version of taskkill.exe.

Taskkill.exe can be downloaded here and added to the Windows folders.

Attached is a sample that stops tasks in both XP Pro and XP Home.

Taskkill.zip

Edited by Guest

Sorry.. Kinda dumb that they didn't include it as standard though.

  • Author

hi, mark & genx ! thanks for the info.

now it works fine. thanks to you guys.

but i still have one more question though.

when i run the send event script , dos dialog box pops up and stay like 2~3 seconds and excutes the kill action.

is there any way that i can make that dos pop up don't appear foreground on the screen ?

(ex) minimize it or make it run behind screen.

thanks ,

mike

Edited by Guest

I would post the direct link to this file but i just googled and couldn't find a non-spyware filled site to download it from.

Attached is a small file called "Hide.exe". If you run it before your command it should hide the window.

If you put it in your system32 folder on windows, it's just:

Hide.exe cmd /c etc. etc.

If you put it in a different directory it becomes:

"C:filePathfolderhide.exe" cmd /c etc. etc.

Hide.zip

  • Author

hi, genx ! i just tried it and it works like a charm.

thanks a bunch.

mike

Edited by Guest

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.