sound before running any more code sndPlaySound WavFileName, 0 Else ' play sound while code is running sndPlaySound WavFileName, 1 End If End Sub Sub TestPlayWavFile() PlayWavFile "c:\foldername\soundfilename.wav", False MsgBox "This is visible while the sound is playing..." PlayWav...
When programming an Excel-file with links between sheets and assorted macros for whatever is needed you may want the file to behave as a program so that users can not access the ribbon even by double-clicking on the top bar. Protect the code from being accessed by pressing alt-F8 or alt...
Form1.playSound(Form1.soundLike.over, true); ActiveForm1.TopMost = false; //driver.SwitchTo().Window(GetCurrentWindowHandle(driver)); driver.SwitchTo().Window(driver.CurrentWindowHandle); try { //driver.SwitchTo().Window(GetCurrentWindowHandle(driver)); driver.SwitchTo().Window(driver.Curren...
IIf(code.IsSurrogate(subAdrs), UrlEncode(subAdrs), code.UrlEncode_Big5UnicodOLNLY(subAdrs))) Else strLnk = rng.Hyperlinks(1).Address End If If SeleniumOP.IsWDInvalid Then SystemSetup.playSound 0.484 Shell getDefaultBrowserFullname + " " + strLnk + " --remote-debugging-port=9222 " ' App...
(pfnEbHideCode, AddressOf EbHideCode_user) = False Then Exit Function End If 'showing parser error to dev pfnEbShowError = apiGetProcAddress(hVba, "EbShowError") If pfnEbShowError = 0 Then Exit Function If cHook.HookFunction(pfnEbShowError, AddressOf EbShowError_user) = False Then...