Monday, February 8, 2010

Installing FrontPage 2002 Server Extensions for IIS 7 on Windows 7 Ultimate

Last Friday I had to configure a Windows 7 Ultimate machine for developing Web applications with Visual Web Developer 2008, SQL Server Express 2008 and IIS 7. I needed the FrontPage 2002 Server Extensions, and found a new version here: http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1630

I installed them on a Windows 7 virtual machine created in VirtualBox, and they work perfectly!

Posted via email from alromero's posterous

Sunday, February 7, 2010

Audio problem in Windows 7 virtual machine with VirtualBox 3.1.2 corrected

I recently installed Windows 7 Ultimate edition on a virtual machine created with VirtualBox 3.1.2, and noticed it didn't recognize the audio driver. Then I googled for an answer to my problem, and found on the VirtualBox forum that I had to download the AC97 drivers from http://www.realtek.com.tw/ and install them on the Windows 7 virtual machine. I did that and the problem disappeared! Now I can hear sound on my Windows 7 VM!

Posted via email from alromero's posterous

Wednesday, February 3, 2010

Swinging and Tweeting with Java and NetBeans: Part 2

In Swinging and Tweeting with Java and NetBeans: Part 1 of this article series, we saw a simple way to see your last tweet via a Java application called SwingAndTweet using the Twitter4J API.

In this article by Alfonso Romero, we will add some more functionality to our SwingAndTweet Java application.

Here, we will learn how to:

  • Create a twitterLogin dialog to take care of the login process
  • Add functionality to show your 20 most recent tweets right after logging in
  • Add the functionality to update your Twitter status

In this tutorial, we'll develop the simple Java application further to add some more functions. Now that we can connect to our Twitter account via the Twitter4J API, it would be nice to use a login dialog instead of hard-coding our Twitter username and password in the Java application.

But before we start to build our enhanced SwingAndTweet application, let me show you how it will look like once we finish all the exercises in this part of the tutorial:

Posted via email from alromero's posterous

Sunday, January 31, 2010

VirtualBox Beginner's Guide Announced in Packt's Website

Wow! My second book is already announced in Packt's Website: http://www.packtpub.com/virtualbox-3-1-beginners-guide/book

Here's the cover:

I'd really appreciate it if you tell me what you think about the cover. We're still working on a couple of details on the book's chapters, but I'm definitely positive it will get published as soon as possible...

Posted via email from alromero's posterous

Saturday, January 23, 2010

Twitter Java APIs: JTwitter vs. Twitter4J

I recently stumbled upon a twitter API called JTwitter. It looks as interesting as the Twitter4J API, which I'm using to write a Twitter Java application for my boss. It should be interesting to have a list of all the available APIs for Twitter, and make some comparisons...

Posted via email from alromero's posterous

Friday, January 22, 2010

Swinging and Tweeting with Java and NetBeans

Cool! The first article of my Swinging and Tweeting with Java and NetBeans series came out! Check it out at the Packt Publishing website: http://www.packtpub.com/article/swinging-tweeting-build-custom-application-twitter-java-netbeans

As always, I'm open to suggestions and improvements :)

Posted via email from alromero's posterous

Wednesday, January 20, 2010

Something messed up my classpath in Netbeans 6.8

I was working with a Twitter Java app in NetBeans, and suddenly I couldn't run my project from NetBeans 6.8. The strange thing was that I could compile it on NetBeans and then run the jar file on a terminal window!  After two stinking hours of struggling with my project configuration, I found out it was a problem with the classpath, thanks to the tips I found on http://en.allexperts.com/q/Java-1046/main-class.htm.

So, basically, if suddenly you cannot run projects on NetBeans, try fixing up your classpath, and maybe your problem will be solved.

On Windows, type
 set CLASSPATH=.;%CLASSPATH%
on a Command Prompt window.

On Linux, type

CLASSPATH=.:$CLASSPATH
export CLASSPATH

On a terminal window.

Posted via email from alromero's posterous