PageRenderTime 19ms CodeModel.GetById 13ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Visual Studio 2008/CSDllCOMServer/CSDllCOMClient.vbs

#
Visual Basic | 15 lines | 7 code | 5 blank | 3 comment | 0 complexity | db8a389a41487d9292ebaaa8e8f9cea7 MD5 | raw file
 1SET obj = CreateObject("CSDllCOMServer.SimpleObject")
 2
 3MsgBox "A CSDllCOMServer.SimpleObject object is created"
 4
 5' Call the HelloWorld method that returns a string
 6MsgBox "The HelloWorld method returns " & obj.HelloWorld
 7
 8' Set the FloatProperty property
 9MsgBox "Set the FloatProperty property to 1.2"
10obj.FloatProperty = 1.2
11
12' Get the FloatProperty property
13MsgBox "The FloatProperty property returns " & obj.FloatProperty
14
15SET obj = Nothing