windows-8.1

request.Method = “POST” working but NOT request.ContentLength

三世轮回 提交于 2019-12-11 16:46:57
问题 Some times the simple things can stump you and here is one for me. I want to do a simple web request to verify a username and password. Its working just fine in Windows Phone 8 but I can not seem to get the same code to work on Windows 8. I understand I can not do a GetResponse as I do with Windows Phone so I am using GetResponseAsync and that part if working fine. But the response from the Server is that it did not get the " POST " component in the header. Here is the Windows Phone 8 code

“type” Command Not Working As Expected on Git Bash

三世轮回 提交于 2019-12-11 16:35:29
问题 The type command, in Linux, returns the location, on the filesystem, of the given file, if it is in the current folder or the $PATH . This functionality is also available on Windows with the Git Bash command line program. However, I have run into what seems like a strange corner case where the file exists on the $PATH but doesn't get returned using the command. I am thinking of buying a new computer soon, so I looked up the method of transferring the license key from one computer to another,

Why would my side-loaded Windows Store app go no further than the splash screen?

大憨熊 提交于 2019-12-11 16:08:26
问题 I have a Windows Store App that, of course, runs fine on my dev machine. After creating the package to side load for testing, I installed it on another (desktop) machine. Using the instructions for side-loading contained on pages 25 and 26 of Brundritt's free ebook "Location Intelligence for Windows Store Apps", my app seems to install just fine, except that the app is not added to the Windows 8.1 start screen at the end, as expected. Nevertheless, I can find the app via the Search

How to Change the LockScreen back ground (find windows.system.UserProfile.dll)?

风格不统一 提交于 2019-12-11 15:57:26
问题 I started a windows form application which imports images from files and store them and specify a radio button to each one. it have a button with the name 'Lock' so if user select one radio button and then press the button the app should change the lock screen image and then Lock the screen. But I don't know how to set the image and lock the screen. I googled later and the answer about the LockScreen.blabla didn't work for me because I can't do using windows.system.userprofile; If some one

Procedure for creating an MvvmCross Store application for Windows 8.1 from scratch?

我们两清 提交于 2019-12-11 13:19:07
问题 Using Visual Studio 2013, I am creating a new Windows Store application for Windows 8.1 based on MvvmCross . I first create my PCL .Core class library with view models according to the instructions in the Core.txt to-do file. Next, I create my .Store application, now following the instructions in the Windows Store UI.txt to-do file. I do want to use the navigation framework, so I am replacing the FirstView.xaml page with a Basic Page FirstView.xaml . According to the instructions, the

Cordova Windows 8.1 on Visual Studio 2015 external image loading to img tag

隐身守侯 提交于 2019-12-11 13:17:56
问题 I have a problem with displaying images from external source in Cordova app. All DOM is working but images won't to load. I am focused to made it working for Windows 8.1 only. I created a Cordova project for javascript. I have set in config.xml file: <?xml version="1.0" encoding="utf-8"?> <widget xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:vs="http://schemas.microsoft.com/appx/2014/htmlapps" id="pl.com.sk.todolist" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" defaultlocale="pl

How to deploy APPX to running Windows Phone Emulator?

£可爱£侵袭症+ 提交于 2019-12-11 12:15:37
问题 I'm trying to deploy a appx package from C# to a Windows Phone Emulator as seen here: How to deploy an .appx into Windows Phone 8.1 The thing is that the method GetDevices() returns a list of devices like this: {Device} {Emulator 8.1 WVGA 4 inch 512MB(ES)} {Emulator 8.1 WVGA 4 inch(ES)} {Emulator 8.1 720P 4.7 inch(ES)} I don't know why it appends the (ES) at the end. After i execute the code, the Emulator launches but it gets stuck. It does not work. Can i instead, have a already running

Connect Windows 8 app to MySQL

空扰寡人 提交于 2019-12-11 12:06:36
问题 I am making my first Windows 8 app using C#. I have a MySQL Database that I would like to connect to. I have done this before with windows forms and everything went smoothly. However with the windows 8 app it won't connect. This is my connection string: string myConnectionString = "Server=mysql9.000webhost.com; Database=a2236339_snooker; Uid=a2236339_joe; password=TeamPr0ject;"; The code looks like: MySqlConnection connection = new MySqlConnection(myConnectionString); connection.Open(); and

Cannot run Coded UI tests as different user on Windows 8.1

随声附和 提交于 2019-12-11 11:36:45
问题 We have a Coded UI test suite which depends on running our tests as different users. We accomplish this by using the following ApplicationUnderTest.Launch overload: ApplicationUnderTest.Launch(browserLocation, null, url, username, GetSecurePassword(password), domain); We use Visual Studio 2013 premium (update 3) and had no problem when running on Windows 7 and Windows 2012 R2. Now we have migrated to Windows 8.1 and we are no longer able to run as a different user. We get the following

Cyclic tile template Windows Phone 8.1

血红的双手。 提交于 2019-12-11 11:30:13
问题 I am trying to create cyclic tile template using this code TileUpdateManager.CreateTileUpdaterForApplication().EnableNotificationQueue(true); var tileXml = TileUpdateManager.GetTemplateContent(TileTemplateType.TileSquare150x150Image); var tileImage = tileXml.GetElementsByTagName(“image”)[0] as XmlElement; tileImage.SetAttribute(“src”, “ms-appx:///Assets/image1.jpg”); var tileNotification = new TileNotification(tileXml); TileUpdateManager.CreateTileUpdaterForApplication().Update