The Latest

DevX - Software Development Resource

STA Comes Not from STAbility

continue a good cause started by Jimmy Nilsson saying “Don’t you hate being told what to do and not to do, without knowing the reason why?” As for now the

DevX - Software Development Resource

FlipCase – Inverting the case of all characters of the input string

‘ Invert the case of all characters of the input string” Examples:’ Debug.WriteLine(FlipCase(“Hello World”)) ‘ => hELLO wORLD’ Debug.WriteLine(FlipCase(“hELLO wORLD”)) ‘ => Hello World’ Debug.WriteLine(FlipCase(“3) this is message n. 3”))

DevX - Software Development Resource

Discovering if the input connection string is for the Oracle managed provider

‘ Return a boolean indicating whether the input connection string is for the ‘ ADO.NET’s Oracle managed provider” Examples:’ Debug.WriteLine(IsOracleProviderConnString’ (“Server=myserver;Uid=myid;Pwd=mypwd;”)) ‘ => TrueFunction IsOracleProviderConnString(ByVal connString As String) As Boolean

DevX - Software Development Resource

Close All Child Forms in One Shot

In MDI applications, a user might have two or three or even more MDI child windows open at any given time. But in applications where you have user log-in and

DevX - Software Development Resource

Avoid Sending Truncated Data

There is a common and tricky problem that arises when you’re sending data from an HTML form to the server?the amount of data you can send depends on which method

DevX - Software Development Resource

Fast Check for 2^N (2 power N) Numbers

To test if an integer is a power of 2 (1,2,4,8,16…256…), use the following code: if (!(x & (x-1)) then … Because 2^N-1 numbers have no common bits with 2^N

DevX - Software Development Resource

How to Use SavePoint in JDBC

Say Employee_Table has fields like EMP_NO, EMP_NAME, etc. In java, try this: try{ Connection conn =…//opening connection. PreparedStament ps = con.prepareStatement(“Select conn.setAutoCommit(false); Statement stmt = conn.createStatement(); stmt.addBatch( sql 1st insert

DevX - Software Development Resource

Go From Zero to JSP 2.0 in No Time at All

ava technology has maintained a strong foothold in the Web development world since Java Servlets and JSP hit the scene more than 6 years ago. Java technologies are mature and

DevX - Software Development Resource

Linux vs. Windows: Choice vs. Usability

uring the recent LinuxWorld conference, Linux proponents loudly celebrated Linux’ increasing importance in the world of software. It’s true that Linux has made great strides in becoming a standard part

DevX - Software Development Resource

String Manipulation Made Easy with std::string Algorithms

ext processors, spellcheckers, and IDEs are just a few classic examples of applications that need to manipulate strings extensively. Web-oriented applications also make heavy use of strings for generating text,

DevX - Software Development Resource

FormToIni ActiveX control

This freeware ActiveX control makes it extremely easy to save and load controls’ property values to and from the registry or INI files. Creating a “binding” between a property and

DevX - Software Development Resource

Continuing Education

have been an actively employed developer for almost 15 years now. I started my career in Oregon as a developer for a small property management company. I later moved to

DevX - Software Development Resource

Validating Data On Web Forms

alidating the information entered by users is an essential part of developing a professional Web-based user interface. Data validation over the Web is performed in one of two locations: on

DevX - Software Development Resource

Inheritance Is a Wonderful Thing

etween April 1998 and December 2001, I was granted a 1000-word monthly soapbox on the back page of a competitor’s magazine for Office developers. The chance to rant, complain, chastise,

DevX - Software Development Resource

Mobile CoDe.NET: Microsoft Mobility 101

obility is one of those fields which everybody knows is a definite part of our future, in 5 to 10 years or so. Think again. Amber steps out of her

DevX - Software Development Resource

Cryptography the .NET Way

rior to the .NET Framework, programming encryption was sort of an obstacle race. You first had to find the right algorithm, then set up the key, and finally struggle with

DevX - Software Development Resource

.NET Web Services Security

eb services are all about connecting businesses in a standard and secure manner. For a real-life Web service, security is intrinsic to every facet of operation and no party would

DevX - Software Development Resource

Using GDI+ in ASP.NET Web Applications, Part II

ast issue’s article, “Using GDI+ in ASP.NET Web Applications, Part 1“, introduced basic concepts for generating images dynamically to use on Web pages. Keep in mind that the fundamental steps