Click here to Skip to main content

Comments by Steve Wellens (Top 29 by date)

Steve Wellens - 26 Mar '13 - 15:47 View
Even if it was a double (and it's not) comparing doubles requires tolerance handling because 1.000000000000 does not equal 1.00000000000001 (even though they are practically the same number).
Steve Wellens - 18 Feb '12 - 0:07 View
"Cute" code is a bitch to maintain. Use a temporary variable.
Steve Wellens - 6 Feb '12 - 20:59 View
If the web.config is used in a working environment, it is unlikely the problem is there. How are you setting the IIS timeout? The Asp.net Group, Session State page?
Steve Wellens - 1 Feb '12 - 18:03 View
Why would you want to do something so annoying to the user?
Steve Wellens - 4 Jan '12 - 18:39 View
Did you add the dll or did you add a 'reference' to the assembly?
Steve Wellens - 4 Jan '12 - 18:37 View
Why?
Steve Wellens - 4 Jan '12 - 16:08 View
That's funny...but keep your day job. I'm not a big fan of the LINQ language but I sure like the LINQ extensions: http://www.codeproject.com/Articles/203624/Learning-to-Like-LINQ-or-Loving-the-LINQ-Loquaciou What the heck? I can't format a link? Rats.
Steve Wellens - 22 Nov '11 - 7:33 View
Note: The border causes scroll bars to appear. You can use 99 percent and set the body to be the same color as the div to make it look correct.
Steve Wellens - 17 Nov '11 - 13:56 View
For a good explanation of what is happening... http://bobpowell.net/lockingbits.htm
Steve Wellens - 16 Nov '11 - 23:25 View
Add the code you tried and the exact error message.
Steve Wellens - 25 Oct '11 - 0:02 View
Reason for my vote of 1 There is no tip here.
Steve Wellens - 17 Jun '11 - 8:33 View
I was being facetious. Hover your mouse over this: var MyVariable = GetData(); Do you get any intellisense? No. Because browsers do not have intellisense.
Steve Wellens - 14 Jun '11 - 7:57 View
>> We got intellisense that can tell us >> how to handle the return value. Really? What is the type of the MyVariable here: var MyVariable = GetData(); Is intellisense helping you?
Steve Wellens - 4 Apr '11 - 23:45 View
I couldn't tell from the context that it was all in the same post back...so your conclusion is correct: It shouldn't be an issue.
Steve Wellens - 30 Mar '11 - 15:11 View
Seems like you could extrude three points so you would have three lines. Then, put a surface between each two lines (a rectangle, four points, two per line).
Steve Wellens - 28 Mar '11 - 17:35 View
I hope that's true. Nevertheless, I'll be up all night worrying about it.
Steve Wellens - 28 Mar '11 - 17:14 View
catch { } Really? That's the equivalent of disconnecting the smoke alarms in your children's bedrooms or putting black tape over the idiot lights in your car. Not good. Bad. Really bad.
Steve Wellens - 27 Mar '11 - 11:42 View
Do you mean 3.8k on disk? Jpeg images are not compressed until they are saved. The size is dependent on the image content and compression level. A klunky, crude way would be to save two temporary images with a high and a low compression. Check their sizes and interpolate what the compression level should be.
Steve Wellens - 27 Mar '11 - 10:14 View
Those are user settings files as opposed to application settings (user settings are per user, application settings are application wide). However, when I do it I only get four files. Is it possible you have two applications and are putting the settings in one application but trying to read them out of the other application settings file?
Steve Wellens - 23 Mar '11 - 0:03 View
Follow the instructions in the error message but instead of the ASP.NET account, use the IUSR account or the IIS_IUSRS account.
Steve Wellens - 22 Mar '11 - 21:49 View
Try using the IUSR account. http://learn.iis.net/page.aspx/140/understanding-built-in-user-and-group-accounts-in-iis-7/ "Set file system permissions for the IUSR account by using Windows Explorer "
Steve Wellens - 15 Mar '11 - 10:59 View
http://msdn.microsoft.com/en-us/library/system.io.binarywriter.aspx
Steve Wellens - 12 Mar '11 - 18:18 View
"I want to develop application that can remotely sense any object..." Any object? Do you mean like a potato? You're going to have to elaborate.
Steve Wellens - 5 Mar '11 - 20:23 View
Actually, I considered the possibility it was a homework assignment. But I've never seen a programming assignment have an answer that simple. If it is homework, his teacher will probably reject the use of Linq and make him iterate the arrays.
Steve Wellens - 23 Feb '11 - 16:14 View
Where did you save it?
Steve Wellens - 6 Feb '11 - 9:13 View
There must be something else you are not mentioning. This works (with two form elements): <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <script type="text/javascript"> function Test() { document.JobOp.start.value = "New Text!!"; } </script> </head> <body> <form id="form1" runat="server"> <div> </div> </form> <form name="JobOp"> <input type="button" value="My Button" name="start" önclick="beginTest()" /> <input id="Button1" type="button" value="Change the other button" önclick="Test();"/> </form> </body> </html>
Steve Wellens - 5 Feb '11 - 23:28 View
It doesn't have to have runat="server" to work. (You can take that property out, think of the form as a named container)
Steve Wellens - 5 Feb '11 - 13:30 View
Just make sure your buffer has enough room. There's probable something a bit off with the TCHAR, Unicode, using SendMessageW (with the W) and the writing of the null terminator. It probably only happens when the string returned is larger than your buffer.
Steve Wellens - 5 Feb '11 - 0:01 View
When you WriteXml everything in the DataSet gets saved. All three of your tables. Is that what you want? You can also call WriteXml on a individual table. It is also possible you have somehow added extra data to the table and it is saving accurately.

Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid