Skip to main content
19-Tanzanite
May 12, 2010 8:14 PM UTC
Question

Extra Components and Controls

Here's a useful collection of scripted components and controls. They allow you to do things in Mathcad that are otherwise difficult or impossible. These also serve as examples for someone that wants to write their own. I wrote some of these, but not all of them.

See also here for functions for date and time handling that are based on scripted components:

Date Calendar and Time functions.mcd

See also here for how to save the state of controls and scripted components:

Saving the state of controls.zip

Updates:

Versions 2 through 10: Various things I didn't bother to tell anyone about

Version 11, Jan 04 2011: Added a button to execute a series of shell (a.k.a. DOS) commands. There was already a function for this, but not a button.

Version 13, Feb 28 2013. Added scrolbars and sliders that can be either linear or logarithmic.

Version 14, Nov 14 2014. Improved the dynamically filled listboxes to take a scalar input for a single element list.

Richard

25 replies

1-Visitor
Jun 22, 2010 2:30 PM UTC

Using M14 14.0.0.63

Don't even get to the message crashes immediately.

Translate
1-Visitor
Jun 22, 2010 3:01 PM UTC

Thanks Richard, that was the problem, upgraded and all is right with the world.

Translate
RichardJ19-TanzaniteAuthor
19-Tanzanite
Jun 22, 2010 4:22 PM UTC

You need to get your rather draconian sounding IT group to install the service release. While they are at it, they should install Filzip. It's free, even for commercial use.

Translate
1-Visitor
Oct 4, 2010 1:21 PM UTC

do you need some VBscript runtime libraries for this to work. or excel?

Using Mathcad 14.0.0.163

Translate
Oct 4, 2010 1:25 PM UTC

You need to have the latest update for M14 - M14 020 I think.

Mike

Translate
RichardJ19-TanzaniteAuthor
19-Tanzanite
Oct 4, 2010 1:27 PM UTC

do you need some VBscript runtime libraries for this to work. or excel?

Using Mathcad 14.0.0.163

No. VBscript comes with XP  and later versions of Windows. If you are using 14.0 download and apply the latest service release. If you are a single user that is M020, if you are an Enterprise user it is M030 (do NOT get M035 - it has a very bad bug!)

Translate
24-Ruby IV
Jun 22, 2011 7:37 AM UTC

Richard, thanks for the document Mathcad!

Translate
1-Visitor
Dec 19, 2011 9:53 PM UTC

Richard have you recently added any features?

Mike

Translate
RichardJ19-TanzaniteAuthor
19-Tanzanite
Dec 19, 2011 10:04 PM UTC

What do you mean by "recently"? I just added one component to the end of the document that gets the current window parameters. See Ambient properties of the MathCad environment

Translate
1-Visitor
Dec 19, 2011 10:06 PM UTC

What do you mean by "recently"? I just added one component to the end of the document that gets the current window parameters. See Ambient properties of the MathCad environment

                   

That must be it then. I had a notification that you had modified the component. Sorry, lazy of me asking instead of looking.

Mike

Translate