|
The ImageList is not a serializable class, so you can't serialize it and will need to think how to reconstruct it after the de-serialization. If you mark your class with the [Serializable()] attribute and mark the imageList field with the [NonSerialized()] attribute, everything else should be done automatically by the framework.
Also, if you want to serialize a set of instances of this class, you can just put them in an array and serialize the array.
I see dead pixels
Yes, even I am blogging now!
|
|
|
|
|
Hi,
You were thinking right... I have a set of instances of this class which is in a combo box (as described). And I wish to serialize the content of the Items of the combo and deserialize it back.
Best regards.
There is no spoon.
|
|
|
|
|
Does anyody know of a Dependency Walker esque application that will give me .NET assembly dependency information?
I have found the following utility :
http://www.remotesoft.com/dotexplorer/[^]
But it comes with alot of additional features that I dont want support staff to have.
post.mode = postmodes.signature;
SELECT everything FROM everywhere WHERE something = something_else;
> 1 Row Returned
> 42
|
|
|
|
|
Shouldn't be too hard to knock one up yourself (although it's not something I've done yet) - what features would you want to have?
'--8<------------------------
Ex Datis:
Duncan Jones
Merrion Computing Ltd
|
|
|
|
|
What about .net reflector?
/\ |_ E X E GG
|
|
|
|
|
how to send sms using c#.net.also i want to know the fuul concept inside it
|
|
|
|
|
You can't send sms just with a C# Application.
You would need the mobile phoning infrastructure,
or some contract with an Mobile Phoning Service Provider.
There is nothing like System.IO.SMS where you can do
sms.Send("This is my message", 06642304938);
greetz, mike
|
|
|
|
|
You can use a web service from here[^].
-- LuisR
Luis Alonso Ramos
Intelectix - Chihuahua, Mexico
Not much here: My CP Blog!
The amount of sleep the average person needs is five more minutes. -- Vikram A Punathambekar, Aug. 11, 2005
|
|
|
|
|
I can't get it to work... Did you?
/\ |_ E X E GG
|
|
|
|
|
To say the truth I've never tried it; it doesn't work for Mexico. But I've read here it works.
-- LuisR
Luis Alonso Ramos
Intelectix - Chihuahua, Mexico
Not much here: My CP Blog!
The amount of sleep the average person needs is five more minutes. -- Vikram A Punathambekar, Aug. 11, 2005
|
|
|
|
|
You need a wireless interface first...
/\ |_ E X E GG
|
|
|
|
|
hi!
you are from austria? do you have UTA as provider? i actually write a c# application to sms a sms....by connecting to a homepage where i can look for my traffic...there i can send a sms...
i establish a https connection than i send a post request for login and after that the sms....and it works
bye
|
|
|
|
|
I'm from freaking San Diego. America's arm pit.
I don't understand what you are saying. Can you try again?
/\ |_ E X E GG
|
|
|
|
|
i mean if we have a system which had always internet connection,then my need is to send sms from that system.
such part is coming in my program developing
|
|
|
|
|
my aim is to create a program in .net framework,which will send SMS vto System Administrator's mobile when there is a problem in the n/w or any other critical events are happening the server.
|
|
|
|
|
WHAT THE CRAP!?!?!
I'm from California@>@!!!!! AHAHA
/\ |_ E X E GG
|
|
|
|
|
Hi
I want to run a stored procedure to load records from the database into a dataset. It gives me message that the stored procedure requires a parameter @ProdIndex which is not supplied. I have debugged my code and I cannot see what the problem is. Some of the code is as follows (all my stored procedures that require parameters, are giving me similar messages):
public class ProductManager
{
public ProductManager()
{
}
public static DataSet LoadProductsSProc(int prodIndex)
{
//sproc is the Stored Procedure name
//IS THERE A BETTER WAY THAN HARD-CODING IT HERE
string sproc = "Select_Products_ProdID";
//create two-dimensional array of objects to hold the parameter name and value
//IS THERE A BETTER WAY OF DOING THIS?
object[,] parameters = new object[1,2];
parameters[0,0] = "ProdIndex";
parameters[0,1] = prodIndex;
DataSet ds = GeneralDAL.LoadObjectsDS(sproc, parameters);
return ds;
}
}
public class GeneralDAL
{
public static DataSet LoadObjectsDS(string sprocedure, object[,] parameters)
{
DataSet ds = null;
SqlConnection conn = null;
try
{
//instantiate the conn object – this works fine
conn = new SqlConnection(“database”,”server”);
conn.Open();
//create a SqlCommand object
SqlCommand sqlCmd = new SqlCommand(sprocedure, conn);
sqlCmd.CommandType = CommandType.StoredProcedure;
//add the parameters to the SqlCommand object
for (int i=0; i
|
|
|
|
|
Can do it in a simpler way?
Use SQLHelper application block of Microsoft and there is nothing u to do. Also u should define SQLParametr and not object. Please let me know if u want SQLHelper class.
Jayant D. Kulkarni
Brainbench Certified Software Engineer in C#, ASP.NET, .NET Framework and ADO.NET
|
|
|
|
|
|
Check the "Do not treat <'s as HTML tags" checkbox, or use pre tags, so that all of the code will be visible.
A crucial part of the loop that creates the parameter objects is missing, so there is no telling if it is correct or not.
---
b { font-weight: normal; }
|
|
|
|
|
Hello, I have a program and I am attempting to have an embedded audio file, and then copy this audio file, and play it. Is this possible?
Mike - I love to program!
|
|
|
|
|
|
|
How to save the files in windows family,the file is a non windows application
|
|
|
|
|
Are you talking about a DOS app running in a CMD window?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|