Printing with PrintForm

Posted on Monday, August 26, 2013


If you have a simple need to only print the Form (window) you are currently viewing in .NET you can use the PrintForm tool.

The PrintForm component is described at http://msdn.microsoft.com/en-us/library/bb690938.aspx [1] with the following.

The PrintForm component enables you to print an image of a form to a printer, to a print preview window, or to a file without using a PrintDocument component.


With that description let's get started.


Alfresco Cloud (update)


This document goes over Alfresco Cloud.  A cloud service from the good people at Alfresco that gives you Alfresco share, maintained and hosted by the Alfresco company..


Alfresco just had a few updates to their Alfresco cloud offering.   So I am updating this article to replace the old one at http://www.whiteboardcoder.com/2013/01/alfresco-cloud.html

Open Play Project in Activator

Posted on Saturday, August 24, 2013


I have recently tried Activator, a Web App from Typsafe that can create Web Apps in its interface.   I wanted to see how you can open a  Play Project created with the play command line tool and open it and run it in Activator.

This article assumes you already have Activator installed and the Play command line tool installed.

If not you can refer to these two articles.



Play Framework create IntelliJ Project

Posted on Thursday, August 22, 2013


My IDE of choice these days is IntelliJ.  Fortunately for me the Play tool can quickly add the files to a Web App to make it an IntelliJ project.

This article assumes you have already created a Web App using the Play command line tool.

If you are unfamiliar with setting up the Play Framework and creating your first Hello World using the play command you can look at this post I made http://www.whiteboardcoder.com/2013/08/scala-play-hello-world.html [1]


Scala Play Hello World

Posted on Wednesday, August 21, 2013


I am going to create a scala play hello world application on a Windows 7 machine and on an Ubuntu server.

This guide goes over setting up the tools and environment, and does not get beyond the default Hello World much.

Fixing Skype listening on port 80

Posted on Monday, August 19, 2013


I had an issue today running a WebApp locally on my own machine.  Turns out that Skype uses Port 80 and 443, or that is will use them if it needs to because of firewall issues.   To fix this particular issue do the following.

Installing Java 7 on ubuntu 12.10 (fixed)

Posted on Saturday, August 17, 2013


I recently had an issue with my guide on getting Oracle's Java 7 installed on Ubuntu 12.10.   sudo apt-get install python-software-properties no longer seems to add the "add-apt-repository" command line tool.  Instead you need to use sudo apt-get install software-properties-common.   Michal mentioned this change at http://linuxg.net/how-to-fix-error-sudo-add-apt-repository-command-not-found/ [1] in a comment.

Cygwin MS-DOS style path issues

Posted on Thursday, August 15, 2013


Recently I ran across a MS-DOS style path warning when trying to run Scala for the first time in cygwin.






It looks like it's working, Here is the text of the warning.

cygwin warning:
  MS-DOS style path detected: C:\Program Files\Java\jdk1.6.0_25/bin/java
  Preferred POSIX equivalent is: /cygdrive/c/Program Files/Java/jdk1.6.0_25/bin/java
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames


Typesafe Activator

Posted on Wednesday, August 7, 2013


Typesafe Activator


Typesafe, the folks who make the play framework have a program called the Typesafe Activator.  Activator is a local running Web Application that runs on your own machine.

The following is a short tutorial.  It will help you install Activator and begin using it.

I am running the Activator from a Windows 7 Environment.