473,322 Members | 1,703 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Resource 'skin.bmp' could not be found in class 'Syndirella.UI.Form1'.

Source:
taskbarNotifier.SetBackgroundBitmap(new Bitmap(GetType(), "skin.bmp"), Color.FromArgb(255, 0, 255));

Error:
Resource 'skin.bmp' could not be found in class 'Syndirella.UI.Form1'.

I have added this file to Resources via the resx file. Any ideas?

Thanks.
Nov 17 '05 #1
2 2678
> I have added this file to Resources via the resx file. Any ideas?
Check this link for how to access resources

http://msdn.microsoft.com/library/de...rcemanager.asp
Nov 17 '05 #2
did you find a solution to this? I'm trying to get the taskbar notifier
working too.

Trevor B

"oran johnson" <or*****@optonline.net> wrote in message
news:1p******************************@40tude.net.. .
Source:
taskbarNotifier.SetBackgroundBitmap(new Bitmap(GetType(), "skin.bmp"),
Color.FromArgb(255, 0, 255));

Error:
Resource 'skin.bmp' could not be found in class 'Syndirella.UI.Form1'.

I have added this file to Resources via the resx file. Any ideas?

Thanks.

Nov 17 '05 #3

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

Similar topics

2
by: Peter Zentner | last post by:
Hi, I have a bitmap as an embedded resource. Now I want to use that bitmap for a background image of a button. But if I do the following it doesn't work. <snap start> Dim s As...
0
by: ByB | last post by:
Hello, I need to create a resource DLL, to embed the BMP files I use to skin the dialogs and buttons of my VC++ app. In VC++ 6.0, it was made by creating a "Win32 Dynamic-Link Library " with...
1
by: mark | last post by:
I want to use CBitmapButton. This class knows the function LoadBitmaps to set a bitmap in a button. The problem is that LoadBitmaps is asking for a Resource ID. I have loaded the bmp file in...
3
by: Trevor | last post by:
I've got a bitmap file I want to use as a resource for an application. I went to the project, added and existing item (the bitmap), and then set it to embedded resource. When I run the app, I get...
2
by: Julia Beresford | last post by:
Hi Al You can add a Bitmap to a VB class library and set it’s build action to embedded resource. How do you then get that image (i.e. load it into a PictureBox control) from another vb...
11
by: Garrett | last post by:
I'm fairly new to VB .NET and programming in general, and I want to give my program its own icon without it being a separate file. I have the icon as part of the project, and its Build Action is...
1
by: John Veldthuis | last post by:
I have a program which is using a Notify control for a tray icon. I originally had the icon for this separate as I have to change it all the time. When the icon was in the directory it worked fine...
0
by: raylopez99 | last post by:
I have a minor problem locating an image file to load as a Bitmap. A resource file "NudeSusan.jpeg" (which I think is actually a bmp file, originally taken from a jpeg of model Susan Spears) is...
5
by: mrcw | last post by:
I am trying to adapt this code. It first shows a menu and alows you to select a .bmp, and the changes it when you select the menu entry. The problem is it doesn't display the bitmap in the form. I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.