Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Not running at night - Notepad window opens #17

Closed
edbusch opened this issue Sep 30, 2015 · 3 comments
Closed

Not running at night - Notepad window opens #17

edbusch opened this issue Sep 30, 2015 · 3 comments

Comments

@edbusch
Copy link

edbusch commented Sep 30, 2015

I've got Fixity set to run during the night. When I come in the next day, I find a Notepad window open with
Dim location, p
location = WScript.ScriptFullName
p = Replace(location, "fixity-Images_HCs.vbs", "fixity-Images_HCs.bat")
Set WinScriptHost = CreateObject("WScript.Shell")
WinScriptHost.Run("""" & p & """")
Set WinScriptHost = Nothing

and it has not executed. I can run checks manually fine. I'm on a PC with Windows 7. This happens for all of my projects.

@Fuqran
Copy link
Contributor

Fuqran commented Oct 1, 2015

Hi edbusch,
This is developer of Fixity. From the look of this error.It seems like VB( Visual Basic) is not properly working on your system. Just to make sure your VB( Visual Basic) is working.

Please follow steps below

  1. Create a File in a separate folder with the extension of *.vbs (for example test.vbs)
  2. After that, open this file in any text editor and paste the code into it MsgBox "Well come to Fixity!"
  3. Save it and double click it
  4. if a popup appears on the screen saying "Well come to Fixity!".Which means VB is working and If this file also opens in a notepad or another program then it mean there is something wrong with VB on your system. either in installation or configuration.
  5. More Over go into ->Fixity folder then go into -> schedules folder. From there right click on file with extension .vbs. Which will open its properties. From properties click on a button named "Change". Then change the default program to Microsoft Windows Based Script Host, just make sure default program to run VB script is correct.After that try test.vbs file again and also Fixity and see if that works.If Microsoft Windows Based Script Host is not listed in properties programs selection. which means VB is not installed (refer to point 7 )
  6. If Vb dose not work, Also try Fixity on fresh user and see if that works.
  7. If nothing above fixes the problem
    Refer to urls below for VBS installation/Re-Installation/Configuraiton
    https://sahil.xyz/install-visual-basic-6-vb6-on-windows-7-windows-8/
    http://techapple.net/2013/10/installing-and-running-microsoft-visual-basic-6-0-on-windows-7windows-8-x64-64-bit-with-all-features/

let me know if this helps

@edbusch
Copy link
Author

edbusch commented Oct 1, 2015

Yep, I think it was the properties. I'll schedule a run for tonight. Thanks!

On Thu, Oct 1, 2015 at 12:35 PM, Furqan Wasi notifications@github.com
wrote:

Hi edbusch,
This is developer of Fixity. From the look of this error.It seems like VB(
Visual Basic) is not properly working on your system. Just to make sure
your VB( Visual Basic) is working.

Please follow steps below

  1. Create a File in a separate folder with the extension of *.vbs
    (for example test.vbs)

  2. After that, open this file in any text editor and paste the code
    into it MsgBox "Well come to Fixity!"

  3. Save it and double click it

  4. if a popup appears on the screen saying "Well come to
    Fixity!".Which means VB is working and If this file also opens in a notepad
    or another program then it mean there is something wrong with VB on your
    system. either in installation or configuration.

  5. More Over go into ->Fixity folder then go into -> schedules
    folder. From there right click on file with extension .vbs. Which
    will open its properties. From properties click on a button named "Change".
    Then change the default program to Microsoft Windows Based Script
    Host
    , just make sure default program to run VB script is
    correct.After that try test.vbs file again and also Fixity and see if that
    works.If Microsoft Windows Based Script Host is not listed in
    properties programs selection. which means VB is not installed (refer to
    point 7 )
    6.

    If Vb dose not work, Also try Fixity on fresh user and see if that
    works.
    7.

    If nothing above fixes the problem
    Refer to urls below for VBS installation/Re-Installation/Configuraiton
    https://sahil.xyz/install-visual-basic-6-vb6-on-windows-7-windows-8/

    http://techapple.net/2013/10/installing-and-running-microsoft-visual-basic-6-0-on-windows-7windows-8-x64-64-bit-with-all-features/


Reply to this email directly or view it on GitHub
#17 (comment).

@Fuqran
Copy link
Contributor

Fuqran commented Oct 2, 2015

sounds good!

@smntb smntb closed this as completed Oct 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants