- Strength to Increase Rep
- +10
- Strength to Decrease Rep
- -2
- Upvotes Received
- 175
- Posts with Upvotes
- 127
- Upvoting Members
- 77
- Downvotes Received
- 4
- Posts with Downvotes
- 4
- Downvoting Members
- 4
UK, Software Engineer C#/Java
- Interests
- Coding, Gaming, Fitness, Cars
- PC Specs
- Intel i7 2700k @ 4.0Ghz - 16GB RAM - HD6970 OC Lightning 2GB - 32" 1920*1080 Monitor + 27"…
461 Posted Topics
There has been a noticeable increase in people asking where to start C# recently. So I have been across a couple of forums and pulled together a list of some useful links and resources. # Web Tutorials # [Home and Learn Tutorial](http://www.homeandlearn.co.uk/csharp/csharp.html) [CodeProject Tutorial P1](http://www.codeproject.com/Articles/219869/Object-Oriented-Programming-in-Csharp-NET) [CodeProject Tutorial P2](http://www.codeproject.com/Articles/222295/Object-Oriented-Programming-in-Csharp-NET-Part-2) [CodeProject Tutorial … | |
![]() | Re: The Hobbit - Desolation Of Smaug. Would recommend. |
I am currently creating a product lookup system for a project of mine, however from reading around it has come to my attention that an OLEDB connection will not handle the SQL query below as it will not handle more than a simple "SELECT, FROM". Table: tbl_ProductInformation Field: Product_Name CurrentEntry … | |
Re: > I am not using the sdk provided by the vendor There is your first issue. You will need to use it and write seperate classes depending on which scanner is plugged in. You would be better off developing for one specific type though as even by avoiding using the … | |
Howdy I have a timespan that contain in excess of 24 hours. For the example lets use a value of 1 day 6 hours and 32 minutes. I would like to get this into a string that displays "30:32". Have so far tried something along the lines of `string.Format("{0}:{1}", TimeSpan.TotalHours, … | |
A man who has impacted generation's childhood's. A developer and CEO. Some of his developmental achievements are damn impressive. A sad day :( | |
Re: There are multiple topics on this in both languages you have posted this under on codeproject which I found in about 10 seconds using Google. Why do you want to use OpenCV over some of the other libraries available? | |
Re: I'm not sure what you are trying to do? | |
Using code from StackOverflow: HttpWebRequest webRequest; void StartWebRequest() { webRequest.BeginGetResponse(new AsyncCallback(FinishWebRequest), null); } void FinishWebRequest(IAsyncResult result) { webRequest.EndGetResponse(result); } How do you access the response to the request? | |
Re: As Suzie said, seeing the code would help here. | |
Re: Can you not just restrict access to the folder holding your backups via user permissions on the OS? | |
Hi So I have a silverlight 5 front end and some PDF generating code that is not silverlight compatible and so needs to sit server side and is called via WCF. I am struggling to work out how to return the PDF data back to the silverlight application and effectively … | |
I can't figure out why but at the minute I have no instant emails about thread updates etc. Have I got any settings wrong or is something else amiss under the hood? | |
Ok time for the 2nd dumb question of the day that I should probably already know the answer too.. I have `string.Format(" {0, -22} | {1, 5} of {2, -5} | {3, 5}% | ` where `{3}` is a double that is being used for a percentage. The longest allowed … | |
So I have recently come across `string.Format("{0, x}", "Word")` for aligning strings, with demonstration code that works fine in the CMD. Does this also function correctly when pumping text to a label? I am finding that it does not behave as expected and instead misaligns the text. Using an example … | |
I've inherited some code utilising the bootstrap framework. I'm currently seeing some odd behaviour where no matter what date was last picked, the date picker always seems to open showing the month of July. Is there any particular places in the code I should be looking to see if anything … | |
Re: > There is only one station on the London Underground that does not have any letters from the Word Mackerel in it. I'll give you a few hours to find it.... Took me 15 mins and a bit of C# :) | |
Howdy So I have a set of data coming back from a process with five different pieces of data per entry in the set. Are there any fancy ways you can generate some kind of look-a-like report on the fly in WCF, else what would be the best way to … | |
I have the following $subUsername = trim($_POST["user"]); $sql = "SELECT userID, username, password FROM user WHERE username = ':user')"; $q = $conn->prepare($sql); $q->bindParam(':user', $subUsername); $q->execute(); $result = $q->fetch(PDO::FETCHASSOC); print_r($result); echo "</p>"; print_r($subUsername); echo "</p>"; print_r($subPassword); However `$result` is always just an empty array, if I run the SQL on the … | |
Me again... So now I am confused... I have a form: <form action="addanimal_submit.php" method="post" enctype="multipart/form-data" style="padding-left:10px"> <p>Name: <input type="text" name="name"></p> <p>Date of Birth: <input type="text" name="dateofbirth"></p> <p>Description: <input type="text" name="description"></p> <p>Available For Adoption? <select type="text" name="available"> <option value="1" selected>Yes</option> <option value="0">No</option> </select> </p> <p>Image Of Animal:</p> <p><input type="file" name="fileToUpload"></p> <input … | |
So I currently have a listbox which dynamically generates its members from the database. It has name and id set to "availablePets". When one of the items in the list is clicked I want to populate some other fields on the screen by quering the database for the rest of … | |
Re: Why don't you allow the user to enter the entire number in one go, and then convert it to a `Char[]` You can then look at the `Char[].Length` to see how many they have entered? ![]() | |
Think I am going mad here.. So I have a working website setup in IIS. This was all configured by a previous developer. We have a set of reports that you can browse to by going to localhost/Reports/ReportName, the underlying directory structure in IIS is actually Reports/Views/ReportName/index.cshtml. I have added … | |
Re: One of the best threads on here in a while. | |
Hi All We are having an issue where a WSDL is loading another WSDL into it when we call it. This call takes a while on the first call which normally causes failures across the application during testing. One option we are looking into is pre-caching the WSDL in IIS … | |
Re: I like it! But from a readability perspective in my opinion the for-loop is better. Can't skim read over the given extension example and know what it does too easily. | |
Re: Works fine for me in VS2013 Ultimate running .Net 4.5 console application. I can access the `matches` variable and it contains fox as expected... odd. | |
Re: Hi Sorry for the delayed reply. Is there the option to edit the layout of your Lookup file to start with? It could be improved in terms of how you structure it for clarity of querying. | |
... but I can't for the life of me figure it out. I have an object that comes from an application which has a Status property, and within that property is Name and Key. So I can do things like `object.Status.Name = x`. I have created another of these objects … | |
Re: This would mainly depend on which language you intend to use. A programming language will be the main driver for most of the above tasks and therefore each language will have its own ways of doing them. | |
Re: I thought I had figured it out! and then I realised they were grouped off att2. It has been a couple of years since I have used XSLT in anger and can't remember how to do it off the top of my head now :( | |
Re: Where does server name come from in that file? | |
![]() | |
Re: Trying to decide if the typos are purposely there AD! Wish granted - You try to swim all your medals on to show off and drown. I wish that teleportation accurate to 1 metre existed, would save me a two hour commute! | |
![]() | Re: You have posted a large block of code. What is your actual issue? Most on the forum don't have the time to try and guess the issue themselves. |
Re: Do you have the skills to put together a small application in any language to take the file and create what you want from it? Else if it is only 5-10 lines copy and pasting where needed isn't too difficult. | |
So I am currently working with custom silverlight extensions for a SAP application. The extension kicks off a an async WCF request and waits for the response. During which time I try the following: waitWindow = new RadWindow(); waitWindow.WindowStartupLocation = Telerik.Windows.Controls.WindowStartupLocation.CenterScreen; waitWindow.BorderThickness = new Thickness(0); waitWindow.Content = new View.WaitWindowTest(); waitWindow.ShowDialog(); … | |
Re: Where do you want the tab? Do you have an example of the before and after? | |
Re: What is the value of `Book.TxtFileName`at present? Just need to make sure it is a filepath ie `C:\Desktop\nBook.txt` and it should be fine to save as a `.txt` file | |
So I am currently working in ASP.Net and a bit stuck. I obtain the full html that I wish to render into the tab from a WSDL request and then need to find a way to load a new tab in the browser and display that information. I have currently … | |
Has there been a change behind the scenes to how the posting rank is calculated, or have I just reverted to being a Junior Poster with 900+ posts for no reason? As know there are people at hjgher ranks with less posts. | |
Doing some revision for a university exam being sat at the end of the week. Got my head around most of the BigO stuff I think apart from calculating the BigO equations like the below. T(n) = 1000040 T(n) = 45n^2 + 3n/1000 + 18(log n) Could anyone explain the … | |
IQueryable<CustomObject> obj = (from table in db.TableName orderby table.ObjectId descending select new CustomObject { //Properties mapped here }).Skip((pageNumber - 1) * pageSize).Take(pageSize); The above is a stripped down version of the query I am running. It is missing about 10 joins and then just the bulk mapping of the object, … | |
Quite rare to see me post in the Java forum but have been picking it up as part of a long-distance university course I am doing. I am currently trying to read in an ASCII coded .txt file and output it but am seeing some funny characters showing up. The … | |
Other half's laptop just trying to clean it up a bit as very slow. Do these logs look okay? Have deleted all the stuff flagged up in the malware scans but they just seemed to be some social search engine rubbish. Any pointers appreciated in advance, Mike | |
Re: What code have you got so far for this? What is the data etc? | |
Re: *Editing Comment* | |
Re: Can't seem to replicate your issue using the following test code: public class Temp { public string Name; public string HotKey; public string Timer; public string Message; } class Program { static void Main(string[] args) { Temp TempClass = new Temp(); string FilePath = @"D:\Users\MASKEW\Desktop\Test.xml"; TempClass.Name = "Name"; TempClass.HotKey = … | |
Re: I am going to retire from creating my entry for this competition. I feel the API was designed mainly with web developers in mind and there are arguments on the net regarding avoiding OAuth, [for example](http://insanecoding.blogspot.co.uk/2013/03/oauth-great-way-to-cripple-your-api.html), and it also is just nasty for native application development. Where people like Ketsuekiame … |
The End.