Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
21
Posts with Upvotes
16
Upvoting Members
12
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
4 Commented Posts
0 Endorsements
Ranked #630
~21.7K People Reached
Favorite Tags
Member Avatar for complete
Member Avatar for hscoder
0
162
Member Avatar for aravinda reddy

I have to find the maximum total price for the list of items so that weight should not exceed 14285 and volume should not exceed 17.. I need the best algorithm to find this.. The structure look like this wmax= 14285 vmax= 17 item weight volume price ============================== 1 1190 …

Member Avatar for Momerath
0
130
Member Avatar for Cactusmania

Hi guys, I have two richtextboxes that contain text. I want to go through each line and if a difference is found, it highlights that line on both textboxes and it would be good to highlight the difference itself too. I have attached some code I have written. Note some …

Member Avatar for Cactusmania
0
178
Member Avatar for Joelles

Hi, I recently started programming in c# and I was wondering: How am I able to create a "builder program"? For example: I have a windows application with some strings that have to be customised by every person, I would like to have a GUI apart from it that allows …

Member Avatar for Joelles
0
120
Member Avatar for khan17

hi, i know tat enter and f1 keys can be pressed programmatically using "SendKeys" function. but now i just want to know whether it is possible to press the alphabet 'S' in the keyboard programmatically. Expecting reply. thanks.

Member Avatar for ddanbe
0
145
Member Avatar for sachintha81

I have a service (say BS.exe) written using C# of which the installer is created using Wix and C# (which means it has a Custom Action program associated with the Wix installer program as well). Now, after the program in installed there is a need to go to Windows Firewall …

Member Avatar for privatevoid
0
510
Member Avatar for "ICode"

These days, as we all know, graphics is probably the most important thing. I made a program using C# and the only graphics im using is that of WFA, but i want to apply EXTREME graphics to it, like that of windows media center, or something like that. What would …

Member Avatar for "ICode"
0
204
Member Avatar for Gospp

I've a problem when trying to convert my sql-query to a SqlCommand. The query: [CODE] SELECT L1.[App_Name], DATEDIFF(ss,MAX(L1.MESG_DATESTAMP),GETDATE()) as Seconds FROM sbyn_csf.CSF_CME_LOG AS L1 JOIN sbyn_csf.CSF_LOGGER_LOG AS L2 ON L2.MESG_ID = L1.MESG_ID WHERE logger_code = 101 AND [App_name] in ('002','010','022','025','036','037','040') GROUP BY l1.[APP_NAME], L2.LOGGER_CODE ORDER BY 1, 2 [/CODE] The …

Member Avatar for Gospp
0
122
Member Avatar for onlinessp

hi, I want c# source code for process killer as task manger -> it forcefully kill the process which i want <->it may be system process

Member Avatar for privatevoid
1
165
Member Avatar for lowhzplayinfool

I havn't been able to find anything on the web which actually applies to what i'm trying to do yet. I have form1 which has 2 methods. These methods are the same but two versions, one with 3 variables in its parameter (?), one with 4. It is necessary for …

Member Avatar for lowhzplayinfool
0
139
Member Avatar for ereruh

Hey. I'm pretty new to C# and programming overall. I'm trying to make a Hangman game. Let's say the user want to make a guess at the letter "t". Then he should just have to press "t" on his keyboard and the form should recognize it. I currently can't even …

Member Avatar for ereruh
0
132
Member Avatar for hkBattousai

This sample code is from [URL="http://msdn.microsoft.com/en-us/library/aa287786%28VS.71%29.aspx"]MSDN[/URL]. [CODE]private string name; public string Name { get { return name; } set { name = value; } }[/CODE] I looked several examples, and they are the same. Why do we keep two different properties to store the name, namely "name" and "Name". I …

Member Avatar for hkBattousai
0
418
Member Avatar for nitin2010

When I am going to modify hashtable data it is giving me the exception.`"Collection was modified; enumeration operation may not execute"` Here is the code.. foreach (DictionaryEntry Item in hashtable) { switch(Item.key.ToString()) { case "Color": { hashtable["Color"]="ffffff"; break; } case "Width": { hashtable["Width"]="40"; break; } } } My qustion is …

Member Avatar for privatevoid
0
163
Member Avatar for johnroach1985

Hi there. In a day I have to connect to a lot of networks and each network has its own setting. Each time I have to re-configure my Windows Vista Home Edition IP confiugrations which is both slow and quite annoying. Thus I decided to write a program in C# …

Member Avatar for johnroach1985
-1
265
Member Avatar for adino2

[CODE] private void button1_Click(object sender, EventArgs e) { aTimer = new System.Timers.Timer(3000); aTimer.Elapsed += new ElapsedEventHandler(button2_Click); aTimer.Enabled = true; for (int i = 0; i < 16; i++) { mciSendString("open new Type waveaudio Alias record_sound", "", 0, 0); mciSendString("record record_sound", "", 0, 0); } } private void button2_Click(object sender, EventArgs …

Member Avatar for adino2
0
110
Member Avatar for Kligham

Hi, I'm having trouble getting my sendmessage function right. I want to send a click on a specific coordinate to the window. I know this is the api: [CODE][DllImport("user32.dll")] public static extern int SendMessage( int hWnd, // handle to destination window uint Msg, // message long wParam, // first message …

Member Avatar for privatevoid
0
123
Member Avatar for Cory_Brown

I'm a bit confused of the usage of the += operator. I understand that it is a compound operator that is used to both add and assign. However I've seen it used in the following manner. Class objectVar += new Class what is different about that vs Class objectVar = …

Member Avatar for privatevoid
0
129
Member Avatar for makdu

Hi, My application needs to run the command prompt with admin privilage . ie with the same effect when we select start-> all program--> accessories--> right click on command prompt --> run as administrator. Here is the current code i have for using command prompt from c# [code] static void …

Member Avatar for makdu
0
5K
Member Avatar for bords

Hello everyone...can anyone modify my code below....i have a database named "Database1.accdb" with a table "Applicants"...The columns are ID(auto incremented),Name,and Age.... on this code, i can display the data from my database... My problem is that how can i add a new record to my database...or delete a record... I …

Member Avatar for bords
0
129
Member Avatar for elcaro.miao

This is going to be somewhat a lengthy post, i do hope someone here can help me with this problem that i've already spent a gazillion brain cells on. >.< I AM a student asking for help as i cannot seem to be making this work with my atrocious programming …

Member Avatar for elcaro.miao
0
296
Member Avatar for saint.troy

So here's my dilema, I am a C# rookie and was following an example in the MSDN site when I come across one of the instructions that cannot be completed; "To add the component 1. In Solution Explorer, right-click the project name. 2. On the shortcut menu, click Add, and …

Member Avatar for Dr_Gonzo
0
133
Member Avatar for Mitja Bonca

I have dates and times stored in the database - the data type of DateTime (for example: 17.1.2010 16.23.34 - dd.MM.yyyy hh.mm.ss) The parameter which I define it has too look ONLY of date ("dd.MM.yyyy"), because I want to get all the values on a specific date and the sum …

Member Avatar for Mitja Bonca
0
152
Member Avatar for makdu

Hi, i have created an application and i want to run this application from a usb. I have copied the exe found in the debug folder to the usb and then i need to connect the usb in another computer . there i need to run the program from usb. …

Member Avatar for privatevoid
0
126
Member Avatar for Lukezzz

I have got an Diagram example that is supposed to draw a diagram that I have on a picture. The code compiles but cant understand how to trigger this code for example in the button click event that I have set up. Perheps there is any C# code basics of …

Member Avatar for privatevoid
0
219
Member Avatar for thanatos2

hey guys i have a noob question. i'm trying to program this little text based RPG, i've made several but you're always controlling only 1 character and fighting 1 enemy, i want to change that and make you take control of 4 characters and fight 1-4 enemies at once (turn …

Member Avatar for Geekitygeek
0
130
Member Avatar for hitro456

Whenever we implement any Interface in C# or JAVA why is this compulsory to implement all the methods insight that Interface?

Member Avatar for privatevoid
0
69
Member Avatar for Jellybaby

I'm making a program that adds favourite programs, files and websites to an Oracle database so there is no longer a need to browse my pc to find those files. I'm stuck on trying to find a way to edit the database and refreshing the program so the edited data …

Member Avatar for Jellybaby
0
79
Member Avatar for makdu

Hi, I have an application and this application needs to close when the window shutdown happen. How can i detect that the system is shutting down from a C# program

Member Avatar for makdu
0
2K
Member Avatar for carey_amanda

I am doing a DLLimport in my C# program. And now i need to do a setup project to make it into a windows installer application. But after i install it. there's an error saying, [ATTACH]13246[/ATTACH] i have already put my dll in my application folder. still the same result. …

Member Avatar for carey_amanda
0
183
Member Avatar for privatevoid

I have a small WMI issue that I am having trouble with. I am using root\WMI:MSSerial but would like to retrieve properties from both MSSerial_PortName and MSSerial_CommInfo specifically the following properties PortName, IsBusy and Active. If I query just one object then the code below works fine but I can't …

0
68