473,407 Members | 2,315 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,407 software developers and data experts.

separated from its underlying RCW when accessing a chat frame.

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

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #1
2 1221
In article <eq**************@TK2MSFTNGP10.phx.gbl>, an******@yahoo.se
says...
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).

--
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele
Nov 15 '05 #2
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" <don-t-spa-m-me@lea-ve-me-a-lone--.com> wrote:
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."
Nov 15 '05 #3

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

Similar topics

0
by: Luiz Alberto Gibson da Costa | last post by:
Hi, I'm developing a web chat in asp.net that is composed of two frames. The top frame shows the messages and the bottom one allows the user to post messages. The problem is that the browser tries...
3
by: John Wright | last post by:
I am trying to create a very simple chat program using UDP through a web page. I am having problems getting this going. All the examples I've seen deal with remoting or application variables, or...
3
by: Dexter | last post by:
Hello all, I need to build a chat using ASP.NET (VB), this chat is to the online communication with customers. I would like to know what is best. To use webservices or to use remote script? ...
3
by: Neal Miller | last post by:
Hi all I've gotten this error: Err# 5 COM object that has been separated from its underlying RCW can not be used I have researched this some, and have discovered that it has something...
26
by: Rajeev Tipnis | last post by:
http://support.microsoft.com/default.aspx?scid=kb;en- us;819450 Questions: 1) Is this patch (fix) applicable to the .NET 1.1 Framework as well? That is, if we have Framework 1.1 (On...
2
by: jason.m.ho | last post by:
Hello! I am trying to build an ajax chat system. Currently I have it so that when you chat, you upload your message to the database, and each client is polling that database to see if he/she has...
62
by: robert | last post by:
I'd like to use multiple CPU cores for selected time consuming Python computations (incl. numpy/scipy) in a frictionless manner. Interprocess communication is tedious and out of question, so I...
4
by: Michael Maes | last post by:
Hi, On closing our App, we get following 'InvalidComObjectException': "COM object that has been separated from its underlying RCW cannot be used" The App has been upgraded from .Net1.1 to...
1
by: sayid | last post by:
Hello, I have a problem when altering a DIV-element from another frame. The frameset looks like this: <frameset rows=0,0,* border=0> <frame name=header src=/header.htm scrolling=no...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.