Rik's Treehouse
>
Babbling in Binary
>
My Software
>
Orphanware
>
R2DToo
>
R2DToo Help
>
Automation
> GetLoadModelErr
GetLoadModelErr
Declaration
Parameters
Return Value
Revisions
Example
See Also
Declaration
object.GetLoadModelErr()
Parameters
object
Required. Always the name of a
R2DToo.FrontEnd
object.
Return Value
A character string explaining any errors that occurred when trying to load the last model. If no errors occurred, returns an empty string, "".
Revisions
v1.8
new!
Example
' [VBScript] Dim R2DToo Dim WshShell Set WshShell = WScript.CreateObject("WScript.Shell") WScript.Echo "Loading R2DToo..." Set R2DToo = Wscript.CreateObject("R2DToo.FrontEnd") WScript.Echo "Loading model Conway's Life..." If R2DToo.LoadModel(WshShell.CurrentDirectory & "\..\Models\ConwaysLife\model.dll") Then WScript.Echo "R2DToo loaded with model: " & R2DToo.AboutModel("Name") & " " & R2DToo.AboutModel("Version") Else Wscript.Echo R2DToo.GetLoadModelErr() Set R2DToo = nothing Wscript.Quit(1) End If ...
See Also
LoadModel
.
[Rik's Office Hours]
[Contact Rik]
Last updated: Fri Apr 30 2004, 1:46pm