blah blah blah is here! blah blah » Close

0
votes
0 answers

How to check for my latest updated xml file.

Friends, How're u all doing? :) I was just creating a simple rss reader (xml) for intranet, I started by using ListView and populated it with XmlTextReader & XmlDocument. But this reader is not usefull unless I introduce the fe ...

0
votes
0 answers

generics with caching

Hi all, I need your help pls. Pls help me to give the solution/answer for the below question, its urgent. Write a C# code snippet to store information of a list of collection of Authorization objects in a cache. The application may ...

0
votes
1 answers

drawing on picture box

lios
30

hello i have found this code in a website and with this im drawing with the mouse over the form!!! but i wand to draw on a picture box and to save then on a file!! please helpme to change from form to picture box thanks private G ...

0
votes
0 answers

SQL SERVER with nvarchar() FORMULA

I have a table in a database and i am using some nvarchar fields with some formula... simple things SOMECOLUMN*0.23+SOMEOTHERCOLUMN in the c# desktop application i'm making the thing work withe some javascript using Microsoft.JScript; ...

0
votes
1 answers

Question: Random Number Generator and returning them 1 at a time.

Ok the problem is: [code] for (int i = 0; i <= randArray.Length; i++) { retValue = random.Next(1, 80); if (retValue < 0) { retValue = retValue * -1; } if (retValue == 1) { timer1.I ...

0
votes
1 answers

Crystal report 2010 does not show data

i'm working on a project that uses compact database, for crystal report i created a new dataset that contains datatables and from that datatables the report suppose to show the data, i added fields to the report using the crystal ...

0
votes
1 answers

edit listview item

Hi i want to edit the selected item which is inserted in my listview. I want the other Form (Form2) to appear when before editing with information of the item in each textbox Form1 = listview and the items Form2 = the textboxes ...

0
votes
1 answers

changing color of label.

Dear friends, Coming out of my busy office schedule... today I'm getting in touch with u all again. Hope u're all doing fine by the grace of god. I'm here to share a basic, yet curious doubt. Let's say I have list of lables in my window ...

0
votes
1 answers

Dynamic database (SQL + C#)

I'm creating a form which volunteers need to fill out (name, phone number and a drop down list). The drop down list contains 3 options (dish washing, trash taking, house cleaning). Volunteer are supposed to fill their name and phone numb ...

0
votes
2 answers

Filestreaming System.OutofMemoryException

Hi, I am getting an System.OutofmemoryException when using Filestream to load zip file. the file is 521MB. My code is: //Insert using Filestream, file into SQL Server Table private void btnInsert_Click(object sender, EventArgs ...

0
votes
0 answers

Font Dialog without TrueType fonts

I'm making an application in C#, which uses a classic fontdialog form. It is a known error that, when you choose a non-TT font, the program simply crashes (an exception which cannot be caught). Anyway, I searched the internet for a solution ...

0
votes
0 answers

Web browser and Context menu strip problems

q12
349

In a webControl, when the mouse cursor is "Hand" (usually over links,images), I want a custom contextMenu to be on or off. I tried to make something but is not working [b][the ContextMenuStrip is always showing,when I right click] ...

0
votes
1 answers

why we override ToString()

Hi, I have seen in couple of places the code where ToString() method has been overriden. Like : class Employee : IComparable<Employee> { public int Salary { get; set; } public string Name { get; set; } public i ...

0
votes
1 answers

classes example in C# language

Hi friends I am learning C# language online and came across this question Code Exercise: Cola Machine Please use the language of your choice to model a simple cola machine. Within the cola machine, please create classes for the ...

0
votes
1 answers

Timer/SLQ Job

We have a request tracking system where system automatically takes the action like closing, abandon, escalate the request after certain duration. How to automate the actions?

Feedback