The Latest

DevX

Solving Eclipse (Ganymede) and PermGem Out-of-Memory Errors

First, launch Eclipse with increased memory options, which you can do as follows (increase these values as needed, but don’t exceed your available memory): eclipse.exe -vmargs -Xmx512M -XX:MaxPermSize=256M Sometimes, the

DevX

Determine Which Session Is Blocking All Users in Oracle

You can find out which session is causing blocking problems using this SQL command: SELECT blocking_session, sid, serial#, wait_class, seconds_in_wait FROM v$session WHERE blocking_session IS NOT NULLORDER BY blocking_session; Related

DevX

Open Any File from Code

Using the following code snippet you can run any application (such as Word, Excel, etc.) or open any file whose extension is associated with an application, such as .doc, .txt,

DevX

Generating Microsoft Office Documents with the Open XML SDK

evelopers have worked with Office documents for years, primarily word-processing documents, presentations, and spreadsheets. While the various Microsoft Office applications have provided built-in support for creating and modifying Office documents,

DevX

Keep Software Simple

n the course of my consulting, I have reviewed numerous applications from many companies?and often find areas where the software was just too complex. The reasons for this are varied,

DevX

Simple Script to Run Java Applications on Linux and Windows

Unlike C/C++ compilers that produce binary executables, Java produces bytecode. Running bytecode can be difficult for regular users, particularly when the application requires external libraries. There are several solutions to

DevX

Fast Way to Create and Send Email

An easy way to create and send email in VB (or any other language) is to use the “mailto:” protocol that already works on client computers. The technique makes a

DevX

Make Web Requests Programmatically in .NET

You can use the code in this tip to make web requests to a remote HTTP server and read the response: try{ // The URL http://www.microsoft.com/en/us/default.aspx // is used here

DevX

Sending E-mail from SQL Server 200X

ending email from SQL Server can be a useful way to keep yourself or the system’s administrator informed of any errors and alerts, but depending on your version of SQL

DevX

Parsing with Active Patterns in F#

ou may have come across the need to read textual input into a structured representation before. Consider interpreting your own domain-specific language (DSL), reading back marshaled data from the disk,

DevX

Monitoring the Long-Term Health of .NET Applications

hile watching application development practices evolve over the years, I have noticed a monumental shift in the way companies approach cost reductions throughout the application lifecycle. The bottom line is,

DevX

Agile and UCD: Building the Right Thing, the Right Way

gile software development has hit the mainstream! Since the Agile Manifesto was published, various software development methodologies that follow the manifesto’s values have steadily gained popularity. Many organizations are adopting

DevX

How to Store Oracle 10g Log Files in XML

Logging is a top priority for any project. Current versions of most popular databases have excellent logging capabilities, but it’s not always easy to get the logged data in a

DevX

Quickly Set a Form to a User’s Working Area Size and Location

Simply add these two lines of code to the Form’s Load event: this.Location = Screen.PrimaryScreen.WorkingArea.Location;this.Size = Screen.PrimaryScreen.WorkingArea.Size; Related Posts Crisfield secures $36 million FEMA grantEasily Create Responsive Websites Using BootstrapTransforming

DevX

How to Detect JFrame Resizing

There are a couple of ways to track JFrame resizing. This method uses a while(true) loop, setting Thread.sleep to wait for some specified period of time. However, you could just

DevX

Create and Save Thumbnails of Web Pages

You can use the .NET WebBrowser control to take thumbnails or full-size screenshots of loaded web pages, and then use the Bitmap class to save them locally. For example, to