Selasa, 08 Maret 2011
חיפוש עם תווים בעייתיים (2)
לפני קרוב לשנה כתבתי על שימוש באופרטור Like תוך שימוש בתווים בעייתיים. הצעתי פתרון כללי העושה שימוש ב-Replace, ופתרון ספציפי לתו הג'וקר %. גם הסוגריים המרובעים יוצרים בעיות מכיוון שמשתמשים בהם לתחימת התווים הבעייתיים עצמם.. מה עושים? הפתרון הוא להקיף את הסוגר המרובע הפותח בסוגריים מרובעים []]. את הסוגר המסיים יש להשאיר כמו שהוא.למשל (ניצור טבלה זמנית ונכניס לתוכה מחרוזת אחת לנסיון)-Create Table
Internet Explorer 9 Security Part 1: Enhanced Memory Protections
Internet Explorer offers layered defenses to protect against and mitigate each of three major classes of threats that browser users face when surfing the sometimes-hostile Web: Technological attacks designed to exploit the browser or operating systemWeb attacks designed to exploit vulnerabilities in Web sitesSocial engineering attacks against the user’s trust Today’s post covers how browsers’
Change the Default Playback Sound Device
Project DescriptionChangePlaybackDevice makes it easier for personal user to change the default playback sound device. You'll no longer have to change the default playback sound device by hand. It's developed in C#.Read more: Codeproject Posted via email from Jasper-net
MVVM For Silverlight/WP7- the Refcard...
OverviewAnyone interested in developing a Silverlight application for the Windows Phone should get a copy of this DZone Refcard on the MVVM Design Pattern. Included within is everything from an explanation of the MVVM Design Pattern to some examples of MVVM Project Templates. Read more: Greg's Cool [Insert Clever Name] of the DayRead more: The MVVM Design Pattern: A Formula for Elegant,
Disassemble code in Visual Studio instead of ILDSAM disassembler
Introduction:Most of the times when we want to see the disassembled code we will go for the ILDASM tool and give the mapped path of the dll and see the disassembled code in the tool. Now we have an option for that in Visual Studio itself. Let's see in this article on how to do this step by step. Steps:Let's open a console application and make a small application and see how visual studio
Visual Studio 2010 SP1 Available March 8th for MSDN Subscribers, general availability March 10th
Visual Studio 2010 Service Pack 1 will be available tomorrow for download for MSDN Subscribers, and will be generally available for download on March 10th, 2011. While the Service Pack is mostly focused on improvements in response to feedback on Visual Studio 2010, one new feature I want to highlight is the integration of IIS Express into Visual Studio 2010. IIS Express, which was introduced with
Using a custom build of MVC 3
Disclaimer: running a custom build of MVC 3 is not recommended in most scenarios. Please run against the official MVC 3 bits unless you really cannot. Be aware that using custom builds will make it harder to use 3rd party libraries built against the official bits (you’ll need to rebuild those libraries). One nice thing about ASP.NET MVC is that you can get the full sources on CodePlex and compile
Using CUDA and Thrust with Visual Studio 2010
I was working on setting up some new CUDA projects as I’m doing some spiking (prototyping for the not so agile crowd) work to figure out how best to use CUDA 4.0. I’ve turned it in to a quick tutorial on how to write a simple application that allows you to use both CUDA and the latest C++0x features in Visual Studio 2010. Because the current CUDA SDK requires projects to compile using the v90
Behaviors, Triggers and Actions in Silverlight And WPF Made Simple – Part 2 – Triggers
Triggers and Actions – Scratching the SurfaceA Trigger can invoke a set of Actions, when it is fired. For example, you can nest few actions (like PropertyChangeAction to change a property of an element) in an EventTrigger, so that those actions will get executed when a specific Event occurs. You can attach more than one trigger to an element. If you have some WPF background, you may quickly
InvalidateRequerySuggested on GUI Thread
I've been having issues where buttons weren't getting enabled on my WPF application, only by clicking the form would they work.I found that I need to force the refresh using CommandManager.InvalidateRequerySuggested but that didn't work, the reason being I wasn't on the GUI Thread, I was on another thread, so here is my little helper class to do it. public static void
Langganan:
Postingan (Atom)