windows-8

Renewed developer license,. Now i cant debug my winrt app. Error : DEP0700

ⅰ亾dé卋堺 提交于 2020-01-06 19:42:10
问题 I am developing winrt app. Today i renewed visual studio developer's license. from then I'm getting the error. The app is running fine on simulator, but I'm trying to run it on Remote machine where its throwing this error. Error 1 Error : DEP0700 : Registration of the app failed. An internal error occurred with error 0x80070005. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues. (0x80073cf6) I checked this,this,this and this. None helpful in my case

Will msscript.ocx stop working on Windows 8?

折月煮酒 提交于 2020-01-06 15:52:11
问题 As mentioned here, this component became a part of the windows operating system. However VB6 runtime may not be supported on Windows 8 and beyond. So I'm afraid this component may be going away too (even tho it is a part of windows OS). We are going to be attempting to utilize it via a C# consumer using Interop.MSScriptControl.dll, very soon. I've even seen some folks have issues with it on Windows7. Has anyone had success running it on Windows 7 and Windows Server 2008 R2? Does anyone think

How to build my own DataGrid for Win8 App Store?

白昼怎懂夜的黑 提交于 2020-01-06 08:46:06
问题 I have a list of items that I want to display in a table-like control, for my Win8 app store. Lets say that the object Item contains a Barcode, price and amount (all are double types). I want to present a table with different columns for each prop of this object. I would also like to present this table in a LayoutAwarePage. Any Ideas? 回答1: You can start from here : How to get a data grid like UI for a collection of Items? MyToolkit - DataGrid Usage of MyToolkit DataGrid <controls:DataGrid x

How to get the default audio device?

扶醉桌前 提交于 2020-01-06 08:14:13
问题 I'm using a 3-rd party DLL which can enumerate the audio devices (providing name and guid-id) and set an audio device to the default one (by the id). How can I get the current audio device (which is used by OS)? I need either name or device id. This question seems to have no useful answers. This one as well. 回答1: You can use DirectShow for this. private IBaseFilter CreateFilter(Guid category, string name) { object source = null; Guid guid = typeof(IBaseFilter).GUID; foreach (DsDevice device

How to get the default audio device?

拥有回忆 提交于 2020-01-06 08:14:11
问题 I'm using a 3-rd party DLL which can enumerate the audio devices (providing name and guid-id) and set an audio device to the default one (by the id). How can I get the current audio device (which is used by OS)? I need either name or device id. This question seems to have no useful answers. This one as well. 回答1: You can use DirectShow for this. private IBaseFilter CreateFilter(Guid category, string name) { object source = null; Guid guid = typeof(IBaseFilter).GUID; foreach (DsDevice device

Surface Runtime Exception on Windows 8

吃可爱长大的小学妹 提交于 2020-01-06 07:43:44
问题 We are experiencing a strange problem with a software we already developed few month ago, today we had to reopen the app for the customer to make some improvement. But a strange exception start to show up. it seem that is coming from the ScatterView . But the strange thing the app is working on production and the code is the same what could be the cause? Here the exception. System.TypeInitializationException was unhandled HResult=-2146233036 Message=The type initializer for 'Microsoft.Surface

Surface Runtime Exception on Windows 8

半世苍凉 提交于 2020-01-06 07:43:00
问题 We are experiencing a strange problem with a software we already developed few month ago, today we had to reopen the app for the customer to make some improvement. But a strange exception start to show up. it seem that is coming from the ScatterView . But the strange thing the app is working on production and the code is the same what could be the cause? Here the exception. System.TypeInitializationException was unhandled HResult=-2146233036 Message=The type initializer for 'Microsoft.Surface

SetWindowPos failing to bring windows to front in Windows 8 when Windows 8 apps are running

时光总嘲笑我的痴心妄想 提交于 2020-01-06 07:14:11
问题 I have a chat application written in VB.net. It uses SetWindowPos function to set the window to top when a new chat message is received. It works fine also.But in windows 8 it will not bring the window to front when windows 8 apps like reader or photo is running.These apps will be running with full screen mode in Windows 8. So my chat application windows is not appearing at the top when popup occurs. So how can i make it to appear even when these windows 8 apps are running in full screen mode

Turn Display On and Kill Screensaver

南笙酒味 提交于 2020-01-06 03:09:29
问题 Given a Windows 8 (.1) computer with the following power options: And screensaver configured as: The goal is to programmatically turn the display on and "kill" the screensaver (so that it will be re-activated after idle time). (Note, that according to the settings it's possible that only the screensaver is on, or, that the display is off completely after the screensaver was one for about one minute). What i have tried is: SendMessage(HWND_Broadcast, WM_SysCommand, SC_MONITORPOWER, (LPARAM) -

How save photo capture windows 8 c# metro app?

时间秒杀一切 提交于 2020-01-05 07:49:46
问题 I looked everywhere but can't find how save my photo after I captured it. I use windows 8 media capture, and after I capture it, I show it on my page. But don't know how to save it to a particular place. This is how I take the photo, pretty classic: private async void Camera_Clicked(object sender, TappedRoutedEventArgs e) { TurnOffPanels(); CameraCaptureUI camera = new CameraCaptureUI(); camera.PhotoSettings.CroppedAspectRatio = new Size(16, 9); StorageFile photo = await camera