QANTau/Forex-Strategy-Builder — comment on commit 7dcacb0875bd475bc877966caaa735637d156efc
File:  line 0
By QANTau:

My guess is that this related to User Account Control, which created a
virtual directory space for any user changes in the /Program Files areas.
The actual 'real' files would be in the user profile path somewhere. Once
you have your changes published, I'll build from your version and run some
tests on a VM on my end. I always have User Account Control disabled.
There may be some way in code to check if the path is real or not, but
copying the file to a temporary path, importing it, and then deleting it
from the temp path would also be suitable.

Regards

Adam

-----Original Message-----
From: Miroslav Popov
[mailto:reply@reply.github.com]
Sent: Monday, 13 February 2012 3:41 PM
To: Adam Burgess
Subject: Re: [Forex-Strategy-Builder] Added MetaTrader4 HST File Import
Support. (7dcacb0)

This is very useful new feature to FSB. Thank you for contributing to the
project!

I encountered an issue when testing the import.
Environment: Win 7 64. MetaTrader: AccentForex Trader 4 installed at its
default path: C:\Program Files (x86)

When importing data I received the following error messages:

Importing EURUSD240 ... Error (Access to the path 'C:\Program Files
(x86)\AccentForex Trader 4\history\Butenix-Server\EURUSD240.hst' is
denied.)Importing GBPUSD240 ... Error (Access to the path 'C:\Program Files
(x86)\AccentForex Trader 4\history\Butenix-Server\GBPUSD240.hst' is
denied.)Importing USDCHF240 ... Error (Access to the path 'C:\Program Files
(x86)\AccentForex Trader 4\history\Butenix-Server\USDCHF240.hst' is
denied.)Importing USDJPY240 ... Error (Access to the path 'C:\Program Files
(x86)\AccentForex Trader 4\history\Butenix-Server\USDJPY240.hst' is denied.)

When I copied the whole HST directory to my Desktop everything past
smoothly.
When I run FSB as administrator and imported from original place, everything
was smoothly.

...

Another issue: When I tried to import the files again from other location, I
received this error message:
cannot access the file 'C:\Users\Miroslav Popov\Documents\Visual Studio
2010\Projects\QANTau\Forex-Strategy-Builder\bin\Debug\Data\GBPUSD240.csv'
because it is being used by another process.)

Best regards,
Miroslav

---
Reply to this email directly or view it on GitHub:
https://github.com/QANTau/Forex-Strategy-Builder/commit/7dcacb0875bd475bc877966caaa735637d156efc#commitcomment-958902