Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

VB6/ Microsoft Office Web Component Charting Library

Posted on 2003-10-29
2
708 Views
Last Modified: 2013-12-25
I am trying to compile a project that attempts to draw graphs from a bunch of arrays.  The previous developer left me some templates that already does this using this:

Dim oChart As OWC.WCChart

I noticed that he had included the OWC Library in his project to get his DLL to compile.  In his documentation, he said he was using the Microsoft Web Component Control MSWCRUN.DLL to draw his graphs.  Well, I looked in his references section and saw that he has included the Microsoft WebClass Library 1.0 (SP4) which references MSCWRUN.DLL.
I have this included in my project also.  However, I am not able to obtain the OWC Charting Library like his project has.  When I try to compile the project, I get an error telling me that OWC.WcChart is a user-defined type that has not been defined.  

Please Help!!!!  
0
Comment
Question by:sviriyal
  • 2
2 Comments
 

Author Comment

by:sviriyal
ID: 9643933
Never Mind!!!! I fixed it myself.
0
 

Accepted Solution

by:
sviriyal earned 0 total points
ID: 9702715
The solution was to go find the MSOWC.DLL file located in the Microsoft Office folder.  I went into VB6's References section, and clicked Browse.... then found the file and added the web component.  Lo and behold, I now have OWC Library to draw charts with.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question