Posts
 
Reputation
Joined
Last Seen
Ranked #241
Strength to Increase Rep
+10
Strength to Decrease Rep
-2
97% Quality Score
Upvotes Received
175
Posts with Upvotes
127
Upvoting Members
77
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
4
38 Commented Posts
21 Endorsements
Ranked #68
Ranked #228
~268.16K People Reached
About Me

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"…
Favorite Tags
Member Avatar for Mike Askew

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 …

Member Avatar for Shahzad111
17
3K
Member Avatar for LastMitch
Member Avatar for Mike Askew

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 …

Member Avatar for Carmelo_1
0
13K
Member Avatar for george4986

> 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 …

Member Avatar for salmankhalid
0
3K
Member Avatar for Mike Askew

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, …

Member Avatar for Teme64
0
2K
Member Avatar for Mike Askew

A man who has impacted generation's childhood's. A developer and CEO. Some of his developmental achievements are damn impressive. A sad day :(

Member Avatar for ShouldAt3
0
97
Member Avatar for altjen

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?

Member Avatar for altjen
0
489
Member Avatar for altjen
Member Avatar for Mike Askew

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?

Member Avatar for Mike Askew
0
111
Member Avatar for alaad
Member Avatar for savedlema

Can you not just restrict access to the folder holding your backups via user permissions on the OS?

Member Avatar for jwenting
0
324
Member Avatar for Mike Askew

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 …

0
88
Member Avatar for Mike Askew

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?

Member Avatar for Mike Askew
0
534
Member Avatar for Mike Askew

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 …

Member Avatar for Mike Askew
0
173
Member Avatar for Mike Askew

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 …

Member Avatar for Mike Askew
0
254
Member Avatar for Mike Askew

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 …

Member Avatar for Mike Askew
0
962
Member Avatar for vegaseat

> 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# :)

Member Avatar for vegaseat
11
9K
Member Avatar for Mike Askew

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 …

0
243
Member Avatar for Mike Askew

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 …

Member Avatar for Mike Askew
0
370
Member Avatar for Mike Askew

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 …

Member Avatar for Mike Askew
0
304
Member Avatar for Mike Askew

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 …

Member Avatar for Mike Askew
0
199
Member Avatar for R_1

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?

Member Avatar for humorousone
0
237
Member Avatar for Mike Askew

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 …

Member Avatar for Mike Askew
0
198
Member Avatar for Ketsuekiame
Member Avatar for Mike Askew

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 …

1
304
Member Avatar for ddanbe

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.

Member Avatar for kplcjl
0
382
Member Avatar for ddanbe

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.

Member Avatar for ddanbe
0
255
Member Avatar for Sathiyaraja

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.

Member Avatar for Sathiyaraja
0
4K
Member Avatar for Mike Askew

... 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 …

Member Avatar for Mike Askew
0
138
Member Avatar for flebber

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.

Member Avatar for Mike Askew
0
347