Click here to Skip to main content
16,004,974 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Renaming a TreeNode and updating an XML file Pin
Dave Kreskowiak30-Sep-04 11:08
mveDave Kreskowiak30-Sep-04 11:08 
GeneralRe: Renaming a TreeNode and updating an XML file Pin
cwayman30-Sep-04 22:13
cwayman30-Sep-04 22:13 
GeneralRe: Renaming a TreeNode and updating an XML file Pin
Dave Kreskowiak1-Oct-04 2:39
mveDave Kreskowiak1-Oct-04 2:39 
GeneralRe: Renaming a TreeNode and updating an XML file Pin
cwayman1-Oct-04 3:19
cwayman1-Oct-04 3:19 
GeneralRe: Renaming a TreeNode and updating an XML file Pin
cwayman4-Oct-04 3:30
cwayman4-Oct-04 3:30 
GeneralRe: Renaming a TreeNode and updating an XML file Pin
Dave Kreskowiak4-Oct-04 11:00
mveDave Kreskowiak4-Oct-04 11:00 
GeneralRe: Renaming a TreeNode and updating an XML file Pin
cwayman5-Oct-04 5:34
cwayman5-Oct-04 5:34 
GeneralRe: Renaming a TreeNode and updating an XML file Pin
Dave Kreskowiak5-Oct-04 12:25
mveDave Kreskowiak5-Oct-04 12:25 
You can force the release of the underlying COM object by using Marshal.ReleaseComObject() on the instance of the DSO object you created. Try this:
Imports System.Runtime.Interop
.
.
.
    '  I'm assuming you're using the PropertyReadClass...
    Dim dso As New DSOleFile.PropertyReaderClass
    '
    '  Do whatever you need to with the object here...
    '
    ' Now, release the unmanaged object and it's underlying resources.
    Marshal.ReleaseComObject(dso)
    ' Drop our managed reference to the object.
    dso = Nothing
.
.
.

And let the garbage collector do the rest...


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Renaming a TreeNode and updating an XML file Pin
cwayman5-Oct-04 22:13
cwayman5-Oct-04 22:13 
GeneralRe: Renaming a TreeNode and updating an XML file Pin
cwayman6-Oct-04 0:00
cwayman6-Oct-04 0:00 
GeneralRE: Automate code-writing in VB.NET control's development Pin
esalkin30-Sep-04 2:54
esalkin30-Sep-04 2:54 
Generalexception Pin
Fired Dragon30-Sep-04 2:45
Fired Dragon30-Sep-04 2:45 
GeneralRe: exception Pin
Syed Abdul Khader30-Sep-04 3:44
Syed Abdul Khader30-Sep-04 3:44 
GeneralRe: exception Pin
Fired Dragon30-Sep-04 12:27
Fired Dragon30-Sep-04 12:27 
GeneralConvert from C# Pin
LeeOvEngland30-Sep-04 2:23
LeeOvEngland30-Sep-04 2:23 
GeneralRe: Convert from C# Pin
The Man from U.N.C.L.E.30-Sep-04 3:25
The Man from U.N.C.L.E.30-Sep-04 3:25 
GeneralRe: Convert from C# Pin
Gavin Jeffrey30-Sep-04 3:41
Gavin Jeffrey30-Sep-04 3:41 
GeneralRe: Convert from C# Pin
The Man from U.N.C.L.E.30-Sep-04 7:05
The Man from U.N.C.L.E.30-Sep-04 7:05 
GeneralRe: Convert from C# Pin
Steven Campbell30-Sep-04 8:46
Steven Campbell30-Sep-04 8:46 
QuestionHow to display data from access to DataGrid in VB.Net using coding technique only Pin
Mekong River30-Sep-04 0:00
Mekong River30-Sep-04 0:00 
AnswerRe: How to display data from access to DataGrid in VB.Net using coding technique only Pin
Britnt730-Sep-04 5:43
Britnt730-Sep-04 5:43 
GeneralRe: How to display data from access to DataGrid in VB.Net using coding technique only Pin
Mekong River30-Sep-04 15:29
Mekong River30-Sep-04 15:29 
GeneralRe: How to display data from access to DataGrid in VB.Net using coding technique only Pin
Mekong River30-Sep-04 15:53
Mekong River30-Sep-04 15:53 
Generalweb class library Pin
njppp29-Sep-04 21:14
njppp29-Sep-04 21:14 
GeneralHelp with Secant/Newton's Method Program Pin
L_JIMENEZ29-Sep-04 15:34
L_JIMENEZ29-Sep-04 15:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.