Skip to main content
19-Tanzanite
May 12, 2010
Question

Extra Components and Controls

  • May 12, 2010
  • 25 replies
  • 21963 views

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
June 22, 2010

Using M14 14.0.0.63

Don't even get to the message crashes immediately.

1-Visitor
June 22, 2010

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

RichardJ19-TanzaniteAuthor
19-Tanzanite
June 22, 2010

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.

1-Visitor
October 4, 2010

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

Using Mathcad 14.0.0.163

October 4, 2010

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

Mike

RichardJ19-TanzaniteAuthor
19-Tanzanite
October 4, 2010

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!)

24-Ruby III
June 22, 2011

Richard, thanks for the document Mathcad!

1-Visitor
December 19, 2011

Richard have you recently added any features?

Mike

RichardJ19-TanzaniteAuthor
19-Tanzanite
December 19, 2011

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

1-Visitor
December 19, 2011

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