Re: Using Microsoft Chart Control in dotnet
- From: "Bob Dankert" <bobatnvsn-itdotcom@xxxxxxxxxxxxx>
- Date: Mon, 17 Jul 2006 16:36:26 -0500
In answer to your questions:
- When I ran "regsvr32 mschrt20.ocx", this did indeed succeed. I registered
this file by going to the c:\windows\syswow64\ folder and running the
command mentioned.
- I created a VB6 project and this worked without any problems
- Per the "depends" tool, see the following paragraph.
After running the Dependency Walker tool on the MSCHRT20.OCX file in the
C:\Windows\SysWow64\ folder I found that there are two files which can not
be found. These files are DEVMGR.DLL and DWMAPI.DLL, and the message for
both is "Error opening file. The system cannot find the file specified
(2)." In regards to DEVMGR.DLL, this file resides in my C:\Windows\System32
folder and for good measure I registered the module using regsvr32 (this
succeeded) and ran Dependency Walker again and this module still can not be
found. In regards to DWMAPI.DLL, I do not have this file anywhere any
folder within C:\Windows and am not sure where this is supposed to be.
I wonder if this is perhaps all related to the Windows XP 64-bit operating
system? I tested the same thing on another development computer in my
office which is also running XP 64-bit with VS.Net 2005 and this computer
had the exact same problem.
I appreciate the help and look forward to your additional suggestions!
Bob
"Linda Liu [MSFT]" <v-lliu@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:KBx65bYqGHA.4272@xxxxxxxxxxxxxxxxxxxxxxxx
Hi Bob,
Thank you for posting.
I have performed a test according to your steps, but I didn't reproduce
the
problem you described.The OS on my machine is Windows XP Professional
2002
SP2.
You have mentioned that you registered mschart20.ocx using "regsvr32
mschrt20.ocx". Do you succeed in it?
If you have install VB6 in your machine, you may have a test to see if
the
problem exists in VB6. If the problem still exists in VB6, it seems that
the problem may be related to the ActiveX control file or its dependency
files. You may use "depends" tool to see whether all the dependency files
of the ActiveX file exist on your machine and the version of these files
are correct. If the result is No, you may copy the absent dlls to your
machine.
To use this tool, go to Start menu ->All Programs-> VS .NET2005->
Microsoft
Visual Studio 2005->Visual Studio Tools->Visual Studio 2005 Command
Prompt.
In the command prompt, type "depends" command and press enter. In the
Dependency Walker window, open the mschrt20.ocx.
Hope this helps.
Please try my suggestion and let me know the result.
Sincerely,
Linda Liu
Microsoft Online Community Support
============================================================================
=============================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
With newsgroups, MSDN subscribers enjoy unlimited, free support as opposed
to the limited number of phone-based technical support incidents. Complex
issues or server-down situations are not recommended for the newsgroups.
Issues of this nature are best handled working with a Microsoft Support
Engineer using one of your phone-based incidents.
============================================================================
=============================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
.
- References:
- Using Microsoft Chart Control in dotnet
- From: Bob Dankert
- RE: Using Microsoft Chart Control in dotnet
- From: Linda Liu [MSFT]
- Using Microsoft Chart Control in dotnet
- Prev by Date: Re: Scroll bars and docking
- Next by Date: Re: q; find day passed
- Previous by thread: RE: Using Microsoft Chart Control in dotnet
- Next by thread: crystal reports
- Index(es):
Relevant Pages
|