devxlogo

The Latest

Make a Picture’s Background Transparent

If you have images that are supposed to have transparent portions, but have lost the transparency information, you can use Microsoft Word to restore the transparent color. First, paste the

Constrain an HTML Input Box to Uppercase

The easiest way to constrain an HTML input box to uppercase is to use the STYLE attribute inside the INPUT tag. Suppose you have the following code: &ltinput type=”text” name=”big”

Mustang Must-Haves: What’s Cool in Java SE 6

he long-awaited Java SE 6 is upon us. This latest version of the Java SE environment brings a number of new features and enhancements, such as integrated support for scripting

Create XMLSchema DataTypes Direct from Java

This tip shows you how to create XMLSchema datatypes direct from Java, using the javax.xml.datatype.* package. In this example you’ll create a Duration object (xs:duration in XMLSchema) and a XMLGregorianCalendar

E4X Adds Direct XML Support to JavaScript

he Web has undergone some major changes during past few years. What started purely as static HTML pages now includes dynamic pages with personalization, improved performance, and new technologies such

Get Started with Google OneBox for Enterprise

mployees and clients can make better decisions, increase productivity, and realize other benefits when they can access company information (statistics, presentations, reports, etc.) accurately and in a timely fashion. Because

MVP Corner: A Baker’s Dozen of Reflections

any topics flit through my mind; I thought I’d share a few…. 1) Many developers use Web services. WCF is coming, but those pronouncing .NET remoting as dead should talk

Explore ASP.NET 2.0 Web Part Infrastructure

eb applications today do a number of things. A Web site could be a banking site, a content management system, or a news center. In spite of this diversity, it

Heard on .NET Rocks!: Microsoft Pundits

am the host of “.NET Rocks!”, an Internet audio talk show for .NET developers online at www.dotnetrocks.com and msdn.microsoft.com/dotnetrocks. My co-host Richard Campbell and I interview the movers and shakers

Finalize(): Profiles from Afar

have a friend with whom I have a never-ending IM conversation. You know what I mean: We never say “Hello” or “TTYL”. Conversations just gradually flow in and out, as

I Have a Dream

ast month I was corresponding with a CoDe Magazine reader. I’ve had similar conversations numerous times, only this conversation ended with a twist. The author asked: I didn’t receive the

ADO.NET vNext Part 2: Using the Object Services Layer

he first installment of this three-part article series introduced the core concepts of ADO.NET vNext, including the Entity Data Model (EDM), Entity SQL, and the Mapping Provider. It also discussed

Tackling the Conundrums of Constant Expressions

onstant expressions are tricky. Not all of them have an overt const qualifier. Furthermore, in some cases, a const-qualified variable is just a constant, but not a constant expression. These

An Open Source AJAX Comparison Matrix

pen source AJAX frameworks and toolkits have matured to the point where they can handle just about any rich Internet application development task. To provide a reference guide for how

Which AJAX Library Is Right for Me?

o you want to jump into the AJAX (asynchronous JavaScript and XML) development fray, but you don’t want to make the XMLHttpRequest calls directly by writing the XMLHttpRequest code yourself.

Putting AJAX Frameworks to the Test

ot so long ago, developers had to work directly with the XMLHTTPRequest object or use some very rudimentary libraries to get any AJAX work done. When I wrote my first

Build Custom Code Generators in C#

uite simply, code generation involves taking a small amount of input and generating a large amount of code from it. Often the structure of the output is very complicated and

An Easy Way to Find All Open Forms in VB.NET

It’s really simple to determine whether a form is open?simply use My.Application and My.Forms in .NET: Dim frm As Form For Each frm In My.Application.OpenForms If frm Is My.Forms.TheFormINeed Then

Call a Java Method from XQuery

This tip shows you how to develop XQuery queries that may call any other method. The method called in this tip is java.lang.Math.random: declare namespace m=”java:java.lang.Math”;let $r:=m:random()return $r Related Posts

Build an Entity Resolver to Redirect a SAX Parser

This tip shows you how to bulid an entity resolver to “change” a public indentifier into a system identifier. The idea is to override the resolveEntity method of the EntityResolver