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

    in Windows 10 Software and Apps
    Can anyone help me: File:\windows\system32\winload.efierror code: 0xc0000098I got this message when i booted up my pc, anyone that can help me? https://answers.microsoft.com/en-us/windows/forum/all/can-anyone-help-me/282d97f3-ad5c-4cfd-a62d-afab1b5d169c
  3. Can anyone help me

    in Windows 10 Software and Apps
    Can anyone help me: I have forgot my email for my pc account and someone has tried to get into it and it’s gone in to a security thing and I can’t get into my pc bc I can’t remember my email can anyone help me please...
  4. Can Anyone Help Me!?

    in Windows 10 Gaming
    Can Anyone Help Me!?: Hello to whom it hopefully concerns,I need help with my computer. I restarted it to handle an internet connection problem an hour ago and it rolled into an update without asking me. The update seemingly completed but since then my computer has not been working properly. It is...
  5. 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...
  6. 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?...
  7. can anyone help me with this?

    in Windows 10 Software and Apps
    can anyone help me with this?: on my windows 11 computer the game bar only says "we cannot record right now, please try again later" it has said it for a month, and it will not capture game clips, how can I fix this....
  8. 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...
  9. 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...
  10. Can ANYONE HELP ME??

    in Windows 10 Software and Apps
    Can ANYONE HELP ME??: LikE i i just want my reward?? Why did u ban me for just Using 5 points like why can't a ADMIN HELP ME??? https://answers.microsoft.com/en-us/windows/forum/all/can-anyone-help-me/f2570169-71bb-458f-8fc3-2dc161e6cb18