I have done some search but nothing same up really.
I have got a visio file, and when I double click and open it up, it open 5 copies of the document in same window and names them as format of filename:1, filename:2 and so on. they seem identical.
any idea Why this happens?
thanks for the help.
Regards
Mesut
All the windows are showing the same file. When this file was saved there were multiple windows open. This workspace is saved with the file. When you reopen the file the same views are opened. To stop this close all but one window and then save the file.
Related
Trying to filter file types in Notepad++ Open file dialog box opens all files of that type in that folder
I tried to go through the Options but given they are so many, can't seem to figure out whether one can get Notepad++ to just show the files of that type instead of opening them all
I don't have any code for this
Expected results: show all files of a file type
Actual result: all files are opened.
I found the setting: (I had never changed this setting, so it was curious)
I did not find a solution online, so I will ask it here.
I would like to create a batch file that will save all openend work (for example: An opened and unsaved Word document). After it saves all opened work (with added an timestamp or a text with 'autosave'), it must shutdown.
The last part I can make myself (shutdown -t 0), but the first part is too difficult for me.
Do you have any solution?
Thank you for considering my question,
ButerBreaGrieneTsiis
I need to open this sapisvr.exe file on button click using C#, i tried using process.start("file name") but couldn't get success.
File path:
%windir%\Speech\Common\sapisvr.exe -SpeechUX
or
C:\Windows\Speech\Common\sapisvr.exe
However when i opened it in command prompt (using this path:%windir%\Speech\Common\sapisvr.exe -SpeechUX) the it successfully got opened.
Can someone tell me how to open said exe file in c# code?
Thanks,
Vinod Bhatt
Firstly, check whether you have the .exe available at the supplied location. If so, follow the given logic. I have the sapisvr.exe at the following location and it's starts as expected.
Process.Start(#"C:\Windows\Speech\Common\sapisvr.exe", #"-SpeechUX");
I have an extremely simply batch file, which has previously worked for me but no longer will.
start /wait steamcmd +login anonymous +force_install_dir C:\Games\CSGOServer\TEST
pause
For some reason I get the following error upon running the file:
http://imgur.com/Xd8di1Y (sorry, not enough rep to enbed with html)
Any ideas why start will not work given that it is clearly an accepted command? I did notice the strange characters in front of this but cannot really tell where these would come from.
Thanks in advance.
Damon
Looks like someone saved that batch file in UTF-8 format. Open the file with Notepad and click File → Save As.... Change the field Encoding to "ANSI" and click Save. Confirm that you want to replace the file.
Is there a possibility to include a text file in a .exe file? or atleast hide it from the user view? I mean let us take an example,I have a target.exe file in which it opens and reads the contents of a data.txt file and yes its working perfect with my computer But when i transfer these target.exe file without a data.txt file to some other computer where you dont have the required data.txt file.It results an error and the thing I want you to know is data.txt file has some information like example a contact info which is a confidential text.When someone runs these .exe file he should enter the name and the data is displayed about the contact info but it works only if you have data.txt file. But i want the data.txt file to be hidden it cannot be accessed normally.The data in data.txt file can be accessed only through .exe file.How could I solve it? and remember i should give my friends only the .exe file and using that .exe file they can save thier data and display contact info. Does any one have any idea to do it?
yes, you can include any user data into recource and link it with your .exe
Resources in Windows
Resource compiler reference
LoadResource
If the exe opens the file, then it is nearly impossible to prevent users from accessing the contents of that file. If you store it as a raw resource, then one can use a resource editor to view it. If you do some sort of basic encryption, then using ProcExplorer, one could view string in the process to see the information when the program executes. You could use DRM style protections, but that seems like overkill.
The answer to your general question is yes, you can store resources in an EXE file and then the EXE can open and load those resources at runtime.