Consider using PHP, JSP, Java, Python, <insert others> to develop custom made forms. IMHO, PHP is the easiest, comprehensive, simple solution if you can use web interface. If you are very particular that the client should run the binaries, you could use Java or Python. BTW, I used VB as a postgres client.