There is a nice tool that allows you to define combination of multiple projects that should be started together when running things from Visual studio, the extension is called SwitchStartupProject and can be found here:
Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts
Saturday, June 06, 2020
Sunday, December 09, 2018
Add user to windows
On windows 10, Going through the normal user dialogs is painful, Microsoft tries so hard to only allow you to add Microsoft accounts to your machine that is maddening.
If you just want to add a nice, simple local user account you will have to directly call the old add user application, to do you have to call it from the run command, so:- Open the run command dialog:
Windows key + R
- Open the user dialog, by running the command:
control userpasswords2
Labels:
annoyances
,
configuration
,
windows
Wednesday, October 10, 2018
PowerShell equivalent to Tail -F
Use
Get-Content -Wait -Tail 10
Labels:
powershell
,
useful tips
,
windows
Friday, March 04, 2016
Visual studio: Enable debug of external code
- Go to the Debug-->Exceptions dialog, check Common Language Runtime Exceptions, and check the check box in the Thrown column;
- Go to the Tools-->Options-->Debugging and uncheck the Enable Just My Code (Managed Only) check box.
Source
Labels:
debug
,
visual studio
,
windows
Wednesday, February 10, 2016
Dump Table date to SQL using Microsoft SQL Server
You can export the data in a table or DB into a SQL query using Microsoft SQL server Management studio by doing:
right click on the DB -> Tasks -> Generate Scripts. On the wizard step titled "Set Scripting Options" choose "Advanced" and modify the "Types of data to script" option to "Data"
This question was answered in http://serverfault.com/questions/147638/dump-microsoft-sql-server-database-to-an-sql-script
right click on the DB -> Tasks -> Generate Scripts. On the wizard step titled "Set Scripting Options" choose "Advanced" and modify the "Types of data to script" option to "Data"
This question was answered in http://serverfault.com/questions/147638/dump-microsoft-sql-server-database-to-an-sql-script
Tuesday, February 02, 2016
Install Disk cleanup in windows 2008 r2
The site basics.net have the instructions how to install the disk cleanup nicely (the default Microsoft way is crap because you end up withi loads of stuff installed in the system), the article with the instructions is http://www.basics.net/2013/02/25/win-server-2008-r2-how-to-enable-the-disk-cleanup-utility/
You can simply run this as administrator:
Copy 2 files to specific system folders and you can immediately use the tool:
Copy Cleanmgr.exe to %systemroot%\System32.
Copy Cleanmgr.exe.mui to %systemroot%\System32\en-US.
The 2 files are located in
- C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe
- C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui
You can simply run this as administrator:
copy C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe %systemroot%\System32 copy C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui %systemroot%\System32\en-US
Labels:
annoyances
,
Useful Software
,
windows
Subscribe to:
Posts
(
Atom
)