Windows 10: can anyone help me code in vbs on notepad

Discus and support can anyone help me code in vbs on notepad in Windows 10 Network and Sharing to solve the problem; i need help https://answers.microsoft.com/en-us/windows/forum/all/can-anyone-help-me-code-in-vbs-on-notepad/0764048d-2583-43fd-bdb0-f75f81eb8da1 Discussion in 'Windows 10 Network and Sharing' started by Emmettx36, Dec 27, 2020.

  1. Emmettx36 Win User

    can anyone help me code in vbs on notepad


    i need help

    :)
     
    Emmettx36, Dec 27, 2020
    #1

  2. VBS Msgbox

    Denis,

    • I was too lazy to compute the size programmatically. And, it the 2005 version the message box always came up hidden, so I always used 0 for the top. It's also part of my OCD to be able to control everything.
    • I personally don't need it to timeout. I used this in vbs files to ask to continue to the next step, skip the next step or cancel the vbs. BTW, I added the code back in but keep it assign it to 0.
    • Sound was calling Windows Media Player: WshShell.Run "C:\Users\donast\desktop\sndrec32.lnk",7,false the lnk is a shortcut on my old desktop that had: "C:\Program Files (x86)\Windows Media Player\wmplayer.exe"
      "C:\Users\Public\Music\Wavefiles\Twilight.wav"
    • Yes. The value is the number of the button in the order specified when calling it.
    • Never really thought about it as all my VBS/VBA code is relatively simple and I add comments in the file as necessary to remind me what is going on. I don't usually have anyone to share my code.
    FYI I use a VBS to call it. Here's a line from a test vbs I use to run your version:

    choice=Wshshell.run("custommsgbox.vbs " & wscript.scriptname & " ""CopyFiles.vbs done. Continue with UnArchVista.vbs?"" ""White"" ""Black"" 40 ""Yes"" ""No"" ""Cancel""",1,true)

    Copy it to a text editor to see all the spaces, etc. Took me a while back the to figure it out.

    Don
     
    DRARetired, Dec 27, 2020
    #2
  3. IDE for VBS?

    vbs didn't end until powershell was introduced. But it's not completely replaced. As far as I know VS6 doesn't support VBS either, just VB. Will try vbsedit at work tomorrow. See how that works out, can't be worse than notepad*Smile can anyone help me code in vbs on notepad :)
     
    DanTheBanjoman, Dec 27, 2020
    #3
  4. can anyone help me code in vbs on notepad

    IDE for VBS?

    Is there any decent IDE for VBS? VS doesn't support it and notepad makes debugging a crap job.
     
    DanTheBanjoman, Dec 27, 2020
    #4
Thema:

can anyone help me code in vbs on notepad

Loading...
  1. can anyone help me code in vbs on notepad - Similar Threads - anyone help code

  2. can anyone help me with this???

    in Windows 10 Gaming
    can anyone help me with this???: A few hours ago we got new fibre broadband installed, and everything is working, other than this computer, it browses the internet but that is all it can do, I tried launching epic games launcher, steam and the xbox game pass app. Unfortunately they dont seem to work, could...
  3. can anyone help me with this???

    in Windows 10 Software and Apps
    can anyone help me with this???: A few hours ago we got new fibre broadband installed, and everything is working, other than this computer, it browses the internet but that is all it can do, I tried launching epic games launcher, steam and the xbox game pass app. Unfortunately they dont seem to work, could...
  4. Can anyone help me?

    in Windows 10 Gaming
    Can anyone help me?: I downloaded the Windows 11 OS recently on my Acer i5 lap.. But after two days, my lap screen went black. Now I cant see anything from my lap. Also, the blue light comes and goes off from time to time. Can anyone help me to resolve this issue?...
  5. can anyone help me with this

    in Windows 10 BSOD Crashes and Debugging
    can anyone help me with this: The computer has rebooted from a bugcheck. The bugcheck was: 0x00000050 0xffffd30f80ed5778, 0x0000000000000000, 0xfffff80145adca01, 0x0000000000000002. A dump was saved in: C:\WINDOWS\MEMORY.DMP. Report Id: b6d03c2b-d822-4a2d-a4d4-9274fd303b19....
  6. can anyone help me with this

    in Windows 10 Gaming
    can anyone help me with this: The computer has rebooted from a bugcheck. The bugcheck was: 0x00000050 0xffffd30f80ed5778, 0x0000000000000000, 0xfffff80145adca01, 0x0000000000000002. A dump was saved in: C:\WINDOWS\MEMORY.DMP. Report Id: b6d03c2b-d822-4a2d-a4d4-9274fd303b19....
  7. Can anyone help me with this ?

    in Windows 10 Drivers and Hardware
    Can anyone help me with this ?: My laptop keep on experience some electic "buzz" sound whenever i watch a video or listen to a music. After i troubleshoot it still the same, here is the description. Can anyone help me with this ? Thanks in advance!! Diagnostics Troubleshooting Wizard Description...
  8. can anyone help me

    in Windows 10 Ask Insider
    can anyone help me: [ATTACH] Okay, my start menu isn't working it say critical error even i restart its still the same pls send help brand :View Paker Type: Windows 10 https://preview.redd.it/opuq0py8nuu51.jpg?width=600&format=pjpg&auto=webp&s=d90018c49e0671cd2092fe047226617003b7e0fb...
  9. Can anyone help me?

    in Windows 10 Ask Insider
    Can anyone help me?: I tried to optimize my system for better gaming. And after all the operations, i hit the restart button. But its restarting. It keeps showing the Dell logo and restarts. It keeps showing following errors: Critical Service Failed. SESSION1 INITIALIZATION FAILED. REFMON...
  10. CAN ANYONE HELP ME??

    in AntiVirus, Firewalls and System Security
    CAN ANYONE HELP ME??: A window popped up on my screen asking me to check the box if I wanted my computer for private/home use or public use. The public box was already checked and I accidently hit enter, but I really wanted to check the private box. I have gone into my settings to try and change...