473,387 Members | 1,515 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Marco

Hello,
I have to use the propertyReader of DSOFile.dll for reading/writing custom
document properties in a closed document.
In the msdn http://support.microsoft.com/?scid=kb;en-us;Q224351
"....However, to save resources at run time, it is recommended that you
explicitly create and destroy a PropertyReader object when needed. If you
allow Visual Basic to implicitly create the object, it is not released until
your application terminates....."
Now I 'm not able to destroy the object so if I try to open the document
immediately after, a message error occurs (the file is used).
I tried to use the garbage collector
GC.Collect
but sometime the document is still used.
It's possible that don't exists a way to destroy the propertyReader object?

Thank you
Marco

Nov 21 '05 #1
0 889

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Charles Griswold | last post by:
I'm considering using Jython as an embedded macro language within a large java app. Has anyone had experience in such an endevor?
3
by: Wei-Chao Hsu | last post by:
Hi, I read a Marco definition in a source file, which is shown below. #define BEGIN_EVENT_TABLE(theClass, baseClass) \ const wxEventTable theClass::sm_eventTable = \ {...
5
by: liwei | last post by:
how can i let the follow marco works in VC6.0 #define TRACE_BEGIN(function) #ifdef DEBUG \ printf("----------------Enterinto%s-----------------\n",function);\ time_t beginTime,endTime;\...
0
by: VB Joshua | last post by:
How would one go about making a macro recorder for another program like autocad. Like the one excel has?
0
by: gabe | last post by:
i commonly switch between code view and design view using F7 and Shift F7. I would like for the properties and toolbox to show and stick in desin view but to hide when i am in code view. this...
1
by: Ray | last post by:
Dear all, After the deployment of my vb.net program, I install it in my client's PC. After the deployment, the marco of Excel seems doesn't work. The combo box and the button in the excel cannot...
0
by: Agnes | last post by:
After I instal .net framework, my excel run properly, However, after my vb.net application deploy in one PC. the excel marco didn't run . there is combo box, button in that excel. ALL didn't work...
1
by: silverburgh.meryl | last post by:
Is there a pre-processor marco to get the class name? (Not file name) Thank you.
7
by: Plissken.s | last post by:
Hi, If I define a template wich uses the __FILE__ marco in a .h file and I have class which creates/uses that template (in a .cpp file). What will the __FILE__ marco expand to? the .h which...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.