473,657 Members | 2,430 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ActiveX controls for windows forms .net

I have Visual C++ .net 2003 and am trying to add a chart to a form. When I
try and use MSChart or any other of the activeX controls (ie MS Calendar) I
get an error message saying that it can't find a dll file but if I look in
the debug directory of the project file it's there.

Some help please. Or an other way of adding charts to my application that
doesn't involve complicated coding or buying 3rd party software.
Nov 17 '05 #1
2 873
Richard wrote:
I have Visual C++ .net 2003 and am trying to add a chart to a form. When I
try and use MSChart or any other of the activeX controls (ie MS Calendar) I
get an error message saying that it can't find a dll file but if I look in
the debug directory of the project file it's there.

Some help please. Or an other way of adding charts to my application that
doesn't involve complicated coding or buying 3rd party software.


Are you using the InterOp to wrap the DLL? You can't just add an
ActiveX DLL to a C# project...

/steveA

--
Steve Alpert
my email Fgrir_Nycreg @ vqk.pbz is encrypted with ROT13 (www.rot13.org)
and spaces

Nov 17 '05 #2
I don't know any thing about c#, I really need to do this in visual c++. I
don't manually wrap the dll but since it's called AxInterop.OWC10 .dll I
assume visual studio has done that for me.

"Steve Alpert" wrote:
Richard wrote:
I have Visual C++ .net 2003 and am trying to add a chart to a form. When I
try and use MSChart or any other of the activeX controls (ie MS Calendar) I
get an error message saying that it can't find a dll file but if I look in
the debug directory of the project file it's there.

Some help please. Or an other way of adding charts to my application that
doesn't involve complicated coding or buying 3rd party software.


Are you using the InterOp to wrap the DLL? You can't just add an
ActiveX DLL to a C# project...

/steveA

--
Steve Alpert
my email Fgrir_Nycreg @ vqk.pbz is encrypted with ROT13 (www.rot13.org)
and spaces

Nov 17 '05 #3

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

Similar topics

0
2213
by: Jeff M | last post by:
For my application an activeX refers to "program displayed within Internet Explorer" After looking over the docs for VB.NET it looks impossible. ---START--- USERCONTROL CHANGES IN VISUAL BASIC .NET In Visual Basic 6.0, UserControl projects (also known as ActiveX Control projects) were used to create ActiveX controls. After they were compiled,
5
8766
by: andy.g.ward | last post by:
I keep getting this when trying to create an MFC activex control in a c# windows service - anyone got any ideas what the missing module could be??? Exception thrown : System.IO.FileNotFoundException: The specified module could not be found. at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid) at System.Windows.Forms.AxHost.CreateWithoutLicense() at...
0
1361
by: zevikw | last post by:
I am using an ActiveX control in a .NET application which I put on a form. I have another .NET control on that form that handles the Validating event. The method that handles the Validating event, shows a message box and sets e.Cancel = True. When I click any other control in the form, the message box shows and the focus returns to the control that handled the Validating event. The problem happens when I click on the ActiveX control. The...
5
1809
by: Andrew | last post by:
Hi all, I am still getting into ASP/VB.net and have a concern about something I see coming. Currently our entire website is classic ASP, yet the feelings from on high is that we need to start looking into updating the site to ASP.net. For the most part I am in favor of this, but I am concerned about the ActiveX objects we are using. For example: I needed to provide the means for a user to upload multiple files via a webpage. To...
8
1418
by: Klaus Jensen | last post by:
Hi! I would like to build a small application, that should be embedded in a webpage. I want to develop it using VB.Net of course, and have the usual opportunities of a windows app... A common example of such an app would be an image upload control, like the ones used at hotmail communities (and yahoo I think), many online photo-services.
4
1205
by: Steve Lloyd | last post by:
Hi, This is a bit of lame question but is something I have been struggling with for a while. I am struggle to find a way to develop ActiveX components, I seem to remember doing them in VS 6.0 but can't seem to find a way in .Net, I have done the Windows Forms Controls inbedded in a web page but cannot get the same sort of functionality as a ActiveX. What do I need to use to develop one ?
3
2086
by: Toe Dipper | last post by:
In short we have a lengthy process when a form is loaded that adds activex controls to our windows form. This process in itself works fine however we would like to push this processing to a thread but are stumped so far. Our goal is simply to allow the form to fully display while the controls are being added. Preferrably with a progressbar to let them know that the form is still being built. Here are some snippets.
6
3510
by: Budhi Saputra Prasetya | last post by:
Hi All, I'm trying to display .NET Custom Control (created using Inherited Control) on an ASPX page, but no luck. I already registered the Control to Global Assembly Cache through .NET Framework 1.1 Configuration. I have also put a reference to the control on my ASP .NET project. The view that I get is only a disabled text area. Below is the code that I'm using:
4
2512
by: Henrik Dahl | last post by:
Hello! Is it possible to use Visual Studio 2005 or, secondarily, Visual Studio .NET 2003 to create ActiveX controls which may be consumed by VB 6.0 programs, i.e. dealt with on forms in the usual way? If yes, may you provide a hint/link for getting started? Best regards,
2
1601
by: =?Utf-8?B?bGFyc2dyZWdlcnNlbg==?= | last post by:
Hi I have created a couple of Windows Forms controls in C# either by composition or by subclassing existing controls. I'm able to use these controls as ActiveX controls by using "register for COM Interop". I then access the control in a old application written in C++ (using VS 205). This works fine! What if I wish to use a standard control, e.g. TreeView, as an ActiveX control? I can of course subclass the control, without changing the
0
8305
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
8823
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8603
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7320
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
6163
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
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1604
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.