4,588 Topics
| |
Write a C# program that searches a file for a string. Pass the string and the file name as program arguments. | |
Hello guys, I wonder if some of you can help me out with this. Im working on an application in VWD 2010 with C#. I wonder how can I save like 8 multiline textboxes into a Database. Where every single line of this textboxes is a new row in the … | |
Hi everyone, Currently for a university project I am building a server that can send notifications to a mobile device. Part of the project involves building a front end where I can configure everything for the server - updates to send, rules and so on. On the front end I … | |
Hey Everybody! I'm totally new to this and ligit just signed up here. This is also my first post. I want to create the card game war as my first project in C#. I have Visual Studio.Net 2010 and am a total noob. plz make instructions simple. thx! | |
Rewrote this a few times heres the meat and potatoes. Has a few issues such as flashing when moving in different directions quickly. Thinking of trying to clamp a few values to try to stop the diagonal movement,flashing and smoothing out the sprite. Something along these lines might update this … | |
Hi can i apply this in a windows form C#? ![BubbleImage](/attachments/large/3/BubbleImage.png "BubbleImage") this is an html5 is there any in C# windows form | |
Hey I want to Load/read/write a big file (ISO) in C#. Ive tried various combinations (FileStream, BinaryStream, etc) but all of them give me a "OutOfMemory" exception. What is the best way to load a big file into C# to work with it? Ill be using the DiscUtils library if … | |
| |
Hello , I'm trying to make an Update query but keep getting the following exception : "Data type mismatch in criteria expression" Here is the query : UPDATE PatientData SET PatientData.[Transaction Stop Time]='6/26/2010 1:07:12 PM' WHERE PatientData.[Patient ID]=6 AND PatientData.[Parameter name]= 'Temperature' AND PatientData.[Valid start time]='9/7/1999 12:00:00 AM' additionally, when … | |
I wrote a small program: Thread1 thread: public void ExecuteCommandSync(string argument) { try { var procStartInfo = new System.Diagnostics.ProcessStartInfo("bbb.bat", argument); procStartInfo.RedirectStandardOutput = true; procStartInfo.UseShellExecute = false; procStartInfo.CreateNoWindow = true; procStartInfo.ErrorDialog = false; var proc = new System.Diagnostics.Process(); proc.OutputDataReceived += (s, e) => { if (!string.IsNullOrEmpty(e.Data)) { LogBox.BeginInvoke(new EventHandler(delegate { LogBox.AppendText(e.Data.ToString() … | |
hi, every body i became member of, so i would like to study how greate database in c# could u help me | |
Hi! I'm writing little software just to get some practice in c#. I have listview in form 1 where program displays first name and last name form access database. When admin selects name/surname in listvioew and press show usercard(form2) I have a label in form2 and I want it to … | |
I've inherited a small C# command line program that takes a date and creates several spreadsheets containing data pulled from a microsoft sql server database based on that supplied date and some names hard coded into the program. I'm looking to change the program to pull the data from a … | |
this is java webservices code and please convert to C# webservices code, just change for me , i think you understand my probelm, and please do for me here is a code below , <div>import java.io.FileOutputStream; import java.io.PrintWriter; import java.net.HttpURLConnection; import java.util.Enumeration; import java.util.Properties; import java.util.Vector;</div> <div>import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; … | |
Hi all, I have two xml files and I need to export the result of applying a left outer join between them into a list var result = from file1 in XDocument.Load(f1).Descendants("Contract") join file2 in XDocument.Load(f2).Descendants("Profile") on (file1.Element("CustomerAccID") != null ? file1.Element("CustomerAccID").Value : "") equals (file2.Element("Id") != null ? file2.Element("Id").Value … | |
I need to display the column names from table in the dropdownlist of the application. How to display columns of table from database to application using c#? | |
Hi everyone ; i using to VS2008 -- devexpress V10.1.2 and MSSQL i make to same project .. my project setup is work my computer but same setup doest work to another computer error: ERROR DETAILS Following errors were detected during this operation. * [07.11.2012 02:17:57] System.Deployment.Application.InvalidDeploymentException (SignatureValidation) - Strong … | |
Hallo good people, Am doing a project in which every time a delete record is done i want it to fire a trigger which then helps me capture who deleted the record and at what time this happened. All this details should be written in a flat file. Any help … | |
I need to display cartons as when it is placed in pallets in C# desktop program. I need to display one by one, after the robo places the carton in pallet. i.e, initally the pallet will be empty. when the robo places first pallet i need to show carton in … | |
I have a c# linq assignment to add a data from the csv file, here is my code: struct DailyValues { public DateTime Date { get; private set; } public decimal Open { get; private set; } public decimal High { get; private set; } public decimal Low { get; … | |
Hello! I'm creating an app where you can open Settings form and choose the background color, etc. This is how it looks like when one clicks on the color settings button: ColorDialog dlg = new ColorDialog(); dlg.Color = Properties.Settings.Default.bgdColor; if (dlg.ShowDialog() == DialogResult.OK) { Properties.Settings.Default.bgdColor = dlg.Color; Properties.Settings.Default.Save(); bgdColorLBL.BackColor = … | |
Hi Everyone, Background: I have recently implemented the A* pathfinding algorithm in C# based on some pseudo code that I found. I need the algorithm to run as fast as possible and at present my code isn't quite cutting it. I understand that the heuristics used can have a big … | |
HI All, I have a tabcontrol and three datagridviews on each tabpage. i.e tabpage1 have datagridview1, tabpage2 have datagridview2 and tabpage3 have datagridview3. Now when i scroll horizontally on datagridview1 to some postion remaining all datagridview has to scroll to that postion and vice versa.. | |
So, While I was working on a project I accidentally closed down my Form1.cs[Designer] window and I haven't been able to find how to open it again. I am using Microsoft Visual C# Express Edition. I have looked around in the program and haven't been able to find a way … | |
Hello, I'm now year 12 in a programming oriented high school and I have some 3-4 months to complete a programming based project. I know SQL (completed "Introduction to Computer Science" course), PL/SQL (New to PL/SQL but I'm learning fast), C# (learned it 3 years and had good grades) and … | |
I'm pretty nee to all this stuff, I have no problems reading from the database but writing new records and updating fields etc is proving to be quite difficult. The following code is just meant to create a new record in a table, I started the field count at [2] … | |
Hey guys. i am new to c# and i was wondering if you could give me a hand. it is about sets.So far i have 3 textboxes,one for set a one for b and another for result.i also have 3 buttons one for union one for difference,element found in a … | |
hi there ahmm, in creating or implementing a face recognition in an system is advisable because we have an onlie poject wherein we must get the time in and out of a user that is register in the system. the problem is we do not have any background in terms … | |
I am trying to write a smiple email web program. Whenever I try to get an out going email I keep getting the general message that the computer is denying me access. "No connection could be made because the target machine actively refused it " I have tried this at … |
The End.