Stop system default messages
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 203
- Joined: Wed Jul 23, 2008 8:46 am
Stop system default messages
Hi everybody, I want to show my own message instead of the system default messages. Is it possible?
Re: Stop system default messages
Dear alemrantareq,
What are system default messages?
Best,
Mark
What are system default messages?
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 203
- Joined: Wed Jul 23, 2008 8:46 am
Re: Stop system default messages
I've the following btn script -
It shows a message after clicking on the btn. Now I want to show my own message instead of the system message. Is it possible?
Code: Select all
on mouseUp
set the hideconsolewindows to true
get shell("regsvr32 %windir%\system32\zipfldr.dll")
end mouseUp
Re: Stop system default messages
alemrantareq,
You really should provide more information when you ask questions on this forum. What makes you think that zipfldr.dll should work? Which message do you get? Do you have any other info that might be relevant?
Best,
Mark
You really should provide more information when you ask questions on this forum. What makes you think that zipfldr.dll should work? Which message do you get? Do you have any other info that might be relevant?
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Stop system default messages
In this case, the script is trying to register the dll, so the shell should work. My guess from the limited information is that regsvr32 is causing an alert or error of some type and this is what alemrantareq wants to catch, but i'm not positive. As you said, a better description of whats trying to be done would surely be helpful.
Edit: Just read this page http://support.microsoft.com/kb/249873 and it describes the /s flag so that it will run silent. Still not sure this is what you want to do, but maybe.
Edit: Just read this page http://support.microsoft.com/kb/249873 and it describes the /s flag so that it will run silent. Still not sure this is what you want to do, but maybe.
-
- Posts: 203
- Joined: Wed Jul 23, 2008 8:46 am
Re: Stop system default messages
This script is to repair windows default zip function. For example, after installing some extracting softwares, they associate the zip files with themselves. Then the zip files open with them; if you uninstall that softwares, the zips don't work. So this script helps to associate them with the default zip function. You also can try it. It just register the zip files with zipfldr.dll file to extract via it. After executing my script, it gives a successful message. I just want to show my personal message instead of it. That's it. Now may I get any help related to my problem?
Re: Stop system default messages
Please check the link I posted. It mentions /s to make regsvr32 run silent at which point you are free to supply your own result dialog or whatever you wish. I'm pretty sure it was help related to your problem.
-
- Posts: 203
- Joined: Wed Jul 23, 2008 8:46 am
Re: Stop system default messages
Thanks sturgis. Its working, just using "/s" after "regsvr32". 
