separated from its underlying RCW when accessing a chat frame.

  • Thread starter Thread starter Andla Rand
  • Start date Start date
A

Andla Rand

Hi,
I have created a windows application in CSharp that is using a web
browser control.
When i did some coding to handle a chat window an exception was thrown
with the following message:
"COM object that has been separated from its underlying RCW can not be
used"
The chat browser window is constantly updating its content
automatically.
My question is how can i work around this problem?
I appreciate any help you can give me.

Yours sincerely
Andla
 
I have created a windows application in CSharp that is using a web
browser control.
When i did some coding to handle a chat window an exception was thrown
with the following message:
"COM object that has been separated from its underlying RCW can not be
used"
The chat browser window is constantly updating its content
automatically.
My question is how can i work around this problem?

Sounds like the wrapper might have been garbage collected for some
reason (just a guess). You could create a WeakReference to the wrapper
and when you catch that exception, see if the wrapper has been garbage
collected (IsAlive will be false).
 
Thank you.

I thought I was the only person with this problem.

I've been trying to figure out ways around this assuming that
databinding has been dropped.

Either
A) some kind of For loop, popping individual records off of a dataSet,
and using the Add Method.

B) figuring out how to fill an array from a dataSet and then using the
AddRange method

C) Figuring out some way of working with DataBindings, but the
documentation seems to assume I know a few things that I don't and I'm
getting tired of the trial and error approach.

One of my dificulties is, I haven't quite figured out the
relationships between all the various data objects. I've got the
Connection -> Adapter -> DataSet
relationship down pretty well but DataReaders and DataTables and a few
others that I can't think of off the top of my head seem to fit
somewhere before or after the DataSet object.

Is there some documentation somewhere with all the various solutions
for getting data out of a database?

Malcolm


DalePres said:
Has the support for databound CheckListBoxes been dropped from framework
V1.1?

I find plenty of references to Datasource and Displaymember for
CheckedListBox but these properties do not exist in the designer or in the
intellisense for the CheckedListBox.

Can anyone from Microsoft or anyone who knows help me out here?

Thanks,

Dale


"Bother," said the Borg, "we just assimilated Pooh."
 
Back
Top