devxlogo

We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

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.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

AddComPlusApplication – Creating a new COM+ application

‘ Create a new COM+ application, and return True if the operation is successfull’ Note: requires a reference to the COM+ Admin Type Library” Example: AddComPlusApplication(“MyComPlusApp”, “”)Function AddComPlusApplication(ByVal applicationName As

DelComPlusApplication – Deleting a COM+ application

‘ Delete a COM+ application, and return True if the operation is successfull’ Note: requires a reference to the COM+ Admin Type Library” Example: DelComPlusApplication(“MyComPlusApp”, “”)Function DelComPlusApplication(ByVal applicationName As String,

Handling Binary Files in Perl

For some reason, there exists a common misconception that there is no cross-platform, built-in way in Perl to handle binary files. The copy_file code snippet below illustrates that Perl handles

Insert an Image into a Database Using JDBC

//create the file object,//set the image to the statement object as//binary streamtry{ … File fileObject = new File(…); FileInputStream fisObject = new FileInputStream(fileObject); PreparedStatement pstmt = conn.prepareStatement(“insert into IMAGE_TABLE values

Code an Event Procedure for Each Textbox

If you want to code an event procedure (such as GotFocus) for each textbox on a freshly designed form, you must switch manually from the Change event to the GotFocus

Return Roman Numerals

This VB procedure returns decimal numbers (integers) as Roman numerals (a string), ranging from 1 to 4999. Numbers outside this range return the same number as a string. The optional

What’s New In IIS 6.0? (Part 1 of 2)

icrosoft’s Internet Information Services (IIS) is one of the most popular Web servers in use on the Internet and in intranets throughout the world. A Web server is a common

Build a Souped Up File Explorer for Your PDA

File Explorer is a generalized way of referring to an application that lets end users browse and edit directory structures. The best known File Explorer is Microsoft Windows Explorer. The

From Palm OS to Symbian OS: Making the Switch, Part 1

s PDAs and mobile phones quickly combine into smartphones, Palm OS developers find that their favorite operating system is running behind the most mature smartphone operating system, Symbian OS. There

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

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”))

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

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

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

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

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

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