|
srichakram_harsha wrote: please can anyone suggest me some project that is purposefull
No. I'm not trying to be cruel to you here, but this is for you to do, and it has to be something that engages your interest and you are capable of completing. I don't know you, so I can't offer any sensible advice on a topic that will keep you motivated when developing, and I don't know what level the BTECH is aimed at, so I can't judge the skill level that will be required.
If I was to suggest something that was too basic, you could end up failing because it's too shallow, and if I suggest something that's too complex, then you won't complete it and you'll fail. Either way, I've done you no favours.
If I were you, I'd look for something that interests you, and that you have sufficient knowledge in already that you don't have to waste unnecessary time researching the topic beforehand.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I know what would be really useful..
An image process application that handles live video stream from any source. Your application will then be able to detect the face of any person in shot and then identify that person by comparing data with a database. This database should contain information stating the security threat of each person and an alert should be made when a person with a high security threat is detected.
Additional, any data detected that is not present in the database should be stored along with a flag that allows a user to go though a list of unidentified people and then choose a further action to take such as providing a name for the person etc.
When you have finished, make sure you create an article on it and submit the source for all to use.
Good Luck!
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
For the win, you could call it the "Technological Empirical Real-time Radical Identification, Sensoring and Trapping System". or TERRISTS for short.
|
|
|
|
|
Then we have a complete package
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
TERRISTS? Aren't they people who live on Terra (i.e. Earth)?
|
|
|
|
|
hi
what is the best and the short way to limit textbox for only numbers
(in C#)
thank's
|
|
|
|
|
Make a usercontrol and restrict user to type alphas..amd use it wherever u want..
|
|
|
|
|
|
It depends on what you mean by only numbers. I wrote this one[^], it allows digits only - no negative sign, number separators, currency symbols... just numbers
|
|
|
|
|
Since they're so commonly needed, I have a handy collection of things like signed int, unsigned int, signed float, unsigned float, which do all the validation needed. (Unfortunately it's company code, so I can't give you the source, but they're based on similar ideas to the article linked above.)
It's definitely worth making these once so you'll never be stuck for one again.
There are three kinds of people in the world - those who can count and those who can't...
|
|
|
|
|
Hi All,
How can i change the startup mode for services that are already installed in machine using C# code.
i tried using ServiceController class in C# but i was not able to find any method to change the start up method for services that are already installed.
Thanks in advance
|
|
|
|
|
Vijjuuuuuuuuu........... wrote: How can i change the startup mode for services that are already installed in machine using C# code.
If this is already running, you can change the startup mode from Service Windows [ Run > Services.msc ].
If you want to change it in you code, You have to change the StartUp Type of of your Service Installer.
serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Thanks for reply
but the code that you provided is when we are installing the own service .
My need is i want to change the already installed services , for example windows services are installed with default value . i want to change them .. hope you got my question
|
|
|
|
|
That I have already mentioned to you.
Start > Run > Services.msc> Right Click on The Services > Change the Startup Mode.
If you have to code, then you need to change and reinstall the service again !
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
You could try by changing the Start value in the registry for your service (though I haven't tried this myself, but I figure it would work).
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ServiceName\
Start REG_DWORD (2) <- Change this value to either:
2 = Automatic
3 = Manual
4 = Disabled
|
|
|
|
|
Would it be any problem if we change it from Service Console ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
I'm not sure I understand what you mean.. What would be a problem?
|
|
|
|
|
Hi All
I Have a Class name Product.cs that have attributes or properties like id Name Price etc...
Now on run time i have List Of Product Class...
Now i have to Translate this List In to Xml Local Client File... and Serialize and deserialize that..
Pls Help Me
Thanks In Advance..
Sachin
|
|
|
|
|
Serialisation is binary, not XML, AFAIK. I don't know if you can automatically have it done to XML, or if you need to write your own code.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hello Sir,,
I Want to Make a XML File from That Class List locally
|
|
|
|
|
OK, so you need to write a method which takes a stringbuilder, or an XML builder or something, and adds the class instance to the XML document being built. Your solution is to manually write code that creates XML, or reads XML and uses it to create a class instance. Ideally, you want to call a method as you iterate over each class instance, and it builds the XML that way.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
|
You don't necessarily have to write your own code to manually serialise a class. The XmlSerializer class can handle most of the work.
|
|
|
|
|
here i have an example for you to serialize and deserialize a class
public string SerializeObject ( Object pObject, Type et )
{
try
{
String XmlizedString = null;
MemoryStream memoryStream = new MemoryStream ( );
XmlSerializer xs = new XmlSerializer ( et );
XmlTextWriter xmlTextWriter = new XmlTextWriter ( memoryStream, Encoding.UTF8 );
xmlTextWriter.Formatting = Formatting.Indented;
xmlTextWriter.Indentation = 4;
xs.Serialize ( xmlTextWriter, pObject );
memoryStream = ( MemoryStream ) xmlTextWriter.BaseStream;
XmlizedString = UTF8ByteArrayToString ( memoryStream.ToArray ( ) );
return XmlizedString;
}
catch ( Exception e )
{
System.Console.WriteLine ( e );
throw new Exception(e.Message,e);
}
}
public Object DeserializeObject ( String pXmlizedString, Type e )
{
XmlSerializer xs = new XmlSerializer ( e );
MemoryStream memoryStream = new MemoryStream ( StringToUTF8ByteArray ( pXmlizedString ) );
XmlTextWriter xmlTextWriter = new XmlTextWriter ( memoryStream , Encoding.UTF8 );
return xs.Deserialize ( memoryStream );
}
and here the class how it looks.
[Serializable()]
[XmlRoot("Attrib")]
public class AttributeClass
{
string sIdentifier;
string sAlias;
[XmlElement("Identifier")]
public string Identifier {
get { return sIdentifier; }
set { sIdentifier = value; }
}
[XmlElement("Alias")]
public string Alias {
get { return sAlias; }
set { sAlias = value; }
}
}
and here the AttributeCollection as Class to serialize it..
[Serializable()]
[XmlRoot("AttribsList")]
[XmlInclude(typeof(AttributeClass)),
XmlInclude(typeof(System.Collections.Generic.List<AttributeClass>))]
public class AttribsList : System.Collections.Generic.List<AttributeClass>
{
public static AttribsList LoadLayoutFromFile(string path)
{
try
{
string data_str = Core.SerializeHelper.ReadFromFile(path);
Core.SerializeHelper sh = new Core.SerializeHelper();
AttribsList list = (AttribsList)sh.DeserializeObject(data_str,typeof(AttribsList));
return list;
}
catch
{
return null;
}
}
public static void SaveLayout(AttribsList lst, string path)
{
Core.SerializeHelper sh = new Core.SerializeHelper();
string data_str = sh.SerializeObject(lst,typeof(AttribsList ));
Core.SerializeHelper.SaveToFile(path,data_str);
}
}
}
|
|
|
|
|
Thanks A Lot Brother!!!
Cheers
|
|
|
|