| |
thread by: Salim Zaabi |
last post May 9 '10 by: Salim Zaabi
I have been trying to make a program in c# to password protect a file so nobody can open the file if it has been encrypted by password.
What I want to do is that after password protecting the file, whenever somebody click to open the file, it will ask him for the password. What is the best way to encrypt it, Is it by XOR or AES?
|
thread by: darko |
last post May 8 '10 by: darko
hello im doing a small rss project and i'm stuck at trying to count how many items are in the feed, my question is: how can i count the instances of a word, in this case <item> in a string(source), thanks
|
thread by: frj1001 |
last post May 8 '10 by: tlhintoq
Hi
i am new to c sharp. i am building a simple calculator with a text box and few buttons. i need to store values entered into the text box from string to char array so that i can check for the '+' and perform addition among the elements like 12+22+11. i need to add all this functionality to the = button because i'll be using the + button to...
|
thread by: tookerello |
last post May 8 '10 by: tlhintoq
hi, is it possible to populate a sql server ce database from a rss feed using visual studio 2008? and if so could you show me an example?
Many Thanks
|
thread by: lizarebk |
last post May 7 '10 by: hype261
Hi All,
I'm manipulating data from a datasource. So far I have the connection,
the data in a datatable and bind it to the BindingSource.
Now I'm trying to do a loop with the following staments using foreach loop.
DateTime start = Convert.ToDateTime(table.Rows);
DateTime end= Convert.ToDateTime(table.Rows);
TimeSpan diff =...
|
thread by: csharpula csharp |
last post May 7 '10 by: tlhintoq
Hello,
I would like to know which one of the following compressiom methods are
the easiest to implement in c# and the most effective one in compression
of files? (text or code files)
Which one of those: zip, tar, tar.gz, gz. ?
And is there any code sample in C# of the API with compression?
Thank you!
|
thread by: MZimmerman6 |
last post May 7 '10 by: MZimmerman6
I have a question about how to read through an XML Document
Here is an example of a similar XML to what I am using
<People>
<Person id = "n">
<LastName>Norris</LastName>
<FirstName>Chuck</FirstName>
<Hobby>badassery</Hobby>
|
| |
thread by: xyligan |
last post May 7 '10 by: RedSon
i`m trying to get image from scanner throw dll (c++), which returns data in void * type.
so googled.. i found:
Marshal.Copy(new IntPtr((byte*)result.buffer), byte_arr,0, size);
How can i get size of this ?
thx
|
thread by: rizwanrajput |
last post May 7 '10 by: rizwanrajput
How can I make my own Internet Explorer sidebar (not toolbar) just like Google Sidewiki, which will also interact with my browser (only IE). Any example?
|
thread by: mikezang |
last post May 7 '10 by: Plater
I have a c# application with a console window, the application will start to download data after I click download button.
I hope that I can use it to download data directly, I mean, when I run it, the app will start to download before I click download button, what can I do?
|
thread by: qwerty27 |
last post May 7 '10 by: qwerty27
how to get version of installed component services on remote machine using c#? this is for local machine....but i want fr remote machine
COMSVCSLib.MtsGrpClass group = new COMSVCSLib.MtsGrpClass();
for (int i = 0; i < group.Count; i++)
{
object item = null;
group.Item(i, out item);
...
|
thread by: mylixes |
last post May 7 '10 by: tlhintoq
I'm currently developing a windows application.
I have two forms, Form1 and Form2. They are both open.
In Form1, I have two dateTimePickers (start date and end date), two text boxes (no of records and no of days) and two buttons (submit and cancel). In Form2, I have a dataGridView that displays data from a text file.
For example, I set...
|
thread by: Garima12 |
last post May 6 '10 by: Plater
What is the benefit of creating DataTable over array of DataRow and vice versa?
|
thread by: nagarajuch |
last post May 6 '10 by: tlhintoq
class a
{
public static dis()
{
int x=10;
}
}
In the above case weather the variable 'x' is static or normal variable.
|
thread by: pinman |
last post May 6 '10 by: tlhintoq
I am trying to reverse the location of words in a string which i have working but not sure if it's the best way. I can't use Array.Reverse or String.Split in the code. The idea is to return a string with the words reversed. eg: “The quick brown fox” should return “fox brown quick The”
public string ReverseWordsInString (string input)
{
...
|
| |
thread by: ankitrathore |
last post May 6 '10 by: tlhintoq
Hi Guys,
I am a beginner in c# .net,
Please don't mind if I ask some silly question,
Please help me out,
I attached one BMP file.
What I am actually looking for that if user give just the value like I002/A003 in ComboBox then the item_name and price will automatically fetch from the database.
then user just enter the quantity and...
|
thread by: brboLikus |
last post May 6 '10 by: brboLikus
Hello everybody!
I have a specific problem I haven't been able to answer. I need to show a description of a class in a property grid, but the problem is that I need to show it based on the DescriptionAttribute of that object while at the same time it needs to be converted with an ExpandableObjectConverter. This is my model:
public class...
|
thread by: nghivo |
last post May 6 '10 by: nghivo
I created the listview as followed:
ListView lvContent = new ListView();
//Add the column header
lvContent.Columns.Add("Col1");
lvContent.Columns.Add("Col2");
lvContent.Columns.Add("Col3");
lvContent.Columns.Add("Col4");
|
thread by: MZimmerman6 |
last post May 6 '10 by: Plater
I have a pretty quick question. When adding a saveFileDialog box, how can I filter it so it only searches for certain file types. Namely XML. If found something online that looked like:
saveFileDialog1.Filter = "DAT31-8 Files (*.N31)|*.xml|All Files (*.*)|*.*" ;
but editting that does not really help me any
I imagine it is a fairly easy...
|
thread by: minus273 |
last post May 6 '10 by: Plater
I have been unable to get the following code to work. The AddEventClicked event is always null. I have done stuff like this often in the past but for some reason I can't get it to work here. I get no errors. The only thing I can think of is that the problem has something to do with the event not being subscribed to on postback. What am I...
|
thread by: MarkJoel60 |
last post May 6 '10 by: MarkJoel60
I read this question, and found I had a similar problem:
checking-cursor-type
This comes too late to help ACS, but in case anyone else is looking for it, I found the solution by combining a few sources. First, I found a very good article on codeproject:
DesktopCaptureWithMouse
That gave me the way of getting the system's mouse icon....
|
thread by: benseb |
last post May 5 '10 by: jkmyoung
Hi
I'm pretty new to threading so apologies if I've not understood correctly. I'm trying to create a thread which will run a background Merge Replication sync on a windows mobile device. I need this to run in the background, doing the sync every few minutes but not holding up the main program in the process.
so, here's the code I've created...
|
thread by: tookerello |
last post May 5 '10 by: tlhintoq
Hi could you please help with this as i have been trying to correct it for hours:
I keep receiving the "NullReferenceException was unhandled" message
public static Conditions GetCurrentConditions(string location)
{
Conditions c;
c = null;
c = new Conditions();
...
|
| |
thread by: JasonShaw |
last post May 5 '10 by: JasonShaw
I am currently trying to create a form with a variable number of TextBoxes and a single DataGrid that is used to display historical data. I have programatically set up any number of TextBoxes and a DataGrid with the appropriate number of columns showing.
As the DataGrid is only for showing data I do not want the user to be able to select...
|
thread by: abhimusale |
last post May 5 '10 by: jkmyoung
I am developing application in c#. I added users (except administrator and everyone) and assign permissions to them in shared folder.
I want to get list of all users and their permissions to whom file sharing is allowed.
I tried to get this using Win32 class and system.management. Also searched on google but not get any specific link.
Plz...
|