By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,282 Members | 1,548 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,282 IT Pros & Developers. It's quick & easy.

Current Directory and ActiveX control

P: 2
I have a Java application which is interfacing with a Windows ActiveX control (using a third party tool named JacoZoom). The problem I'm encountering is that the ActiveX control is writing out to a log file when the control is first instantiated.

This file is going out to the "Current Directory" which is the Windows Desktop. I realize there is no concept of the "current directory" in Java (such as can be accessed by chdir), but is there ANY way to change what the output to the "default" directory is?

The ActiveX control is third party an I have no access to changing it.

Aug 30 '06 #1
Share this Question
Share on Google+
2 Replies

P: 44
Your current directory is the window desktop because you told Windows to. You can change it in the properties of your program (right click on the icon, properties, Start in (may be it is not that exactly in on French XP!)), or you can create a link to start your pgm in an other directory.

May that help!
Aug 30 '06 #2

P: 2
Sorry I left out a detail. This is a Java WebStart program so it is being lauched from a browser link (JNLP file), so there is no icon or shortcut for the application.
Aug 30 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.