Stickies
« Add Browse to find directory »

Welcome Guest. Please Login or Register.
Sep 23rd, 2017, 6:43pm


Click to go to the
Zhorn Software Web Site
Click to go to the
Knowledgebase

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Add Browse to find directory  (Read 653 times)
John Smith
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 127
xx Add Browse to find directory
« Thread started on: Jul 13th, 2015, 02:50am »

Hello Tom. Bart has been giving me excellent service, more than once a day, for ages. Having an up to date copy of selected directories has saved my bacon a few times, many thanks.

I have a job file I call OneOff which I edit as required for, well, one off syncs, like copying or updating a USB stick with files I want to take out with me. After recently adding another hard drive and doing some housekeeping I found I was editing that job file quite a bit.

It would be nice to have a Browse button to take me to a tree structure where I could click to select the source and then select the destination folders. I have seen some software using a button with three dots to indicate this.
User IP Logged

John Smith
Tom Revell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 3556
xx Re: Add Browse to find directory
« Reply #1 on: Jul 14th, 2015, 4:16pm »

I started to write to you about how people have asked for that button for a while, but I don't have one because ... well ... ummm what about the fact that people have asked for one for a while.

Well, ok, it's a quick thing to add, right? Right. So I went to add the buttons, and they kept crashing the app when you clicked them. I've spent a few hours trying "everything" to get it to work.

Finally, I tried it outside the development environment, and it's fine. It's just a DevStudio thing. Sigh. That's my lack of knowledge showing.

Aaaaanyway, to cut along story short, try this build:

http://www.zhornsoftware.co.uk/bart/bart303.zip

That has the buttons - they work ok for you (and don't crash)?

Tom
User IP Logged

John Smith
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 127
xx Re: Add Browse to find directory
« Reply #2 on: Jul 15th, 2015, 01:30am »

Yes and no, in that order. I have edited a couple of tasks, created some new ones, created a new job file and added tasks - all without problem.

The browse buttons seem entirely natural, in their style, location and function. Thank you very much.

I don't envisage doing anything else using them but will of course let you know if something odd occurs.
User IP Logged

John Smith
John Smith
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 127
xx Re: Add Browse to find directory
« Reply #3 on: Jul 29th, 2015, 07:14am »

At first I thought it was my imagination, that that version 3.03 was running a bit slower than version 3.01. It seems that it is.

After running a default job with 21 tasks on 3.03, I ran it again and of course got a report of zero changes. It took 2 seconds. I then ran version 3.01 and it took 1 second. A few more cycles confirmed this.

Roughly speaking, once a day I ran the default job and it was usually around a few seconds; version 3.03 is taking up to 20 seconds.

The actual time is not an issue for me - I can spare the seconds - but I mention it in case there is something in the new version that is not as slick as you would like it to be.

(Thinks - can I push my luck a bit here? Try it) The browse buttons are most welcome. I suppose one could also be deployed to aid navigation to add an exclusion...
User IP Logged

John Smith
Tom Revell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 3556
xx Re: Add Browse to find directory
« Reply #4 on: Jul 29th, 2015, 2:21pm »

Speed difference? Strange. I sat and peered through the code and my notes for a while trying to think about what I might have changed, and then remembered I changed the build settings to dynamically link. Perhaps that's it?

Can you download: http://www.zhornsoftware.co.uk/bart/bart-link.zip

It has two builds, the functionality and code is identical (and includes the extra browse button you wanted!) but one is linked statically and the other dynamically.

Do you see a speed difference between them, please?

Tom
User IP Logged

John Smith
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 127
xx Re: Add Browse to find directory
« Reply #5 on: Jul 30th, 2015, 02:16am »

Thank you very much. An initial crude comparison reveals no noticeable difference but I have somewhat dramatically shifted the goal posts - onto another field actually. Yesterday I upgraded to Windows 10.

I shall compare the two over the next week or so and report back. In the meantime thanks for the extra browse button.
User IP Logged

John Smith
John Smith
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 127
xx Re: Add Browse to find directory
« Reply #6 on: Aug 1st, 2015, 10:44am »

Lies, damned lies and Windows recently used files memory...

I found that I could make either version appear faster by changing the order in which I tested them. I created a job file to copy my Documents folders to another drive. There are 4600 files in 450 folders taking up 2 GB of space.

The first version to run took 1 min 05 secs. If I then deleted the copied folders and ran the other version, it took only 42 seconds. This was true whichever version was run first.

I then repeated the tests but this time rebooting after each run. The timings were now effectively the same - 1 min 05 seconds, with the shared version perhaps 2 seconds faster, insignificant. This was over three or four repetitions.

I can only make an uneducated guess that Windows 10 had learnt where the files were and was able to find them quicker or they were still in memory or some such magic on the second occasion without a reboot in between.

So, I am keeping the shared version of Bart and will continue to use it at least once a day and often more frequently, to keep my data safe. Many, many thanks.
User IP Logged

John Smith
Tom Revell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 3556
xx Re: Add Browse to find directory
« Reply #7 on: Aug 4th, 2015, 1:04pm »

Thanks for coming back to me. It's good to know that it's not the linking, as that would be a strange difference - once a library is loaded I'd have hoped that it would run just as fast no matter where it's loaded from.

Thanks for taking the time to run those test - it proves it pretty well.

Tom
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls