Windows 10: Basic VBScript problem - getting Userforms to work!

Discus and support Basic VBScript problem - getting Userforms to work! in Windows 10 Software and Apps to solve the problem; I have created loads of Userforms in Excel, but just can't get it to work from a VBScript vbs file...Dim objForm Set objForm =... Discussion in 'Windows 10 Software and Apps' started by The Poacher, Feb 7, 2025.

  1. Basic VBScript problem - getting Userforms to work!


    I have created loads of Userforms in Excel, but just can't get it to work from a VBScript vbs file...Dim objForm Set objForm = CreateObject"Forms.UserForm.1"fails!This forum implies i need toregsvr32 "C:\Program Files\Microsoft Office\root\VFS\ProgramFilesCommonX64\Microsoft Shared\OFFICE16\MSForms.dll" but that fails with x80000151 system error message.I don't have a MSForms.dll. I do have a FM20.dll in C:\Program Files\Microsoft Office\root\vfs\System\Any ideas.

    :)
     
    The Poacher, Feb 7, 2025
    #1
  2. S. Bode Win User

    Excel UserForm Frame Border and Color

    System OS - Windows 10

    Application - Excel 2019

    I use UserForms to present or collect information from the end user. Previously the UserForm frame and its color looked like the following:


    Basic VBScript problem - getting Userforms to work! a35c29b7-5755-49ab-a32c-f89c43e92e54?upload=true.jpg


    Currently in the VBA editor, the UserForm looks like the the image below and seems very similar to the former style of the UserForm.


    Basic VBScript problem - getting Userforms to work! 8cff5edc-6e46-444e-844d-d50785329227?upload=true.jpg


    When the current UserForm is displayed to the end user, it looks like the image below:


    Basic VBScript problem - getting Userforms to work! f04437d1-9958-4dc7-965b-a2ccc74e78e2?upload=true.jpg


    I am not proficient in Windows, but I suspect that something must have altered some systemwide frame and color parameters. I would like to know that parameters might have caused the change to the display style for the UserForm and how to get the current values of these parameters as well as the default or former values of these parameters that altered the style of the UserForm frame and colors.
     
    S. Bode, Feb 7, 2025
    #2
  3. marceepoo Win User
    Is there a way to get a list of all the folders that are open in Windows Explorer using vbscript or a DOS command?

    Is there a way to get a list of all the
    folders that are open in Windows Explorer using vbscript or a DOS command?

    And while we are at it, Is there a way using vbscript or a DOS command, to get a list of all:

    1. The .doc? files that are open?
    2. The .pdf files that are open?

    I just need to know how to get the data; I can make a list from the data.

    Any tips about finding out where I could get help in answering these questions would be much appreciated.

    Thanks,

    Marc
     
    marceepoo, Feb 7, 2025
    #3
  4. Basic VBScript problem - getting Userforms to work!

    Cheap Photo box that will get the job done

    WEll i took on this project for PP hes a hardware reviewer and wants to get the professional looking pics for the Pc parts

    Materials:
    • Big cardboard box
    • a razor
    • white material 3 yards
    • cone lights
    • stapler
    • medical tape
    • pvc pipe about 6 inches longer than your box
    • white paint any cheap finger paint would work
    the project I'm guessing will cost me $30 if it works out properly
    I will post pictures and step by step as i do it
     
    MomentoMoir, Feb 7, 2025
    #4
Thema:

Basic VBScript problem - getting Userforms to work!

Loading...
  1. Basic VBScript problem - getting Userforms to work! - Similar Threads - Basic VBScript problem

  2. Basic VBScript problem - getting Userforms to work!

    in Windows 10 Gaming
    Basic VBScript problem - getting Userforms to work!: I have created loads of Userforms in Excel, but just can't get it to work from a VBScript vbs file...Dim objForm Set objForm = CreateObject"Forms.UserForm.1"fails!This forum implies i need toregsvr32 "C:\Program Files\Microsoft Office\root\VFS\ProgramFilesCommonX64\Microsoft...
  3. Error VBScript

    in Windows 10 Customization
    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...
  4. 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...
  5. 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...
  6. Excel UserForm Frame Border and Color

    in Windows 10 Software and Apps
    Excel UserForm Frame Border and Color: System OS - Windows 10Application - Excel 2019I use UserForms to present or collect information from the end user. Previously the UserForm frame and its color looked like the following:Currently in the VBA editor, the UserForm looks like the the image below and seems very...
  7. Excel UserForm Frame Border and Color

    in Windows 10 Customization
    Excel UserForm Frame Border and Color: System OS - Windows 10Application - Excel 2019I use UserForms to present or collect information from the end user. Previously the UserForm frame and its color looked like the following:Currently in the VBA editor, the UserForm looks like the the image below and seems very...
  8. VBScript Error

    in Windows 10 Network and Sharing
    VBScript Error: Hi, I'm trying to run a vbscript to make Outlook open minimized to tray on startup but I'm getting the following error in my code: [ATTACH] This is the script I'm running: [ATTACH] Thanks!...
  9. Support for VBScript

    in Windows 10 Customization
    Support for VBScript: Hello, taking into consideration such articles as the ones quoted below, what are the potential problems/risks related to the application of VBScript in automation of day to day office tasks (involving Office 365)? Thank you in advance for your help....
  10. if Vlookup vba in userform

    in Microsoft Office and 365
    if Vlookup vba in userform: Hi again,,, I am fairly new to vba and refer to the dummies guide which I bought recently and I am running windows 10. I have set up a userform in a sheet called START and the first textbox in the userform I want to know the name of a player in my bowling team where the...