Message 1 of 10
Unloading a program using the UnloadDVB method.

Not applicable
12-20-2000
07:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Can anyone help with this one?
I am trying to use the "UnloadDVB" method to unload the program from memory. Don't ask me why, but this is the method I have to use, I'll explain later if you care. Unfortunately upon running the code using unloadDVB, I was given an error:
"Problem in unloading DVB file."
Here is the code I am using to unload the program:
Dim strFilename As String
strFilename = "NPG_Tools_2000.dvb"
UnloadDVB strFilename
This code follows all other lines of code in the command button it is assigned to. It is run after clicking a command button that does a few other things and is then supposed to run the above code to unload the project.
In the help file it says: "* Note: If the DVB is already open, there will be an error when trying to unload the ." But it does not say how to correct it. How do I "close" the dvb file before unloading it? Thanx for any help.
Rob
I am trying to use the "UnloadDVB" method to unload the program from memory. Don't ask me why, but this is the method I have to use, I'll explain later if you care. Unfortunately upon running the code using unloadDVB, I was given an error:
"Problem in unloading DVB file."
Here is the code I am using to unload the program:
Dim strFilename As String
strFilename = "NPG_Tools_2000.dvb"
UnloadDVB strFilename
This code follows all other lines of code in the command button it is assigned to. It is run after clicking a command button that does a few other things and is then supposed to run the above code to unload the project.
In the help file it says: "* Note: If the
Rob