Writing several programs in C# that require using a COM server. I can interop no problem. The challenge lies in the fact that each time I need to use the COM server, I end up having to log into a "session". That process can take 30 seconds or more. This wait is unacceptable for our...
Don't know if you are still looking for this, but look into the
System.Runtime.InteropServices.Marshal.ReleaseComObject
method. Basically, you can use it to manually decrease the references to the com interface. But because of the non-deterministic nature of the GC, I've found that if I...
xmsre,
Thanks for the reply... unfortunately, the links you provided all lead to the dreaded "The Knowledge Base article you requested is currently not available page..." Am I doing something wrong?
B.J.
Not being an admin type, I have a very basic question:
I've got a server 2003 setup that is not currently being backed up by my IT department (office politics, don't ask...). Anyway, I began to get nervous about not having a backup of the system so I found the backup utility and am scheduling...
RebLazer,
Had a similar problem in some database conversion code I was writing. Googled and got this thread...
However, also found the following blog:
http://sqlblogs.com/justinb/posts/162.aspx
Basically, if connection pooling is on and the underlying connection gets reset/has an error, you...
Chip, thanks for the info!
I'd run tlbimp to get the interop assemblies.
As happens, the problem seems to come down to name resolution. An acquaintance pointed out that when I added the reference to the interface, it was loading the interop assembly. The progid for the application happens to...
I'm dealing with a legacy program which exposes a Com API through which I need to do some automation using .Net. I understand how to generate the interop classes. The issue here is that the COM IDL does NOT define a CoClass for the main application object, just an interface. (When using VB6...
I'm trying to get my company to upgrade to 2003.
I had set up an app that marshed an object on my 2003 eval
machine. Everything works great. I wanted to demonstrate
Sharepoint services. When I exend my virtual server for
sharepoint my remoting starts having problems. I
get...
Is there any way for a parent class to force a shared signature on a child class?
I know that if I want an inherited class to require an implementation of an instance member, all I have to do is provide a MustInherit member. But I want a shared member to be available with its own exectution...
I have a form with an input box and a button at the top. After entering some information and clicking the button, the form adds an indefinate number of child custom controls to the bottom of the form. Because the child controls can be quite numerous, I've selected autoscroll = True so that the...
I just happen to be investigating a solution as proposed by RockFord Lhotka in his book "Visual Basic .NET Business Objects". He seems to be a big promoter of "no-touch deployment" and has come up with a pretty elegent solution that gets around most of the common headaches...
Ok, I know the subject doesn't make sense, but I'm not sure how to summarize what I'm trying to do:
I've got a page with a button at the bottom that can be "off the screen". i.e. you have to scroll to get there. When the button is depressed, I am enabling several controls at the...
David,
Thanks for the input. I appreciate it!
I was hoping to avoid the cutting/pasting thing because I am trying to build a tool that will be able to convert the 100 or so Word docs I have been given in a batch. The tool will also be used for future one-time conversions. I am also trying...
I have a situation where I'm trying to turn word documents and forms into XML. I would like to be able to use the text output of a word document with regular expressions in order to determine the format of my XML document.
I've done a reasonable enough job with the paragraphs and headers...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.