Search Result

Collapse
5 results in 0.0043 seconds.
Keywords
Members
Tags
vbs
  •  

  • Suggz
    started a topic Import text file into excel using vbscript

    Import text file into excel using vbscript

    Hi,

    I am attempting to import a text file, but I get an error "(10094) ActiveX Automation: Object var is 'Nothing'."

    Not sure what the mistake here is.

    Code:
    Sub vba_excel_importing_file()
        Dim strFileName As String
    
        strFileName = InputBox("Enter the full path to the comma " & _
                   "separated file to import")
    ...
    See more | Go to post

  • maxamis4
    started a topic Remove admin rights from local users

    Remove admin rights from local users

    THIS IS A VBSCRIPT (.VBS)


    Below is code that i created. The connection to the dB works perfect. I have tested it with insert statements and it has been established.

    Code:
    Set Conn = CreateObject("ADODB.Connection")
    
    Set cmd = CreateObject("ADODB.Command")
    
    Set rs = CreateObject("ADODB.Recordset")
    
    Conn.Open "Provider=sqloledb;"
    ...
    See more | Go to post

  • Rabbit
    started a topic Random Wallpaper Script

    Random Wallpaper Script

    I created this VBScript to randomize my wallpaper. It also uses subfolders for sequential images. It chooses from one of the files or folders in the specified parent folder at random. If it chooses a file, it waits 10 minutes to change it. If it chooses a folder, it will step through the pictures in order every 5 seconds.

    To use it, copy and save the code to a .vbs file and put it in your startup folder if you want it to start automatically....
    See more | Go to post

  • How do you create a link from a vbs message box?

    Hi!

    Here's my problem-

    The order I was writing a HARMLESS batch file prank to put on my girlfriends brother's computer, but i hit a wall. You see, I know how to make a vbs message box, but I don't know how to make it so that if they hit yes, something different happens from when they hit no.

    The action I want to depend on the yes/no factor is the running of a batch file.

    Can anyone help...
    See more | Go to post

  • Appending an Incremental Variable to a String in a Loop

    Hope this finds everyone well. Happy New Year!

    I'm trying to build a Loop for a set of dropdown menus I'm inserting into a form.

    Basically, the client has to be able to select 1 to 20 donors with the dropdown options (member names) pulled from the DB. When the client is editing a donation record, she needs to be able to view the correct donors for a specific donation record selected in the dropdowns. This means matching...
    See more | Go to post
Working...