Tweaking.com Support Forums

Main Forum => Tweaking.com Support & Help => Topic started by: Alpha beta on April 08, 2015, 02:27:01 pm

Title: 'Open chkdsk @ next reboot' button (in step 3) doesn't seem to be working
Post by: Alpha beta on April 08, 2015, 02:27:01 pm
'Open chkdsk @ next reboot' button (in step 3) doesn't seem to be working. (It works fine on cmd though)
Title: Re: 'Open chkdsk @ next reboot' button (in step 3) doesn't seem to be working
Post by: Shane on April 08, 2015, 02:31:56 pm
What do you mean exactly?

Does the window open? Does nothing open? Or does the tool open but nothing is happening?

I attached a screen shot of the windows that should be opening.

The first thing it does when it is opening the window is call the windows file system api to return the fixed drives on the system to show in the drop download list. Do you have any extra drives or drives letters on the system?

I am wondering if I should have the program look for the drives after the window is loaded instead of before.

Shane
Title: Re: 'Open chkdsk @ next reboot' button (in step 3) doesn't seem to be working
Post by: Alpha beta on April 08, 2015, 03:04:56 pm
Nothing happens.
I'm pretty sure I've seen the window previously when I've done scans, but for some reason it's not coming up now.
The only Drives I have are C,D, and F.
Title: Re: 'Open chkdsk @ next reboot' button (in step 3) doesn't seem to be working
Post by: Shane on April 10, 2015, 12:36:13 pm
OK, so the code calls the file system object and then does a loop through the returned results.

But if there was a problem with the results for some reason, then it is possible the loop would never stop and so the window would never load.

So I am changing the code to stop the loop if it goes through more than 26 times, that way it should stop that from happening.

Then just in case the file system object doesnt return any drive letters I will have the program add the windows drive letter to the list, if the list is empty for any reason.

So next week iw ill put out a new version and let me know how it does for you. :wink:

Shane