|
It's almost as if the federal government had a hand in the implementation... It's no wonder the ObamaCare web site is so f*cked up.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
John Simmons - developing bipolar checkboxes since 1989
|
|
|
|
|
|
Don't Microsoft checkboxes have three values? 'true', 'false', and 'true,false'? Maybe thats only windows forms.
Jack of all trades, master of none, though often times better than master of one.
|
|
|
|
|
Did I miss the announcement that they started using QBits in .Net? I guess they want to be ready for the quantum computer revolution.
if (Object.DividedByZero == true) { Universe.Implode(); }
|
|
|
|
|
The only two return values I've seen in MVC are "false", and "true,false". How other bastardized Microsoft frameworks handle it are not applicable.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
WPF checkboxes have an IsChecked property that can be either false , true , or null .
When you want to check if the checkbox is really checked, you have to:
if (checkbox.IsChecked == true)
{
...
} Butt-fugly.
Software Zen: delete this;
|
|
|
|
|
Not to get too much into a programming discussion, this is the lounge, but you can also write it this way
if (checkbox?.IsChecked : false)
{
}
This way, if it IsChecked is null, it's still false.
Leave it to Microsoft to create a system where nothing is something and you still can't divide by zero.
if (Object.DividedByZero == true) { Universe.Implode(); }
|
|
|
|
|
I use WPF pretty much every day. It falls solidly into the category of "other bastardized Microsoft frameworks".
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I disagree with your word 'bastardized'. That implies they got WPF from someone else, and then screwed it up. I think WPF is all their own. The term "sonofabitching" works in its place.
Software Zen: delete this;
|
|
|
|
|
As far as I know, it has (almost) nothing to do with MVC nor Microsoft. This is the data send by the form on the HTML page.
If instead of accessing raw values, you would let MVC load the values in a model, then the framework would handle that kind of stuff automatically.
If you want to work at low level, then you have to understand the subtilities...
Philippe Mori
|
|
|
|
|
Does it LOOK like I don't understand the "subtleties"? Returning "true,false" to indicate that a checkedbox is checked isn't a subtlety, it's f*cked up, or if you're too sensitive to call it what it really is (or you're just playing around, and not working on a real project), it's quirky.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Nothing to do with MVC...With HTML checkbox value is absolutely meaningless, you should check the 'checked' attribute...
If you want to use MVC, use the helpers - they resolves the anomalies of HTML...
If you want to use HTML directly...read about it...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
I am using the helpers, and this has NOTHING to do with whether I'm using them or not. I'm using the standard method for retrieving the checked status from within a view. REGARDLESS of all of that, "true,false" as a return value is severely f*cked up.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
It's quite weird, yes, but not an MVC or .NET specific behavior. It'd be the same if you used Ruby or JavaScript. If you use MVC's built-in model binding, they abstract this away from the coder, if not, if you really want to access it via the Form object - a recommended approach is to use GetValues(name)[0].
|
|
|
|
|
Did I say it was the fault of .Net or MVC?
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
It's called a "Microsoft Boolean"
It has as many values as they like, and there's nothing you can do to stop them changing it to become even more useless
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Which one of you liberal pussies marked my original message as spam?
Was it because I said "F*CK" instead of that gay-ass replacement phrase "elephant"?
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Hello all,
So in our company we have a very old software that works on a Windows XP virtual machine.
Yesterday the computer where it run (windows 7) upgraded silently the Microsoft Security Essentials (in the W7) and now the software that should run in the XP virtual machine can't start.
If I disable completely the Microsoft Security Essentials AV the old software runs properly.
The person in front of that computer is not a computer expert and therefore I don't want to leave that computer without any antivirus solution.
Have you faced something like that? which kind of exceptions on which free (please) antivirus should I use?
I've tried to install the Bitdefender free and I can't set exceptions and it is not working so it is not a good option, AVG allow me to set exceptions which I did by adding the VMware player exe, the VMware software folder and the VM folder into exceptions with the same result.
As always thank you in advance.
|
|
|
|
|
I'm using Avira (free). It seems like you can set exceptions, although I haven't needed to do so. Click[^]
|
|
|
|
|
Did you tried to exclude the executable (if located on the host) or the VM disk image in MSE?
I'm always excluding VM files (like VHD, VMCX, VSV) from Virus scans for performance reasons. If necessary, the OS in the VM must have it's own protection.
|
|
|
|
|
I see Security Essentails does have the ability to add exclusions? Click[^]
I still think Avira is a better AV
|
|
|
|
|
Set an exception, as others have mentioned already. This "should" work for you, as it has solved similar issues for us in the past.
BTW, any AV software worth its salt, will allow you to set folder and file level exceptions (whitelist).
|
|
|
|
|
The free versions of some (like Bitdefender) don't allow you to, for 'ease of use'. But actually it's so that you need to purchase the full version.
|
|
|
|
|
Don't know why you would use the "free version" of anything, if it is for your business or company, if it doesn't give you what you need.
|
|
|
|