Category Archives: Windows

Save data to ZIP file in Java app for OS X, Windows and Android platforms

Question: In an Eclipse JAVA project I have to save data to a zip file to reduce disk (memory) usage. I am sending my code. It does not run on Windows 7 professional laptop. Do you have a sample code that runs on both OS X and Windows? Answer: There are several good solutions on the Net (google or bing for it). Look for file access rights or misspelled file name when your code does not work. From within your Java applications you can execute data compression and decompression conveniently by using the java.util.zip package. A sample code is here: Continue reading Save data to ZIP file in Java app for OS X, Windows and Android platforms

Backup mySQL database with Java desktop or Android application

Problem: I’m developing a Java application with Eclipse which must be running on iMac, MacBook Pro and Windows 7 metals and may be on Android devices. One of the options is to let my user save his mySQL database with a click. I’m using mySQL 5 on a remote server. I want a very simple utility code to backup the database and store it in the specified folder location. I am stuck with my code as it does not run on Windows as expected. Can any one help me. Continue reading Backup mySQL database with Java desktop or Android application

Copy DLLs from GAC in Windows 7

Question: I develop a Microsoft .NET C# custom control module for ACT! 2010 in Windows 7.  ACT! clients need to have a copy of  ACT! assemblies (i.e. the compiled code libraries) to run properly. On my computer these files are available only in GAC in the folder of C:\Windows\assembly. When I look at the folder it does not show any DLL file but assembly symbols only. How can I make a copy of these files to create a full release package? Continue reading Copy DLLs from GAC in Windows 7