windows-10

Attachment not appearing in Outlook 2016

被刻印的时光 ゝ 提交于 2019-12-08 19:48:00
问题 I created an email with Windows.ApplicationModel.Email.EmailMessage and I added an Attachment to it with the code below: var stream = RandomAccessStreamReference.CreateFromFile(file); var attachment = new EmailAttachment(file.Name, stream); emailMessage.Attachments.Add(attachment); await EmailManager.ShowComposeNewEmailAsync(emailMessage); In the default Mail client found on Windows 10, the attachment appears as an attachment. However the attachment does not appear at all in Outlook 2016 with

Python Installer: “Error writing to file C:\\Python27\\pythonw.exe”

三世轮回 提交于 2019-12-08 19:42:31
I am trying to install Python 2.7 (64 bit) on Windows 10. In the middle of the installation, a window pops up saying: Error writing to file C:\Python27\pythonw.exe. Verify that you have access to that directory How can I resolve this issue and install Python? Stracky This error is normally encountered when the installer does not have admin rights for the drive/folder you are installing to. I also noticed that you are installing to drive C: Here are a couple of things for you to try. Open the installer program by right-clicking, and then selecting "Run as Administrator". Depending on how you

How to add Edge as my debug browser in Visual Studio 2012 on Windows 10?

亡梦爱人 提交于 2019-12-08 19:10:54
问题 I upgraded my laptop to Windows 10 yesterday. I want to be able to use MS Edge when I debug my code in Visual Studio 2012. I can't find the browser executable nor do I know if I need any special command line parameters necessary to make it work right. Any hints or tips on this? 回答1: You can add Microsoft Edge to your browser list to run directly into Microsoft Edge browser. As you can see click on browser switcher as in below image and click on " Browse With... ". Now click on Add button and

Ruby on Rails - rails server exits immediately after starting (SystemStackError)

半世苍凉 提交于 2019-12-08 18:23:27
I have set up Ruby on Rails using Windows 10 bash in C drive. I've used rbenv to set it up and updated my ruby version to 2.4.0. Then, I updated the rails version to 4.2.6 and ran bundle update to update my gem, and I ran rails server, but it's not starting the server. Instead, it exits the server immediately and it shows me the following error: /home/yschang/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/thread_safe-0.3.5/lib/thread_safe/cache.rb:155: warning: constant ::Fixnum is deprecated /home/yschang/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/thread_safe-0.3.5/lib/thread_safe/cache

When should I use Border over Grid?

醉酒当歌 提交于 2019-12-08 17:38:15
问题 The documentation for the Grid class states: Starting in Windows 10, Grid defines new border properties that let you draw a border around the Grid without using an additional Border element. The new properties are Grid.BorderBrush, Grid.BorderThickness, Grid.CornerRadius, and Grid.Padding. Does this make the Border class redundant? Why would I ever want to use a Border if I can do the same thing with a Grid and lay out children in a grid fashion if I so choose? EDIT I generally agree with

Windows 10 and Visual Studio 2015

笑着哭i 提交于 2019-12-08 15:58:36
问题 Can I start building Windows 10 apps on the preview version with Visual Studio 2015 preview? Or at least start tinkering and testing? 回答1: Update 23 March: Visual Studio Tools for Windows 10 Technical Preview is now available and will allow Windows Insiders to build Windows 10 apps with Visual Studio 2015 CTP 6 and test drive the new Windows 10 Technical Preview tools. ==================== Windows 10 specific development has not yet been announced, but the existing Universal Windows apps are

Powershell command-line with Autologon.exe

眉间皱痕 提交于 2019-12-08 15:08:31
Has anyone made the 'Autologon.exe for Windows v3.10' work with PowerShell v5.1? Execution 1: As administrator the following is run: .\Autologon.exe -n guest10 -d test.com -p Password1 -accepteula yes Error 1: Execution 2: As administrator in powershell the following is run: .\Autologon.exe guest10 test.com Password1 Error2: Nothing happens Execution 3: As administrator in powershell the following is run: $obj=.\Autologon.exe $name ="guest10" $domain="test" $pass="Password1" & $obj $name $domain $pass Error3: The expression after '&' in a pipeline element produced an object that was not valid.

Trouble with Git on Windows 10

牧云@^-^@ 提交于 2019-12-08 14:44:41
This problem is not related to any git configuration nor repository, it's related with the Program Gith Bash and the OS Windows 10 It began once I installed and customized Git Bash on my Windows profile, it never appeared the Git icon on the toolbar, which was bothering me. So I start to go after some ways to fix it. (reinstalling never worked) In an attempt to erase all customizations I made on Git Bash I deleted everything related to Git from the Windows Registry Editor, which at the time I thought would solve the problem but only made it worse. Now I can't even start my Git Bash, it's sort

Enable cURL in Windows 10

寵の児 提交于 2019-12-08 14:39:33
问题 I have set up local server in my laptop (Windows 10 Home Single Language 64 bit Version 1803). I have downloaded and manually installed apache24, php7, MySQL, phpMyAdmin and wordpress by following this tutorial. I am trying to enable cURL and so in the php.ini file i have changed ;extension=curl to extension=curl I have restarted the apache server. After that I run the following code at localhost/curl_enable.php to check whether cURL is enabled. <?php echo 'Curl: ', function_exists('curl

Why does Set-ItemProperty have no effect for IIS applications under Windows 10?

依然范特西╮ 提交于 2019-12-08 14:35:46
问题 Most of our web applications include a Deploy.ps1 Powershell script. Octopus Deploy uses this to configure apps during production deployments, but we also use it to set up developers' local IIS settings. Works absolutely fine on Windows 7, Windows 8.1, and on all our Win2012 production servers. It's not working on Windows 10, and this appears to be because the Set-ItemProperty cmdlet has no effect. No error message or anything, it just doesn't do anything. The IIS site api.example.com already