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

C# and unmanaged activeX control

This is kinda a repost, except I am phrasing the question in a different way
since I have a better idea what the problem is now.

We are using the DSOFramer ( http://support.microsoft.com/?id=311765 ) in
our just about released project. The bug is simple... going to Word
externally and comming back to our embeded Word control results in the
toolbar (or also known asa CommandBars in the automation document) will no
longer accept clicks.

Built another small sample app up in C# and same problem. Built a project
in VC++ 6.0, and the problem does not exist. Ran Microsofts VB example from
the link above... the problem does not exist.

So my question: is there something about the managed world and unmanaged
world that I am missing? I take it activeX controls written in C++ and VB
are unmanaged... I am a little confused on the subject.

Does anyone see a different way of calling or talking to the control that
would make a difference? Is there a command I can send an activeX object in
general when brining my app back in focus that would clear/ reset/
reinitialize/ prompt the control to reset its controls? I can run a
WordControl.Save(), WordControl.Save(), WordControl.Open() and everything
works again, but that is not the solution as it is slow and makes the screen
flicker... but it does indeed reset the control so things work again.

Thanks for reading this. We look forward to reading your replies.
Jun 23 '06 #1
0 1434

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

Similar topics

0
by: Pat | last post by:
I have a third party .net control that I need to use in unmanaged MFC. This control is a Forms control, and I need to find a way to drop it onto an unmanaged MFC Forms. I have read the article...
1
by: Lucia | last post by:
I'm working at .NET project to implement a COM interface for a .NET control. The .NET assembly is built with the correct license for the control. Some unmanaged code is creating an instance of...
0
by: Yanick Masse | last post by:
I'm writing an MFC ActiveX control and some C function expose in a DLL that will be used in Visual Basic .NET and Visual C#. I want to detect in my code if we are currently beeing debugged by any...
2
by: SpotNet | last post by:
Hi Newsgroup, General C# questions. If I have a class(es), of API functions just as they are. Would that be considered Unmanaged or unsafe (not meant as the c# keyword) code? If I implement...
3
by: Michiel | last post by:
Hello, I have an ActiveX control which I can call fine from HTML pages, using the object tag like <OBJECT ID="UserControl1" WIDTH="0" HEIGHT="0"...
2
by: Sandy | last post by:
I am confused about Unmanaged Code, How .Net Framework treate that code, What is the use of that. Thanks in advance Sandeep Chitode
2
by: jpuopolo | last post by:
All: I have developed an ActiveX control using unmanaged C++ (MFC). I have also developed a C# application to server as a test harness. Both ActiveX and test harness application are built in...
0
by: Michael L | last post by:
Dear all, I have an ActiveX control that is hosted by a C# webbrowser control. The activex is written in C++ and I need a way to communicate between the activex and other c# applications or c++...
0
by: matthewr | last post by:
Hi, I'm using C# to create an app which tests various ActiveX controls. Given the ProgID of the ActiveX control I want to test and the location of the .ocx file, how can I get a list of its...
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...
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
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
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,...
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.