SmileX Manual - Table of Contents
SmileX Manual
Table of Contents
1. Introduction
1.1 About this manual
1.2 What is SmileX?
1.3 Using SmileX
1.4 Questions and remarks
1.5 About the examples
2. Properties and Methods
2.1 Properties
2.1.1 NetworkID
2.1.2 Networkname
2.2 General network methods
2.2.1 ReadFile(filepath)
2.2.2 ReadWebFile(httpadres)
2.2.3 GetAllNodes
2.3 General node methods
2.3.1 GetOutcomes(nodeid)
2.3.2 GetIndexingParents(nodeid)
2.3.3 GetNodeName(nodeid)
2.3.4 GetNodeComment(nodeid)
2.4 Evidence Methods
2.4.1 SetEvidence(nodeid, outcome)
2.4.2 GetEvidence(nodeid)
2.4.3 ClearEvidence(nodeid)
2.4.4 ClearAllEvidence
2.5 Target Methods
2.5.1 SetTarget(nodeid)
2.5.2 IsTarget(nodeid)
2.5.3 ClearTarget(nodeid)
2.6 Belief Methods
2.6.1 UpdateBeliefs(algorithm)
2.6.2 GetBeliefs(nodeid)
2.6.3 GetBeliefForOutcome(nodeid,outcome)
2.6.4 GetExpectedUtility(nodeid,outcomes)
2.6.5 GetExpectedUtility2(nodeid,outcomes)
2.7 User Property Methods
2.7.1 GetUserProperty(nodeid,propertyname)
2.7.2 SetUserProperty(nodeid,propertyname,value)
2.7.3 GetUserPropertyNames(nodeid)
2.7.4 DeleteUserProperty(nodeid,propertyname)
3. Using SmileX with VB Script
3.1 Inserting the SmileX control
3.2 Scripting
3.2.1 The script block
3.2.2 Accessing Properties
3.2.3 Using methods of the control
3.3 HTML controls
3.3.1 Textbox
3.3.2 Button
3.3.3 Radio Buttons
3.3.4 Checkbox
3.3.5 Combobox
4. Using SmileX with JavaScript
4.1 General remarks about JavaScript
4.1.1 The Script Tag
4.1.2 HTML Controls
4.1.3 Path names
4.1.4 End-of-line
4.1.5 Case sensitive
4.1.6 Empty Variants
4.1.7 Arrays
4.2 Accessing the control trough scripting
4.2.1 Adding the control
4.2.2 Accessing Properties
4.2.3 Using methods of the control
4.3 Using HTML INPUT values
4.3.1 Textbox
4.3.2 Button
4.3.3 Radio buttons
4.3.4 Checkbox
4.3.5 Combobox
5. Using SmileX with Excel
5.1 Inserting controls into the spreadsheet
5.1.1 Inserting the SmileX control
5.1.2 Inserting other controls
5.2 Using properties and methods
5.2.1 Determining the name of controls
5.2.2 Accessing properties and methods of the controls
5.3 Handling arrays
5.3.1 Displaying the values of an array
5.3.2 Putting cell-values in an array
6. Using other controls
6.1 Using Microsift Forms 2.0 Controls
6.1.1 Label
6.1.2 Textbox
6.1.3 Combobox
6.1.4 Listbox
6.1.5 Other Forms 2.0 controls
6.3 Using Other controls
6.2.1 Progress Bar
6.2.2 Slidebar
7. SmileX FAQ and Troubleshooting
7.1 Troubleshooting
7.1.1 I can't seem to catch the OnChange event for a radio button group
7.1.2 I can't find the control
7.2 Frequently asked questions
7.2.1 Why is there no JavaBean version of Smile?
7.2.2 Will SmileX eventually support all the functionality in Smile?
7.2.3 Hey, 'SmileX' isn't that...
7.3 More Information
7.3.1 Smile and Genie
7.3.2 Visual Basic Script
7.3.3 HTML
7.3.4 JavaScript