
Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.
Have you ever had a problem printing lines in color from VB6 (SP4)? The following code works correctly on a PictureBox, but prints black on the Printer (HP LaserJet and
riting?and maintaining?portable code is as much an art as it is the holy grail of many software companies. If your firm’s success is based on a key algorithm for mobile
rogramming is not only remembering Java classes or the numerous utilities that appear almost every day. It is also the ideas in Donald E. Knuth’s “The Art of Computer Programming”
ne of the classic problems with database applications is refreshing stale data. Imagine a typical e-commerce site with products and categories. A vendor’s product list most likely does not change
he phrase AJAX is getting all the attention lately. By now, you should already be familiar with the term, but for those of you still in the dark, AJAX represents
early every .NET application needs to handle data that may reside in a wide range of data sources, from relational databases, to XML, to in-memory or disk-persisted objects. Although .NET
nterprise software products always require custom integration work at the customer site, and upgrades are nearly impossible when customers have to modify the core product’s configuration to introduce their customizations.
isual Studio Tools for Office (VSTO) is an add-on to Visual Studio 2005 that gives developers much more direct IDE support and easier access to the rich programming model provided
ou’d have to be developing web pages on another planet not to have heard the buzz about AJAX (asynchronous Java and XML). Judiciously employed, AJAX calls can enhance the usability
The Thread.stop() method is unsafe and thus deprecated. If the thread being stopped was modifying common data, that common data remains in an inconsistent state. A better way would be
For better handling of resource leaks, try “marking” the allocation with ancillary information: #include #include #include #include typedef void FDEL(void* p, size_t size);typedef FDEL* PFDEL;class A{ int a; static void
To prevent an IP from connecting with your server, simply put this code into your form code area and replace the IP with the one you want to prevent: Private
ith the release of Visual Studio 2005 Team Edition last year and Team Foundation Server in March of this year, Microsoft delivered arguably one of the largest functional upgrades to
ata is the blood in your system; it sits in its comfortable home of a database, and camps out in the tent of XML, but it deserves to be worked
f you’ve been working to customize SharePoint, you’ve probably at least heard the term “CAML,” which stands for Collaborative Application Markup Language. CAML is the XML-based language that Microsoft uses
any .NET developers, accustomed to Microsoft’s Windows-only development tools’ capabilities, are quite surprised when they learn that .NET is platform-independent. But it’s true. You can compile and execute .NET assemblies
ne of the new namespaces in version 2.0 of the .NET Framework is System.IO.Compression. This new namespace contains two classes for data compression: DeflateStream and GZipStream. Both compression classes support
odern computer hardware and powerful graphics cards, now found in even ‘budget’ systems, support a new level of rapid rendering of more high-level descriptions of objects and dynamic response to
nit testing, a critical part of the software development process, involves individually testing each unit of code to make sure that it works correctly on its own. Performed at different
In this example, your XML content is assumed to be ready and well formatted. To be compatible with a GridView, the XML document has to have a database-like format (table
There are times that you may need to fetch the last couple of records that you’ve inserted. The exact number can vary. Oracle provides an easy way of retrieving these
Pointers may be used as iterators when using the standard library algorithms found in . Remember that the start iterator should point to the first element, while the finish iterator
This tip creates a StAX filter using the javax.xml.stream.StreamFilter interface. This filter accepts only characters, but you can also set the filter XML to retrieve only elements, attributes, or both:
indows Communication Foundation (WCF) provides a runtime environment for your services, enabling you to expose CLR types as services and to consume services as CLR types. Although in theory you
icrosoft released SharePoint to the market back in 2000/2001 and, in doing so, began a shift in perception about how Web applications are built. The change was slow at first
y now you likely have worked with, or at least experimented with, cross-cutting concerns, a core element of Aspect-Oriented Programming (AOP). AOP is an excellent and very compelling approach for
Suppose table A is very large and you want to create table B using create table… as select and want to speed up this activity. You can use the nologging
When you need the contents of an array for processing, you no longer have to write loops to copy the required contents from the main to the sub-array. Java has
DevX Tech Tip “Performance of typeid vs. dynamic_cast” specifies that it is advised to use typeid in place of dynamic_cast in deeply-rooted class hierarchies to achieve better performance. However, keep
Boston?At Microsoft’s Tech?Ed 2006 conference in Boston this week the pre-conference keynote on Sunday night discussed little of importance to developers?which was a good thing, as many attendees didn’t arrive








