explorer

Changing image src with jQuery. (Doesn't work on Firefox)

僤鯓⒐⒋嵵緔 提交于 2019-12-09 01:42:43
问题 I'm writing an Ajax contact form. I have written my own captcha too. But I have a problem about refreshing the image. I have written this like that: Reloading the captcha: <code>$("#captchaSection").load("captcha_p.php");</code> And the captcha_p.php file: <code>< img src="captcha.php" name="imgCaptcha" /></code> And I have added this lines to the capcha.php: header("Cache-Control: no-cache, no-store, must-revalidate"); header('Content-type: image/png'); imagepng($im); imagedestroy($im); It

清除Windows系统图标缓存

假装没事ソ 提交于 2019-12-09 00:29:28
如果改变程序图标重新编译之后看到的图标并未改变,这可能不windows缓存了之前的图标导致的,需要清除Window的图标缓存来显示正确的图标. 下面是清除Windows系统图标缓存的批处理代码: rem 关闭Windows外壳程序explorer taskkill /f /im explorer.exe rem 清理系统图标缓存数据库 attrib -h -s -r "%userprofile%\AppData\Local\IconCache.db" del /f "%userprofile%\AppData\Local\IconCache.db" attrib /s /d -h -s -r "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\*" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_32.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_96.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_102

Open a folder in Windows Explorer and select a file works second time only

倾然丶 夕夏残阳落幕 提交于 2019-12-08 17:13:55
问题 Using the code described in this answer of the SO posting "Open folder and select the file", I've created this function: public static void OpenExplorerAndSelectFile(string filePath) { Process.Start( @"explorer.exe", string.Format(@"/select, ""{0}""", filePath)); } This function works well, with one small issue: Calling the function for the first time for a specific file, Windows Explorer is correctly shown with the folder of the file, but it does not select the file . Calling the same

How to Access Linux Files in a WSL distro from Windows 10?

我的未来我决定 提交于 2019-12-08 15:02:49
问题 Recently I updated my Windows 10 Pro with May Update (version 1903, build 18362.116). Then for my existing distros: OpenSuse Leap 15 and Ubuntu (installed from MS Store), I wanted to open a linux directory by using Explorer and I'm getting this message: [susedis@mypc ~]$ explorer.exe . If 'explorer.exe' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf explorer.exe This problem happens also with VSC ( code ) and VSC-Insiders ( code-insiders ).

storing file path using windows explorer browser in python

半城伤御伤魂 提交于 2019-12-08 13:50:40
问题 I have written some encryption code in python that takes raw input message from user and then encrypts and decrypts it using AES. Now i want to enhance the working and i want that i can open the windows explorer from my code and browse to any file on my computer, select it and when i press OK button the path to file is stored in a variable so i can use it for processing. I have search many forums, i have managed to open windows explorer but there is no traditional OK and Cancel button. If

“Group by” a certain folder in windows explorer

若如初见. 提交于 2019-12-08 12:18:49
问题 What I am trying to do is to crate a folder for my application, and to make sure each time a user enters this folder, it's grouped, like this: except that the disks would be replaced by some folders/files. so basically I'm trying to achieve exactly what "Group by" function does: and I have to do this in my application with c/c++ code or a bat. I'm guessing this needs to be done in the registry, but I cannot find where. any idea? thanks. 回答1: You must understand that changing of Explorer view

Windows explorer like application

痞子三分冷 提交于 2019-12-08 10:28:26
问题 I am searching for a way to make this: As you see, my aim is to build something in explorer UI. Also, it looks very like like the Control Panel stuff. I would like to get code example how to do this C# (which is my "primary" language), C++ or any other programming language. Thank you. P.S: It there are any differences between making this in Windows XP, Windows Vista and Windows Seven, please say them. Edit: The application will be somehow (that's the question) into windows explorer. How

How can I programmatically use Windows File Explorer to perform a Search?

你离开我真会死。 提交于 2019-12-08 04:36:18
问题 We have a folder on our network that we want to search within, including subfolders, from our program. We want to return a list of files whose name contains "String1" or "String2" or "StringN". We would prefer to programmatically open an Explorer window and view all files that match the search results using the native windows file explorer. Is this possible? How? Thanks! 回答1: You can use the .ms-search file format to express a saved search. If you open this file format it will launch a File

How to refresh explorer after a registry change

最后都变了- 提交于 2019-12-08 01:40:56
问题 I'm trying to refresh the system (Windows 8) after changing a value in the registry, this value affects the explorer settings, Is the value to show/hide the checkboxes: Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Shown RegEdit.Set_Value("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", _ "AutoCheckSelect", "1", Microsoft.Win32.RegistryValueKind.DWord) End Sub And to refresh the system I use this: Private Sub Button1_Click(sender As

Open Internet Properties and wait until user close it C#

会有一股神秘感。 提交于 2019-12-07 16:21:54
问题 Is there any possibility to open Internet Properties window.. Code: System.Diagnostics.Process p; p = System.Diagnostics.Process.Start("InetCpl.Cpl", ",4"); .. and wait until user close it? (and then check internet connection and continue) This code not work: p.WaitForExit(); I think this problem is related to Open explorer window and wait for it to close but solution for this contains only tips specific for windows explorer browser window. Can I do this in C#? Solution Someone put here (only