- Strength to Increase Rep
- +12
- Strength to Decrease Rep
- -3
- Upvotes Received
- 309
- Posts with Upvotes
- 254
- Upvoting Members
- 97
- Downvotes Received
- 19
- Posts with Downvotes
- 18
- Downvoting Members
- 10
After many years of aimlessly wondering the job market in a daze I stumbled across a study from home course in VB.NET. Since then I have discovered a passion for coding and subsequently graduated from Canterbury Christchurch University with a 2:1 Bsc…
- Interests
- Music, Gaming, Cycling, Gadgets and more Gaming :)
- PC Specs
- -PC (never fast enough)-OS: Windows (in its many interesting and quirk-filled flavours)Most recently,…
hi im new to c# and am looking for a way to radomly shuffle an array and split it into 2 groups. i cant find a way to do this so far :( any steps in the right direction would be gratefully recieved many thanks z |
|
The alarm clock application works by setting a certain time and then it perform a certain task eg:sound an alarm, display a messagebox test message. But the problem comes where i need to snooze(delay) the alarm clock for a certain time period like 10 second... Then it will re-initialise the … |
|
[ATTACH=RIGHT]16325[/ATTACH]Today, the [I]Entertainment Software Association[/I] released findings from two studies by Dr. Christopher Ferguson of Texas A&M University. In an interesting twist, Dr. Ferguson's findings suggest that not only are violent video games okay to give to children, they may actually be beneficial. Video games are often blamed for violent … |
|
I am doing a college project and need to display client status in form of coloured * by using an enum with flags...Now i know how the enum works but the problem is I need to show more than one * within the same field (lable or anything else) but … |
|
I have a asp.net page with the following on the page: [CODE]<asp:FileUpLoad id="FileUpLoad1" runat="server" /><br />[/CODE] but i need to get the pathname in that textbox to use with a stored procedure. Now the only thing i can get is the filename (not the path). Any ideas? This is my … |
|
This is a snippet I use to clear a form. Right now it clears: TextBox, RichTextBox, ComboBox, CheckBox and RadioButton. More can be added if needed... :) |
|
It is a common design in data handling applications to move from form to form to show the user different information. I have seen any number of different attempts at this on the boards so i thought I'd throw together a short snippet to show a cleaner OO way to … |
|
I am moving an object around from one node to another. I need to tell the object to stop moving when it has reached its destination node. I am currently using this algorithm for movement and node checking [CODE] if (!isFinished) { // If the level has arrived at the … |
|
can u plz tel me how to retrive only date from DateTime in C#. ex: 06/03/2008 12:00:00 i need only date 06/03/2008 in my application. |
|
hi Everybody I have added a button control to my page. when I start debugging an error message says "CS1061: 'ASP.default_aspx' does not contain a definition for 'btnLogin_Click' and no extension method 'btnLogin_Click' accepting a first argument of type 'ASP.default_aspx' could be found (are you missing a using directive or … |
|
i need to move jpg image files from one place to another place. cut and past. lets say the folser "c:/abc/1" kave 10 images . then what i have to do is when i run my aplication on inside that "c:/abc/1" all the images on that folder must be cut … |
|
hi frds ... I want to notify my application whenver user open any file. i just want to notify the name of that file, which is opend by user. how can achive this. FileSystemWatcher class is not giving this facilities. I want only notification for opening any file.. please reply … |
|
Hi, I have tried googling and searching for this but just find endless information about why software/hardware based encryption is the better option; what I need to know is whether there are any problems using BOTH. We want our offsite backups have to be as secure as possible. We previously … |
|
Hi I want to display the html content of the web pages(url address) in a c# window applications, but it is possible to get the dynamic content of a web pages also. If yes please query your comment. |
|
Hi, I have written some software, one aspect of which is a TCP client. It sends messages to a designated address and port and receives a number of messages in response. This is all working perfectly on some PCs, but on others, it loses connection. I have done some digging … |
|
Hi All, I am creating a Windows Application. I am maintaining LibraryBooks details. When I click on the Details all the books available(as stored in SQL SERVER Database) is been displayed in the DataGridView. But the datagridview also contains a empty row at the end which it generates automatically. But … |
|
[b]TEAM A[/b]: includes members whose BC username start with A C E G I K M O Q S U V W [b]TEAM B[/b]: includes members whose BC username start with B D F H J L N P R T X Y Z [b]SCORE Board[/b] Team A: 4 Team … |
|
|
Hello All, I'm having trouble with a little string search. My code downloads a webpage that contains a table of a list of sharenames, the company name and a margin rate in the following format: [CODE]<tr class="odd"> <td>AAC</td> <td>Australian Agricultural Company Limited.</td> <td>35.00%</td> <td> No </td> <td> No </td> <td> … |
I tried [CODE]If (checkedListBox1.SelectedItem.ToString() == "Others") { //do something }[/CODE] but it's not working the way I wanted to.. Whenever the 'Others' item is checked, the code executes but if I tried to uncheck it, it still execute the code as if it runs when that item is selected checked … |
|
Hi, I want to validate the text in a textbox. Actually i am trying to enter to amount in the textbox. If other than integer is entered in the textbox , it should say " please enter integer value ". Can somebody pls tell me how to do this. ( … |
|
Hi i want to merge two text files.i.e. the content of the second file has to append to the content of the first file. pls help me out Thanks |
|
Hi there, im new to c# and have been trying to create a calculator without a switch statement, using the operator 'op' as a variable, but i cannot get it to work, here is my current code: [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; … |
|
hi, I want to pass textbox text from one form to another using Property get and set. I have done it successfully on click event and then when popup window opens (or form2 opens) i get the value after initialization... But i want to learn how to do it with … |
|
how to do this? I only know how to set the error [CODE]errorprovider.seterror(textbox, "message);[/CODE] remove the error [CODE]error.provider.seterror(textbox, "");[/CODE] But instead of just removing the error, I want to display something like a check mark. |
|
hi please i want to use mouse move event in windows form to get mouse coordinates to show it in the form.and using this coordinates use the events mouse up and mouse down to draw a line . thanks |
|
Hello friends As I am a beginner of C# in .NET , I got stuck in this program This program is about displaying prime numbers between the range of o and the number you entered. Its running properly.But the output is not correct. Here is my coding [CODE]using System; using … |
|
Hi All, I am quite stuck in an operation where I have to calculate a sum using circular reference. Though in Excel , it's quite easy (or already managed by excel itself) to use circular reference but I am not sure how to implement this thing in C#. The problem … |
|
Hi I am new to C#. I have to enable my text box whn the check box is checked. It would be very helpful if i can get the code for this. |
|
Does anyone know how to close a file? I saved an image... then when i try and save the image to the same filename.. or delete the file after i saved it... i get an error which states that the file is being used by another process. Has anyone come … |
|
My .Net Code [code=c] # connDO.Open(); # SqlCommand comm = new SqlCommand("DOrders.dbo.p_Update", connDO); # comm.CommandType = CommandType.StoredProcedure; # daDirectOrders.UpdateCommand = comm; # # comm.Parameters.Add("@UOrderNumber", SqlDbType.Int, 32, uOrderNumber.ColumnName); # comm.Parameters.Add("@ConfirmationCode", SqlDbType.VarChar, 50, confirmationCode.ColumnName); # comm.Parameters["@ConfirmationCode"].SourceVersion = DataRowVersion.Original; # comm.Parameters.Add("@Carrier", SqlDbType.VarChar, 50, doCarrier.ColumnName); # comm.Parameters.Add("@Tracking", SqlDbType.VarChar, 50, doTracking.ColumnName); # comm.Parameters.Add("@OrderID", SqlDbType.Int, 32, … |