473,506 Members | 17,000 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error with Imports System.Windows.Media...

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


Aug 27 '07 #1
2 3200
On Aug 27, 10:43 am, "\"Frank\"" <Fr...@a-znet.comwrote:
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/2...l/presentation
Did you set a reference to presentationcore.dll?

Chris

Aug 28 '07 #2
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
"Chris Dunaway" <du******@gmail.comwrote in message
news:11**********************@d55g2000hsg.googlegr oups.com...
On Aug 27, 10:43 am, "\"Frank\"" <Fr...@a-znet.comwrote:
>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/2...l/presentation
Did you set a reference to presentationcore.dll?

Chris

Aug 28 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
17521
by: Mike Fisher | last post by:
I'm seeing an error when I try to run/debug a web service. Although it doesn't happen every time, it does occur more than half of the times I hit F5. It appears to be returned by the the JIT...
3
2646
by: James Proctor | last post by:
Hi there, im brand new to ASP. Ive done loads of VB coding and one of my clients is intrested in a web based application, so im trying to play on and learn it a tad. However im comming across lots...
2
1913
by: VB Programmer | last post by:
I created a ASP.NET app locally and it works great. Uploaded it to my server and I get this error when trying to view a page. Any ideas? Server Error in '/earlyalert3' Application....
6
1652
by: Alixx Skevington | last post by:
OK why does the following code work in a Windows form with a crystal report viewer but not in a webform. I get the usual CrystalReports.EngineLogONException logon Failed when this is called in...
1
3392
by: James Proctor | last post by:
Hi there, im brand new to ASP. Ive done loads of VB coding and one of my clients is intrested in a web based application, so im trying to play on and learn it a tad. However im comming across lots...
2
5717
by: Schorschi | last post by:
Can't seemd to get ReadFile API to work! Returns invalid handle error? =========================================================================== Ok, the visual basic gurus, help! The...
2
2632
by: Piedro | last post by:
Can someone reproduce the following error? I'm using the module at the bottom of my post to owner draw a menu items, I call the module from a form like this: Private Sub mnuOpen_DrawItem(ByVal...
3
2421
by: Adriano | last post by:
Hello, when I try to print something, either DataGrid or from Crystal Report viever the folowing error message appears and cancels printing: Object reference not set to an instance of an...
1
9574
by: bhanupoornakumar | last post by:
Hi .. when i am setting a website i am getting the following error.. The compiler failed with error code -1073741819. This is the full error .. u can see below. Compilation Error ...
0
7218
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7103
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7370
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7478
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5035
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4701
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1532
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
755
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.