Posts
 
Reputation
Joined
Last Seen
Ranked #240
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 #73
Ranked #228
~265.09K 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

Hi I watch a few movies the past weekend, just to relaxed and not think about work. I saw a few movies. I saw: **The Raid Redemption** - The best action movie this year! It's a **Indonesian** action film. The director is **Welsh** but he speaks **Indonesian** and **English** and …

Member Avatar for LoanHensley
6
6K
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 Using a fingerprint Scanner for attendance posting. My aim is to copy the attendance log files from the fingerprint reader machine.the machine is connected to one of the lan ports on the same network.I know the ip address of the device and port no,But dont know how to …

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
96
Member Avatar for altjen

Recently Im trying to make a software who can detect multiple faces in the some time. but not only faces. Eyes, Nose, mouth. saw some vids in youtube but they show no code or how to do it, more the finished project. What Im currently trying to do is, the …

Member Avatar for altjen
0
478
Member Avatar for altjen

Im using NetBeans to create a data entry software for a friend. when I save a data, it create a folder in specified location, and the name of that folder will be different from each other for example. ![1.JPG](/attachments/large/4/e1b8ccbadaaab2f4ef21954288e53b40.JPG "align-center") it pick the Date,Invoice Number, Subject name, and create the …

Member Avatar for altjen
0
269
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
107
Member Avatar for alaad

**Hello every body,** I working an application in C# to process a log file that has a size 1 terabytes. I have to read the file row by row and insert each row in the DataBase to search in it, and I use a stored procedure. But I have a …

Member Avatar for Suzie999
0
292
Member Avatar for savedlema

Hi all! I have developed my application in VB.NET that uses a mysql database. From my application, I can make mysql backups and restore them. When i take a backup, the result is a .sql file which is saved somewhere. But as usual, one can open that sql file with …

Member Avatar for jwenting
0
322
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
85
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
533
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
171
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
251
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
958
Member Avatar for vegaseat

The strange title comes from a skit by Benny Hill, where he tells his wife all the facts she shouldn't know, but she always answers "I know! I know!" Anyway, this thread is suppose to be a collection of strange facts. Let's have fun! Here are a few facts to …

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
240
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
355
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
297
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
196
Member Avatar for R_1

//The purpose of the program is to simulate dialing a phone number and having it convert to a numeric format with a hyphen. //We're not allowed to set the characters to a string or to use arrays, I'm having trouble entering an if statement that would return -1 if I …

Member Avatar for humorousone
0
233
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
192
Member Avatar for Ketsuekiame

## Why am I Here? ## This question is not as philosophical as it sounds, but it's one worth answering. I am here because I want to help people understand programming and help make us all better programmers. Sometimes I have questions to ask, sometimes I have answers to give. …

Member Avatar for overwraith
15
1K
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
298
Member Avatar for ddanbe

I'm a great fan of extensions in C#. See also this previous [snippet](https://www.daniweb.com/software-development/csharp/code/467292/squaring-an-integer-with-extensions). Extensions are really simple to use. Start with adding a static class containing static methods. Note the special use of the keyword `this` in the Times extension method. The next code snip is how you could use …

Member Avatar for kplcjl
0
381
Member Avatar for ddanbe

I have this code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace RegexTest { class Program { static void Main(string[] args) { string str = "The quick brown fox."; string pat = "fox"; Regex rgx = new Regex(pat, RegexOptions.IgnoreCase); Match matches = rgx.Match(str); Console.ReadKey(); } } } …

Member Avatar for ddanbe
0
250
Member Avatar for Sathiyaraja

Hi All, Im new to xsl., In my implementation im converting a language code to a language value by lookup from a xml file. Input: <XML> <Name>shades</Name> <Languagecode>555</Languagecode> <XML> output: <XML> <Name>shades</Name> <Languagecode>hindi</Languagecode> <XML> Lookup XML table:(external file) <Languages> <Languagecode>555</Languagecode><Language>hindi</Language> <Languagecode>556</Languagecode><Language>tamil</Language> <Languagecode>558</Languagecode><Language>telugu</Language> <Languagecode>559</Languagecode><Language>malayalam</Language> <Languagecode>557</Languagecode><Language>bengali</Language> <Languagecode>554</Languagecode><Language>punjabi</Language> </Languages> I tried with Key …

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
135
Member Avatar for flebber

Hi What would be a good recommendation for a practical resources on using xml, xpath and xquery? By practical I mean. Accessing values, storing files, creating set queries on xml to create a feed to push data to other applications (eg ipython, rstudio, the Web) maintaining data integrity, and transformng …

Member Avatar for Mike Askew
0
343