Error with Imports System.Windows.Media...

  • Thread starter Thread starter \Frank\
  • Start date Start date
F

\Frank\

I have vs2005, XP, and framework 3.0


I try to run an example and the following:

Imports System.Windows.Controls

Imports System.Windows.Media

Imports System.Windows.Media.Imaging



produce a long error - including "or can't be found"



I looked in the add references but couldn't find anything appropriate.



Can you tell me what might be wrong?



Thanks
 
I have vs2005, XP, and framework 3.0

I try to run an example and the following:

Imports System.Windows.Controls

Imports System.Windows.Media

Imports System.Windows.Media.Imaging

produce a long error - including "or can't be found"

I looked in the add references but couldn't find anything appropriate.
From the docs:

MediaPlayer Class
Provides media playback for drawings.

Namespace: System.Windows.Media
Assembly: PresentationCore (in presentationcore.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation


Did you set a reference to presentationcore.dll?

Chris
 
There was something in BitmapImage that I thought might have a slight change
of converting a 8bpp to a 4bpp.

I may have seen presentationcore.dll but I wouldn't know that was what I was
looking for.


Thanks for the info
 
Back
Top