473,761 Members | 7,351 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1240
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
CheckedListB ox 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
1310
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 to download both frames using a single connection (http header "connection: keep-alive"). The bottom frame is never downloaded then because the browser never finishes downloading the top frame. Any suggestions? Thanks,
3
3434
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 web services, etc. Does anyone have any resources to point me to (either VB.NET or C#) that explains how to create a simple chat on a web page? thanks. John
3
2514
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? thanks
3
11263
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 to do with the threading model used by the app My VB.NET app is using LeadTools COM objects. This error occurs when the form that contains the LeadTools control is first opened, then closed, then the above error consistently appears during the...
26
16525
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 Win2K3/IIS6.0), do we still need this patch? 2) Does it specifically solve only this error: The underlying connection was closed. An unexpected error
2
2218
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 any new messages. The problem with this is that I poll at 2 second intervals (since connection is not active), and so its not as responsive as I'd like it to be. My question is, is an active HTTP connection possible? How did Meebo or Gmail...
62
4431
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 thought about simply using a more Python interpreter instances (Py_NewInterpreter) with extra GIL in the same process. I expect to be able to directly push around Python Object-Trees between the 2 (or more) interpreters by doing some careful locking. ...
4
14300
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 .Net2.0 a long time ago. Recently we started using the Application Framework, combined with a Splash Screen. About that moment we are having this issue. I thought the problem only existed while debugging, but now ,having a
1
1946
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 noresize="true" frameborder=0> <frame name=border src=/border.htm scrolling=no noresize="true" frameborder=0> <frameset cols=200,* border=0> <frameset rows=*,0 border=0>
0
9522
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9336
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9948
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8770
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7327
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5215
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5364
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3446
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2738
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.