
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.
he ACME Toothpick Company has a problem: their applications do not communicate. The toothpick making process is causing big headaches for the purchasing and sales departments. The problem stems from
By default, ASP.NET doesn’t allow you to upload files bigger than 4MB to the server. You can fix this by overriding the default value of 4MB in the web.config file.
Here’s how to check, uncheck, enable, and disable a checkbox in MFC: CButton* pBtn = (CButton*) GetDlgItem(IDC_SETUP_AM); pBtn->SetCheck(0);// uncheck it CButton* pBtn = (CButton*) GetDlgItem(IDC_SETUP_AM); pBtn->SetCheck(1);// check it CButton* pBtn
To provide a user’s password to a proxy server, use the following code: URLConnection URLcon=null;URLcon = url.openConnection();byte[] x=”name:password”.getBytes();//coding in Base64String s = new sun.misc.BASE64Encoder().encode(x); URLcon.setRequestProperty( “Proxy-Authorization”,s);
harePoint Solution Package files are Microsoft’s “preferred choice” for deploying Windows SharePoint Server (WSS) components. A Solution Package is a single compressed Windows Solution Package (.wsp) file containing all the
s multi-core and multi-CPU systems become more prevalent, the opportunity to perform several tasks at once is now a reality. Unfortunately, the way most systems are designed it is not
o far, you’ve been learning about the interesting things you can do with Android. However, if you want your application to see the light of day and run on other
n the past couple of years, data binding has emerged as an important concept for GUI development in Java. Its main objective is to simplify the task of syncing a
Programmer and self-described internet entrepreneur Evan Prodromou has been involved in starting open source and open content projects. His best-known is Wikitravel, a Wiki site for collaboratively edited travel guides.
Regional settings, especially dates, are always a problem in code. For example, suppose the product is developed in U.S. and deployed in UK. Users entering dates in UK format would
Most applications nowadays authenticate through LDAP (directory service). To set this up, first register the SSL certificate using the keytool utility, as shown below: Register ssl certificate using keytool:keytool -import
ack before version 1.0 of the CLR shipped, Microsoft engaged a variety of commercial and academic organizations to produce languages that ran on .NET; an effort code-named “Project 7.” One
cron (an abbreviation for chronograph) defines a process used to execute a script, start a program, send a newsletter, backup a database, display a message, remove some unnecessary files at
lass objects use a constructor argument list as their initializer, aggregates use braces, strings use literal text with double quotes, and containers use yet another form of initialization. These diverse
Passing arrays as arguments to stored procedures is not currently possible in SQL Server, but you can use XML to accomplish this. To do this, you need to create an
Use the following JavaScript to determine which .NET version is on a client PC: <script language=”JavaScript” type=”text/javascript”>var a = navigator.userAgent.match(/.NET CLR [0-9.]+/g);if (a == null) document.write( “.NET Framework(s) is not
Users often experience flickers when loading forms or during other operations. To minimize this flickering, enable double buffering on the form, as illustrated below: // Activates double buffering this.SetStyle(ControlStyles.DoubleBuffer |
typical multi-threaded application in Java contains numerous synchronized methods and statements. They might also contain calls to the methods wait() and notify() that were introduced with Java 1.0, but these
The following code shows how to make an immutable class: package com.test;final class TestImmutable{// instance var are made private to restrict the access // and final to not get reassigned
avaScript luminary Douglas Crockford defined JavaScript as “the world’s most misunderstood programming language.” Characterized by some dubious design decisions, ambiguous syntax rules, and a troubled history (see Sidebar 1. A
isual Studio 2008 and the .NET 3.0 extensions for Visual Studio 2005 add several new templates that simplify creating .NET 3.0 items such as WPF forms, Workflows, and WCF services.
ost web applications are based on HTML documents. The semantic web is based on RDF, the RDF Schema language (RDFS), and the Web Ontology Language (OWL). Additionally, the SPARQL Query
o far all the previous articles in this Android series have been concerned with location-based services and the use of Google Maps for mapping applications. In this article, let’s turn
t this past week’s sold-out Professional Developer’s Conference (PDC) in Los Angeles, Calif., Microsoft delivered a huge range of announcements, demos of new features and hardware, upgrades to existing product
avaFX is a set of Java-based, rich user interface technologies that sits atop the existing Java Standard and Micro Editions, making current Java packages readily accessible from the JavaFX environment.
This tip shows how to read from a log file using a specified format. The following code takes all the logs for the date mentioned in the date control. The
The following code shows how to determine whether one string is a number: public static boolean isNumber(String s){ try { new Double(s); return true; } catch(Exception ecc) { return false;
One way to avoid unnecessary object construction is to use a reference instead of an object to store the unnamed temporary object returned by value. This tip references both Scott
n Visual Studio 2008 running on the .NET framework 3.5, developers can not only create DataReaders and DataSets; Microsoft has also added LINQ to SQL, Entity Framework, and ADO.NET Data
bout three years ago, I spent a few hours building an RSS news aggregator for Ruby news. I wrote it in Java because my one leased server at the time







