Re: Using Microsoft Chart Control in dotnet

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.



.



Relevant Pages

  • RE: Locating corrupt driver
    ... This article describes the functionality and limitations of the Windows ... Create and format partitions on drives. ... MB of hard disk space on your system partition to hold the Cmdcons folder ... Windows NTBoot Console Command Interpreter. ...
    (microsoft.public.win2000.applications)
  • Re: Dim RetVal
    ... Looking in the folder there is a coed11.dat DAT file, the coed11 application, coed11.gdb GDB file ... The reason is that without the quotes, the command processor sees the ... In the command window, first type ... This *should* have exactly the same effect as the macro. ...
    (microsoft.public.word.vba.beginners)
  • Re: Batch Job
    ... You cannot use the 'del' command at a DOS prompt. ... files (since 'del' might not work into the special folder). ... while the above will delete the deleted files from the Recycle Bin but it also deletes configuration files used by the Recycle Bin. ...
    (microsoft.public.windowsxp.general)
  • Re: Help with cacls in WinXP Home
    ... Take Ownership of a File or Folder in Windows XP ... all the information I have of CACLS: ... Just because you can set permissions with Cacls doesn't mean you should. ... Try the Cacls command on a test folder first and make sure that your ...
    (microsoft.public.windowsxp.security_admin)
  • Re: User Account Suddenly Unaccessable
    ... As I started to type the second command, ... I get two error messages. ... Contact your network administrator. ... It tells me that only the Administrator has access to the CWLee profile folder. ...
    (microsoft.public.win2000.general)