Quantcast
Channel: Programming – techMinimalist
Browsing latest articles
Browse All 6 View Live

Image may be NSFW.
Clik here to view.

Modify the classpath to run Java on the command line

If you’re getting the NoClassDefFoundError when you try to run your Java program, there are two ways to solve this. 1.  Specify the classpath as your current directory each time you run your program by...

View Article



Image may be NSFW.
Clik here to view.

Install Sun Java JDK on Ubuntu

These instructions were executed on Ubuntu 10.10 running atop a 32-bit machine. 1.  Download the latest JDK here. 2.  Move the binary file to your directory of choice. The consensus from various...

View Article

Image may be NSFW.
Clik here to view.

Static versus Instance Methods

Static methods belong to a type while instance methods belong to instances of a type. – Mehrdad Afshari Well said. (Source: stackoverflow)

View Article

Image may be NSFW.
Clik here to view.

Short-circuit Conditionals in VB.NET

I found myself searching for this several times. The two operators for short-circuit evaluation are ‘AndAlso’ and ‘OrElse’. If (conditionOne) AndAlso (conditionTwo) Then …. End If If (conditionOne) is...

View Article

Image may be NSFW.
Clik here to view.

Crystal Reports for .NET Framework 4.0: FileLoadException

If you’re using a CrystalReportViewer and get this exception when attempting to load a report, this is a possible fix: In the App.config file for the project,  change <startup> to <startup...

View Article


Image may be NSFW.
Clik here to view.

Callbacks Analogy

It can be helpful to make an analogy to something that might occur in everyday life to fully appreciate the value of a design based on callbacks. Imagine your boss has just assigned you a task. Assume...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images