BasicNoUIObjRemoveExtensions Method |
Removes language extensions specific to a module.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic bool RemoveExtensions(
string fileName
)
Public Function RemoveExtensions (
fileName As String
) As Boolean
public:
virtual bool RemoveExtensions(
String^ fileName
) sealed
Parameters
- fileName String
-
If FileName is not a null string then remove the language extensions
specific to that module.
Return Value
Boolean
True if successful.
RemoveExtensions will return false if the specified
fileName is loaded.
Implements
IBasicNoUIRemoveExtensions(String)
Remarks
No macro can be running when calling this method.
If the
fileName is a null string
all the language extensions added by
AddExtensionObject
(or
AddExtensionObjectWithEvents are removed.
Macro/Module Paths
Macro/module paths are typically file paths.
However, it is sometimes useful to work with macros/modules that are not
stored as files.
A macro/module path is of the form:
Part
|
Description
|
---|
'*'
|
Paths that being with '*' are non-file system macro/modules.
The application provides the methods for reading and writing these files.
Paths that begin and end with '*' are hidden from the IDE.
User's can't step into or otherwise inspect the contents.
|
'**'
|
Paths that begin with '**' are non-file system modules.
The application provides the methods for reading and writing these files.
Running an event-driven module loads it using LoadModule.
|
path
|
This is the identity of the macro/module.
|
Example
Add extensions for TEST.BAS and then remove them:
See Also