472,785 Members | 1,164 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

C# 2005-Windows Application-imagelist settings problems

1
okay heres my problem;
i want to add image K to a imagelist, thats easy. The hard part is that the imagelist was made in Application Settings. **I made the imagelist in application settings so i could eventually add in code which would make its value saved when the form closes** But every time i use something like this
Expand|Select|Wrap|Line Numbers
  1. image k = toolstrip1.backgroundimage;
  2. Settings.Default.kill.Images.Add(k);
  3.  
**kill is the name of the imagelist**
i get this error which says- "Null reference was unhandled". The problem isnt with the image k, its with the kill imagelist.
In the application settings, i cant seem to even give imagelist a value and it seems to me the only time i can even give it a value is before the image starts.
So how can i add a value to the imagelist, without getting this error or any error
Oct 18 '07 #1
0 1166

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: mscotto | last post by:
OSS 2005 The First International Conference on Open Source Systems Genova, July 11 - 15, 2005 CALL FOR PAPER http://oss2005.case.unibz.it Submissions of papers or of extended abstracts are...
0
by: Marcel - IDUG Europe 2004 | last post by:
Dear DB2 user, Attend IDUG 2005 - Europe for FREE! Are you interested in attending IDUG 2005 - Europe at no cost? http://conferences.idug.org/europe/2005/index.cfm Accelerate your career by...
0
by: Marcel - IDUG Europe 2005 | last post by:
Dear DB2 user, My name is Marcel Lvy and I'm a member of the IDUG 2005 Europe Conference Planning Committee. ********************************************************************* Mark your...
9
by: William LaMartin | last post by:
Does anyone know when we can actually purchase Visual Studio 2005 Professional or the upgrade and have it shipped immediately? First Microsoft said that it would be released Nov. 17. When Nov...
1
by: QLD_AU | last post by:
Has anyone see the following error ? VS 2005 Installs ok, however the SQL Mobile Edition (part of a full install) fails with the following error ? With Thanks Jason
1
by: Peter | last post by:
I've purchased VS.NET 2005 Standard and have tried to install SQL Server 2005 Express, but get the following error in the error log. Please could someone help me.... Microsoft SQL Server 2005...
2
by: Peter Stojkovic | last post by:
I am using Visual Studio 2005 with the above Build. Is this the latest Version ??? Thanks Peter Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200)
9
by: Leon | last post by:
Hi Everybody. I have my website developed in VS 2003. Now I want to upgrade my website to VS 2005 and develop new web pages in a new environment. What steps should I take to upgrade? I cannot find...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.