
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.
To implement the GetTickCount API when porting code from Windows to Linux, use the following code: long getTickCount(){ tms tm; return times(&tm);}
To display the shortcut menu, you call ContextMenu.Show() method. Typically, you call this method if the right mouse button on a control or area of the form is clicked. The
Oftentimes, a query will return null values for some of the columns in a query. However, to display “null” as the value in the generated report isn’t a very effective
ultiple Active Result Sets (MARS) is a new feature of ADO.NET 2.0 that allows multiple queries or stored procedures to be performed on a single connection. The result of this
akarta Commons, the set of reusable classes that various Jakarta projects use, are available as separate components that you can use in your own Java projects. This final installment in
eb server logs are a powerful resource for extracting information about your Web sites and applications. When logging is enabled, Web servers log information about each request. By analyzing these
rogrammers developing financial, scientific, and numerical analysis applications often need to reinvent the wheel, implementing statistical functions for calculate mean, median, percentiles, and similar statistical data. This solution will show
OL Instant Messenger (AIM) is well known as one of the top four IM clients used today. Popular with both home users and businesses, AIM allows you to send instant
pparently, only a fraction of the people who live in Florida actually live in Florida. At least, that’s what the tax collector thinks, because if you actually do suffer through
am the host of “.NET Rocks!”, an Internet audio talk show for .NET developers online at www.dotnetrocks.com and msdn.microsoft.com/dotnetrocks. Together with my co-host Richard Campbell, we interview the movers and
oth Internet and intranet applications often require a custom store for user accounts and roles. ASP.NET 2.0 provides an out-of-the-box provider model as well as a SQL Sever database just
his last month has been quite tragic on a number of levels. Early September brought Hurricane Katrina which wreaked havoc on the citizens of Louisiana, Alabama, and Mississippi. Literally thousands
Suppose you have exisiting code written in Windows and you want to run it in Linux, but you want to keep the original API calls. One of those calls is
JavaScript often repeatedly accesses a certain object, for instance: In the above example, the object document.images is accessed multiple times, forcing the browser to dynamically look it up twice during
Sometimes, when you’re working with PL/SQL trigger code, you need to determine the type of modification operation that’s been performed on the ‘triggered’ table. You can do this using the
This tip implements a X509TrustManager that asks clients before it rejects a certificate chain. The keystore used is just an example? you can adapt it for any other keystore: import
nternationalizing (i18n) Web applications has become a prerequisite for most Web development projects. Whether a Web site has a worldwide audience who speak different languages or a local audience in
he XML format has become a de facto standard in contemporary IT work. Amongst all the XML-related technology advances, Java-XML binding and serialization has especially been of use to me
here is nothing more reassuring for the software engineer than having a set of executable unit tests that exercise all the aspects of the component under test. Traditionally, testing J2EE
pen source software is gaining increased attention and is clearly making its mark in the IT portfolio of many small and medium businesses. The increased usage of Linux, the availability
Creating Web services in C# is very easy. All you have to do is extend the WebService class and identify which methods are Web service methods using the WebMethod attribute.
Open a window in VS.NET. Go to Project?>Visio UML?>Reverse Engineer. This automatically shows you the class diagrams with perfect relationships. Note: This tip will work with VS.NET Version 1.0.0 and
lthough the EJB 3.0 specification has yet to be released, it is already generating much interest in the software development community by both proponents and opponents alike. All recognize the
In MS Front Page 2000, while entering data in a table cell under Normal TAB, typing the following automatically adds tags wherever required:
There is no default itoa implementation in the STL under Linux. If you include , it won’t work. If you disable the STL from the GCC command line, you lose
he previous two articles in this series provided an overview of the Windows Communication Foundation (WCF, formerly code-named Indigo) programming model, service addressing, binding and contracts, and a discussion of
Suppose you have a class and want to use it at runtime. The code below shows how you can load the class and execute a desired method at runtime. The
To check whether nested triggers are turned on or off in SQL Server, issue the following command in Query Analyzer: EXEC sp_configure ‘nested triggers’ If the run_value is 0 then
harePoint’s built-in tools are good at providing a basic interface for adding and editing data, however, there are times when the included editing features aren’t enough. There are applications where
n the days of ASP.NET 1.x, Microsoft first created ASP.NET Starter Kits to help developers jumpstart Web development. ASP.NET Starter Kits are sample ASP.NET applications that provide code as an











