windows-8

“Unable to launch the IIS Express Web server” error

不问归期 提交于 2020-01-18 21:32:08
问题 I receive this error when trying to launch IIS Express from Visual Studio with a project that's configured to listen to an address other than localhost. Visual Studio freezes for about 30 seconds before giving the error "Unable to launch the IIS Express Web server". I've tried all the solutions posted to similar questions and I think I've done everything correctly. Here are the steps that I have taken: Add the following reservation to HTTP.SYS: netsh http add urlacl url=http://+:36899/ user

Waiting from a desktop app for events originating from a metro app and vice versa

心不动则不痛 提交于 2020-01-17 14:59:28
问题 We have a metro app and we want to test certain issues that may come up in the app due to multiple operations going on in async. So basically our plan is to have a test app (preferably a desktop app) which can wait on certain events generated from within the metro app.We also want this to be bidirectional that is our desktop test app also generates certain events on which the metro app will wait (We will inject that part in the metro app code).This way we hope to generate more scenarios. The

Waiting from a desktop app for events originating from a metro app and vice versa

南笙酒味 提交于 2020-01-17 14:57:27
问题 We have a metro app and we want to test certain issues that may come up in the app due to multiple operations going on in async. So basically our plan is to have a test app (preferably a desktop app) which can wait on certain events generated from within the metro app.We also want this to be bidirectional that is our desktop test app also generates certain events on which the metro app will wait (We will inject that part in the metro app code).This way we hope to generate more scenarios. The

Is there a way limit the no of urls in web view

时间秒杀一切 提交于 2020-01-17 05:20:11
问题 I am writing a windows 8 application in c# xaml , I am using using a web view, I want to limit the URLs to be loaded in the web view as there are some buttons which are not necessary and we have specific web apps for that purpose. So can we limit the URLs that can be loaded in a web view? A way I thought of was to check for an event which will be fired once we start navigating to a new URL. But I could not get one in MSDN doc. Any thoughts? 回答1: While not as simple as having a Navigating

Retrieving data from SQL using C# Metro App

ε祈祈猫儿з 提交于 2020-01-17 04:47:05
问题 I am new to programming Metro App for Win8 using C#. I am familiar with C# already, but when I try to use the C# code for connecting and retrieving info from a SQL Database, it does not work. Main problem is I cannot reference the "using System.Data / .SqlClient", thus I can't use the SqlConnection / DataReader. I could not find a workaround to this. Edit: Upon further research, I found out that Windows 8 Apps does not support access to local services(hence cannot access Local SQL) based on

How to add a web address to program details displayed in Control Panel - Default Programs

落花浮王杯 提交于 2020-01-17 03:59:15
问题 I am writing a program that can handle mailto: protocol. In order to allow user to select my program as a default email handler, I registered my program. However, I noticed that some, programs display clickable link to company web site under company name, for example File Explorer. How do I specify a link to my web site so that Default Programs UI shows it when my app is selected? I use Microsoft Visual Studio 2013 ultimate. Here's my program registration details in .reg format: Windows

Is there any way to programmatically launch an app so that it starts in a snapped view?

心已入冬 提交于 2020-01-17 02:20:37
问题 I want to launch a URL in my JavaScript app for Windows 8 using Windows.System.Launcher.LaunchUriAsync , but I want it to start in a snapped view. Is there any way to do this? 回答1: You can't start an app in snapped more or cause another to be started in that mode. One key thing to note is that a snapped view might not even be possible depending on the orientation or resolution of the screen. Additionally, with the philosophy of the user being in charge, it should be his/her choice to move to

AdMob SDK for windows 8

断了今生、忘了曾经 提交于 2020-01-17 01:00:31
问题 Google's AdMob page(Monetize your app) says the following: Cross platform AdMob connects you with millions of advertisers looking to reach users across platforms, including Android, iOS and Windows 8 . I have searched extensively, but failed to find the SDK for Windows 8. Could anyone provide a pointer? 回答1: The Android SDK is at https://developers.google.com/mobile-ads-sdk/download#downloadplay There is no SDK specific to Windows8. SDK is dependent upon target dev platform, iOS, Android,

Adding buttons to the Windows 8 on-screen keyboard

我的未来我决定 提交于 2020-01-16 07:53:55
问题 The Microsoft 'stocks' app has a row of buttons that are displayed at the top of the keyboard when you search for stocks: (See the buttons just above the keyboard) Is there a way to add these in my own app? 回答1: There is exactly the same question here and a person from Microsoft answered: The keyboard is not extensible. What you see is the bottom AppBar on top of the keyboard in that situation. I think you should subscribe to Windows.UI.ViewManagement.InputPane.GetForCurrentView().Showing

Adding buttons to the Windows 8 on-screen keyboard

大兔子大兔子 提交于 2020-01-16 07:53:13
问题 The Microsoft 'stocks' app has a row of buttons that are displayed at the top of the keyboard when you search for stocks: (See the buttons just above the keyboard) Is there a way to add these in my own app? 回答1: There is exactly the same question here and a person from Microsoft answered: The keyboard is not extensible. What you see is the bottom AppBar on top of the keyboard in that situation. I think you should subscribe to Windows.UI.ViewManagement.InputPane.GetForCurrentView().Showing