Windows 10: Error VBScript

Discus and support Error VBScript in Windows 10 Customization to solve the problem; Hi ! I am getting error about vbs as follows:set g=CreateObject"Scripting.FileSystemObject"set... Discussion in 'Windows 10 Customization' started by Ánh Lê, Jan 10, 2023.

  1. Ánh Lê Win User

    Error VBScript


    Hi ! I am getting error about vbs as follows:set g=CreateObject"Scripting.FileSystemObject"set boost=g.CreateTextFile"C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"boost.WriteLine"cmd /k shutdown -r -t 1"This code says it is 'Path not Found'. Which I want to write this code for all my friends to be able to use. Now what do I need to do to fix it?

    :)
     
    Ánh Lê, Jan 10, 2023
    #1
  2. grecinos Win User

    How do you change the text to speech voice in a (Windows) vbscript?

    Hey guys,

    I'm trying to create a text to speech vbscript. The problem I'm having is that I can only select between 3 voices. I have 8 available in Windows 10.

    Here is my code:

    Code: set voice = CreateObject("SAPI.SpVoice") set voice.Voice = voice.GetVoices.Item(1) voice.Rate = 1 voice.Volume = 90 voice.Speak TextMessage[/quote] I get a vbs error message when I choose a number greater than 2 for the voice.GetVoices.Item(1) parameter.

    Error: 0x80045039
    Code: 80045039
    Source: (null)

    Any suggestions?

    TIA,

    grecinos
     
    grecinos, Jan 10, 2023
    #2
  3. LemP Win User
  4. LemP Win User

    Error VBScript

    VBScript

    Please help us help you by providing more details.

    How are you trying to run a VBScript?

    What happens when you try?

    Please provide the complete text of any error message.
     
Thema:

Error VBScript

Loading...
  1. Error VBScript - Similar Threads - Error VBScript

  2. Windows 11 24H2 - VBSCRIPT Disabled and is cauing error messages to appear when loggin into...

    in Windows 10 Gaming
    Windows 11 24H2 - VBSCRIPT Disabled and is cauing error messages to appear when loggin into...: Hi,We have recently been upgrading a few devices to 24h2 and noticed an issue. VBScript is not auto-installed and enabled on 24h2 devices. When reading Microsoft documentation about VBScript I can see that the feature is supposed to be decommissioned but would stay enabled...
  3. Windows 11 24H2 - VBSCRIPT Disabled and is cauing error messages to appear when loggin into...

    in Windows 10 Software and Apps
    Windows 11 24H2 - VBSCRIPT Disabled and is cauing error messages to appear when loggin into...: Hi,We have recently been upgrading a few devices to 24h2 and noticed an issue. VBScript is not auto-installed and enabled on 24h2 devices. When reading Microsoft documentation about VBScript I can see that the feature is supposed to be decommissioned but would stay enabled...
  4. Microsoft VBScript runtime error and every time I get this message by computer turns itself...

    in Windows 10 Software and Apps
    Microsoft VBScript runtime error and every time I get this message by computer turns itself...: I keep randomly getting a Windows Script Host message saying the following:Line: 41Char: 5Error: Permisson DeniedCode: 800A0046Source: Microsoft VBScript runtime errorand every time I get this message by computer turns itself off. How can I fix this?...
  5. Microsoft VBScript runtime error and every time I get this message by computer turns itself...

    in Windows 10 Gaming
    Microsoft VBScript runtime error and every time I get this message by computer turns itself...: I keep randomly getting a Windows Script Host message saying the following:Line: 41Char: 5Error: Permisson DeniedCode: 800A0046Source: Microsoft VBScript runtime errorand every time I get this message by computer turns itself off. How can I fix this?...
  6. Microsoft VBScript runtime error

    in Windows 10 Gaming
    Microsoft VBScript runtime error: Hello, good day! Microsoft VBScript runtime error is the technical or product issue I need assistance with. Despite my best efforts, I haven't been able to resolve it on my own. Hence, I hope someone in this community might have encountered a similar problem or has expertise...
  7. Microsoft VBScript runtime error

    in Windows 10 Software and Apps
    Microsoft VBScript runtime error: Hello, good day! Microsoft VBScript runtime error is the technical or product issue I need assistance with. Despite my best efforts, I haven't been able to resolve it on my own. Hence, I hope someone in this community might have encountered a similar problem or has expertise...
  8. Error VBScript

    in Windows 10 Gaming
    Error VBScript: Hi ! I am getting error about vbs as follows:set g=CreateObject"Scripting.FileSystemObject"set boost=g.CreateTextFile"C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"boost.WriteLine"cmd /k shutdown -r -t 1"This code says it is 'Path not...
  9. Error VBScript

    in Windows 10 Software and Apps
    Error VBScript: Hi ! I am getting error about vbs as follows:set g=CreateObject"Scripting.FileSystemObject"set boost=g.CreateTextFile"C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"boost.WriteLine"cmd /k shutdown -r -t 1"This code says it is 'Path not...
  10. Security center missing from services & microsoft vbscript runtime error '800a0035' file...

    in Windows 10 Software and Apps
    Security center missing from services & microsoft vbscript runtime error '800a0035' file...: Security center missing from services & microsoft vbscript runtime error '800a0035' file not found.........................I done with deleting that malwarevirus ... and quick scan of that software... here are some screenshots but Window Security turn on problem is still...