|
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Ken Getz
|
Rating:
|
|

Events are an integral part of your coding arsenal, whether you're using Visual Basic® 6.0, Visual Basic .NET 2002, Visual Basic .NET 2003, or Visual Basic 2005. Forms and controls raise events, and your code handles those events. The first application that you wrote in Visual Basic most likely involved placing a button on a form, handling the click event, and displaying some text in an alert box when you clicked the button at run time. What could be easier?...
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Yaniv Pessach
|
Rating:
|
|

Hyper-threading technology improves CPU efficiency by allowing the processor to execute two instruction streams concurrently. This feature, found on newer Intel Pentium 4 processors, can typically improve the performance of apps by 20 to 30 percent, boosting some apps by up to 40 percent. Unfortunately, other applications see no performance benefit, and a few can experience significant performance degradation (I've seen application degradation of as much as 20 percent), especially when violating...
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Liu Tang and Paul Bradley
|
Rating:
|
|

Remember the day you got your first big box of crayons—that colossal, multitiered package with an extraordinary number of colors? You needed every color to express your ideas more fully, down to every nuanced detail. For client-side developers, Analysis Management Objects (AMO) for SQL Server™ 2005 is a lot like that big box of crayons. Until now, lack of basic tools has left many developers unable put their own ideas into action and to answer fundamental data mining questions. Developers have f...
|
|
|
|
Total Hits: 1 | Today: 1
|
Author: Paul DiLascia
|
Rating:
|
|

I'm happy to explain how I wrote DumpEnum and I'll even give you the code. In the process I'll answer the second question, too. But first let me explain for other readers just what DumpEnum does. One of the things I had to do in my April 2005 article was write a C++ enum to exactly match the .NET Framework type RegexOptions. RegexOptions is an enumerated (enum) type you can use with methods like Regex::Match and Replace to control matching. For example, you can call Regex::Match with RegexOption...
|
|
|
|
Total Hits: 1 | Today: 1
|
Author: Stephen Toub
|
Rating:
|
|

I'm trying to use a method that accepts a Stream as a parameter. However, the data I want to pass to that method is currently stored only as a string. Can you tell me what is the best way for me to pass the string to this method? There's not necessarily a best way, but there are a few solutions. And as with many scenarios in which you're provided with multiple approaches, you need to weigh space demands against time demands to choose the most appropriate solution. For example, is the string in q...
|
|
|
|
Total Hits: 1 | Today: 1
|
Author: John Robbins
|
Rating:
|
|

By now, you've certainly heard about the big changes coming in Visual Studio® 2005, but when it's time to move your code over it will be the small things that trip you up. In this column, I want to cover two of the many excellent changes that you could easily overlook as you make the move to the new runtime and development tools. Don't get me wrong. I don't mean to make the transition sound dangerous. The truth is, your ported code will probably work just great with nothing more than a recompile...
|
|
|
|
Total Hits: 1 | Today: 1
|
Author: Dino Esposito
|
Rating:
|
|

In the past, I've covered some core aspects of the interaction between DHTML behaviors, the browser, and ASP.NET runtime (see Cutting Edge: Extend the ASP.NET DataGrid with Client-side Behaviors and Cutting Edge: Moving DataGrid Rows Up and Down). But I haven't covered the intricacies of DHTML behaviors and advanced client-side scripting so I'll do that here. I'll show how to make ASP.NET code and the Internet Explorer DHTML Document Object Model (DOM) work together and discuss how you set up th...
|
|
|
|
Total Hits: 1 | Today: 1
|
Author: Duncan Mackenzie
|
Rating:
|
|

Hansel and Gretel had the right idea when "they followed the pebbles that glistened there like newly minted coins, showing them the way." The deeper you get into the forest or into your data, the more likely you are going to need help to find your way back out again. On the MSDN® Web site, and many others, the way out is represented by a navigational element in the header of the page that shows your current position in the site. Clicking on any of the links to the left of your current position t...
|
|
|
|
Total Hits: 1 | Today: 1
|
Author: Matt Adamson
|
Rating:
|
|

Errors in code are inevitable. No matter how much testing you have done, when your application is deployed in a production environment, errors will occur. These problems can manifest as standard exceptions, as hangs where the CPU is being used 100 percent of the time, as deadlocks, where a couple of threads are locked and will never release the other's resources, and as crashes, where the application dies a silent death....
|
|
|
|
Total Hits: 1 | Today: 1
|
Author: Rob Pierry
|
Rating:
|
|

Recently, Microsoft has placed increasing emphasis on design patterns. If you are unfamiliar with patterns, suddenly being inundated with new terms and foreign-looking UML diagrams can be overwhelming. This emphasis on patterns, however, doesn't represent a shift in methodology so much as a change in vocabulary. The Microsoft® .NET Framework base class library (BCL) already makes extensive use of patterns, and you are probably familiar with the most common ones, even though you might not realize...
|
|
|
|
Total Hits: 0 | Today: 0
|
Author: Joe Binder
|
Rating:
|
|

The My namespace in Visual Basic® 2005 is designed to help you easily write compelling applications. Its task-based APIs, intuitive hierarchy, and application framework allow you to harness the power of the Microsoft® .NET Framework often with only a single line of code to complete a difficult task. Underlying the My namespace's APIs is a fully extensible architecture you can leverage to customize the behavior of My and to add new services to its hierarchy to adapt to specific application needs....
|
|
|
|
Total Hits: 0 | Today: 0
|
Author: Joel Pobar
|
Rating:
|
|

Using reflection efficiently is like haggling with an API. You have to pay to play and make some concessions. But it's worth it. Reflection in .NET is one of the most powerful features you can employ to achieve application extensibility. With reflection, you can load types, understand their members, make decisions about them, and execute, all within the safety of the managed runtime. But to use this power wisely, it's important to understand the associated costs and pitfalls....
|
|
|
|
|
|