9.0
175
0 Only allow the user to select a file that exists.
1 Confirm creation when the user selects a file that does not exist.
2 Allow the user to select any file whether it exists or not.
3 Confirm overwrite when the user selects a file that exists.
+4 Selecting a different directory changes the application's current directory.
Example
Sub Main
Debug
.Print GetFilePath$()
End
Sub
GetObject Function
Syntax
GetObject([File$][, Class$])
Group
Object
Description
Get an existing object of type Class$ from File$. Use Set to assign the returned object to an object variable.
Parameter Description
File$ This is the file where the object resides. If this is omitted then the currently active
object for Class$ is returned.
Class$ This strin
g
value is the a
pp
lication's re
g
istered class name. If this a
pp
lication is not
currently active it will be started. If this is omitted then the application associated
with the file's extension will be started.
Example
Sub Main
Dim
App As Object
Set
App = GetObject(,"WinWrap.CppDemoApplication")
App.Move 20,30 ' move icon to 20,30
Set
App = Nothing
App.Quit ' run-time error (no object)
End
Sub
GetSetting Function
Syntax
GetSetting[$](AppName$, Section$, Key$[, Default$])
Group










