This content has been marked as final. Show 18 replies
On 11/25/2005 10:15:16 AM, rijackson wrote:
>The lack of programability in
>web controls is extremely
>restrictive. As the name
>suggests, they are useful if
>you wish to put the worksheet
>on the web (as you often do).
>IMHO, they are not much use
>for anything else.
When I see a macros in not my WorkSheet I no not open it.
God helps those who help themselves!
I did solve my problem. In fact there were two problems.
First when the sheet loaded for some reason it disabled all of the scrpts that I had written. After enabling them then it ran.
There was a second problem however that has kept recurring which was an undetermined error. It turns out that the data files I reference on input were changed for some odd reason, once I corrected that problem the second error disappeared. This second error I believe is a result of the saved state value being not being found in the altered data set.
If the person opening the worksheet wrote the script, that of course is not a problem.
If you didn't write the script, just disable the script when the worksheet is opened. Then right click on the component, and select "edit script". Unless the script is long and complex (and very few are), it's easy to see if there is anything malicious in there. The main thing to look for is anything to do with the FileSystem Object.
I do understand what you are saying though. Unless it was written by someone I trust, for example Tom, Stuart, or some of the other regular posters, I NEVER let a scripted component in a worksheet downloaded from the Collab run without first checking the code.
>If the person opening the worksheet wrote the
>script, that of course is not a problem,
WHEN the script is not a VIRUS.
If you can write Mathcad, Word, Excel ets shett witout scripts - do it!
Use WebControls not Controls with scripts in case when you create a sheet for Mathcad not for MAS too.
For example with WebControls I have FULL protect my sheets.
See one picture:
from the book:
On 11/26/2005 2:54:15 AM, VFO wrote:
> WHEN the script is not a VIRUS.
If you wrote it, how can ut be viral? Unless you deliberately wrote it as such, of course.
> Use WebControls not Controls with scripts in
> case when you create a sheet for Mathcad not for
> MAS too.
I don't have MAS, and, given the price, I'm never likely to get it. So for me that's a complete non-issue.
> For example with WebControls I have FULL protect
> my sheets.
I agree that is an advantage of web controls. The fact that in a protected worksheet you can either not change the value of a scripted control at all, or you can not only change the value but also edit the script, change the assignment variable, etc, is annoying. There is no real reason, however, that scripted controls couldn't behave the same way as web controls do in this regard. It's something Mathsoft needs to fix.
>I don't have MAS, and, given the price...
I have MAS. You can send me your Mathcad WorkSheets and I put it on my MAS as a WebSheet.
See a guide:
Some users in our company have also been having problems printing certain controls. We have been working directly with MathSoft, and they told us that the printing issues have been corrected and will be included in Release 1. Of course that doesn't help you in the short-term ...
My work-around is to use the controls through the design process, and when I need to print my final calculations I insert a "picture" (manipulating a screenshot) of the control state. It's a pain but at least the control appears correctly.
I am worry about Mathsoft has made it knowingly.
We can use web controls without problems from the MAS but not from Mathcad. Although, I am not sure that they have got enough mind for it... It is banal error. Beth Porter does not work in MathSoft now and can not correct this bug. I think, I afraid...
Valery Ochkov - MAS not only beta tester but user for BIG money (200 000 Ruble - 7000 $).
I agree that webcontrols have there advantages. They are easy to use and you can protect them. But they don't always print right (at least with MC12. I haven�t test them with MC13 yet)
I don't see the problem with using scriptable controls. I'm writing my worksheets to do a job the best way I can. I often use scriptable text box to display the result of a logic test so I can change the text color to red if the result is not good. I can't do that with webcontrols.
Scriptable object in MathCAD, Word, Excel are very powerful tools and I don't think we should banished them just because some people might use them in a wrong way. I certainly don't have any intention to write a harmful script unless I want to get fire. Just take the precaution to put your security level to Medium so that Mathcad warn you if there is script in a worksheet, and don't open it if you have any doubts about it's source.
On 11/26/2005 8:36:12 PM, bedasy wrote:
>I agree that webcontrols have
>there advantages. They are
>easy to use and you can
>protect them. But they don't
>always print right (at least
>with MC12. I haven�t test them
>with MC13 yet)
Yes, It is old (Mathcad 11) error. I have asked MathSoft (Beth Porter - http://twt.mpei.ac.ru/ochkov/Mathcad_12/Beth_Porter.html ) to correct it (and more then 20 others) but no answer. It is strange policy of Mathsoft. It is a policy firms with name Titanic.
But by printing from brouser not from Mathcad I have no problem.
>I don't see the problem with
>using scriptable controls. I'm
>writing my worksheets to do a
>job the best way I can. I
>often use scriptable text box
>to display the result of a
>logic test so I can change the
>text color to red if the
>result is not good. I can't do
>that with webcontrols.
>Scriptable object in MathCAD,
>Word, Excel are very powerful
>tools and I don't think we
>should banished them just
>because some people might use
>them in a wrong way. I
>certainly don't have any
>intention to write a harmful
>script unless I want to get
>fire. Just take the precaution
>to put your security level to
>Medium so that Mathcad warn
>you if there is script in a
>worksheet, and don't open it
>if you have any doubts about
Yes, when I use MY scripts - no problems. But Yes, when I use scripts from others I can get virus.
I try not open files (Mathcad, Word, Excel ets) from others with virus, pardon, with scripts!