Skip to content

Error in code example #1193

Open
Open
@jgold6

Description

@jgold6

The code example on step 9 of the To host the ActiveX control section has an error.

The line:
WmpAxLib.AxWindowsMediaPlayer axWmp = new WmpAxLib.AxWindowsMediaPlayer();
Should be:
AxWMPLib.AxWindowsMediaPlayer axWmp = new AxWMPLib.AxWindowsMediaPlayer();

At least I had to make that change or the above type would not resolve.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Labels

Pri2Medium prioritydoc-bugProblem with the content; needs to be fixed [org][type][category]dotnet-framework/svcokr-healthContent-health KR: Concerns article defects/freshness or build warnings.okr-qualitywpf/subsvc

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions