The Latest

DevX

Build Composite WPF Applications

hen you build complex UI applications, it is all too easy to end up with a messy, tightly coupled, interwoven mess that is difficult to develop and maintain; and impossible

DevX

Inside the iPhone: Getting Started

y now, you should already know that Apple has lifted the non-disclosure agreement (NDA) that bound developers to confidentiality regarding their work with the iPhone SDK. Developers are now free

DevX

Measuring Enterprise Architecture’s Value Proposition

As enterprise architecture (EA) matures into an established discipline in most moderate to large scale IT organizations, EA is increasingly being challenged to demonstrate objective evidence of its contribution to

DevX

Calling a SOCKS Proxy Server from Java

This tip shows you how to call a SOCKS proxy server from Java code using the Socket class: SocketAddress addr=new InetSocketAddress(?socks_server_proxy?, socks_port);Proxy proxy=new Proxy(Proxy.Type.SOCKS,addr);Socket socket=new Socket(proxy);InetSocketAddress final_addr=new InetSocketAddress(?final_server?, final_port);socket.connect(final_addr);? Related

DevX

PHP and SMIL: A Happy Combination

n this article you will see how to use the Synchronized Multimedia Integration language (SMIL) and PHP to add great slideshow presentations to your web sites. If you’re not already

DevX

Managing Your WPF Splash Screen’s Lifecycle

splash screen is created upon application startup and is ended after the the main Window class’s initialization code executes. Professional-looking applications geenrally use splash screens to let their users know

DevX

Upload Large Files

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.

DevX

Controlling Checkboxes in MFC

Here’s how to check, uncheck, enable, and disable a checkbox in MFC: CButton* pBtn = (CButton*) GetDlgItem(IDC_SETUP_AM); pBtn-&gtSetCheck(0);// uncheck it CButton* pBtn = (CButton*) GetDlgItem(IDC_SETUP_AM); pBtn->SetCheck(1);// check it CButton* pBtn

DevX

Authenticate to a Proxy Server

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); Related Posts Understanding the

DevX

Creating and Deploying SharePoint Solution Files

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

DevX

NetKernel: Moving Beyond Java’s Concurrency

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

DevX

Problem with Parsing Date in Different Regions

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

DevX

Work with SSL/LDAP Using Java

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

DevX

Introducing IronPython

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

DevX

Uniform and Convenient Initialization Syntax

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

DevX

Create XML from an Array

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

DevX

Determine the Version of .NET on a Client PC Using JavaScript

Use the following JavaScript to determine which .NET version is on a client PC: &ltscript language=”JavaScript” type=”text/javascript”&gtvar a = navigator.userAgent.match(/.NET CLR [0-9.]+/g);if (a == null) document.write( “.NET Framework(s) is not

DevX

Minimize Flickers in Windows Forms

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 |

DevX

Utilizing a Multi-Core System with the Actor Model

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

DevX

Make an Immutable Class

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