windows-runtime

linq to sql (Local database for Windows Phone) better ? (OR) A sqlite-net version for mobile better ?? for windows phone 8 local database creation

感情迁移 提交于 2019-12-21 06:04:29
问题 Hi I am creating windows phone 8 app , i want to store huge amount data in my app , i have already completed my windows 8 tablet app using sqlite version for windows 8. my doubt is regarding creating a local datbase in windows phone 8 which is the most reliable one to go with ? option 1:- Working with SQLite in Windows Phone 8: a sqlite-net version for mobile option 2:- linq to sql (Local database for Windows Phone) if i use the option 1 i can easily re-use all my Data, DALC, BIZ layers as it

Line numbers in exception stack on winRT

蹲街弑〆低调 提交于 2019-12-21 05:42:09
问题 We have a project for windows store app using WinRT (and XAML, C#). The problem is, that when some exception is thrown and I log the exception using Debug.WriteLine(ex); , there are no line numbers, so I do not know, where actually was the exception thrown. I have of course DEBUG configuration with "full" symbols set in Project Properties > Build > Advanced > Debug Info. At first I thougth that it must be something in our project. HOwever, when I downlaoded some samples from microsoft and put

How can I determine which items in a GridView that are visible in the current scroll window?

你说的曾经没有我的故事 提交于 2019-12-21 05:41:28
问题 I have a GridView in my main app page and I want to do some background processing for the items that are currently in view for the user (high priority), and then of course do the other items too (low priority). I can access the ScrollBar and the ScrollViewer, but none of them appear to tell me which of my items are in the current scroll window. I could try to hack this in, but it gets tricky because the number of row/columns change based on the size of the scroll region. http://msdn.microsoft

How can I determine which items in a GridView that are visible in the current scroll window?

六眼飞鱼酱① 提交于 2019-12-21 05:41:02
问题 I have a GridView in my main app page and I want to do some background processing for the items that are currently in view for the user (high priority), and then of course do the other items too (low priority). I can access the ScrollBar and the ScrollViewer, but none of them appear to tell me which of my items are in the current scroll window. I could try to hack this in, but it gets tricky because the number of row/columns change based on the size of the scroll region. http://msdn.microsoft

Accessing other processes in Win8 Metro-style app

為{幸葍}努か 提交于 2019-12-21 05:06:16
问题 I am trying to build a Windows 8 "metro-style" app that will operate as a "app killer". For those of you who have used Win8 (Tech Preview) you'll notice that once you open a metro-style app you cannot close it (without going into Task Manager and ending the process). My challenge is that I cannot access 'System.Diagnostics.Process' from my metro-style app, nor do I know if there is an comparable alternative within the WinRT. I also thought of building a separate app that hosts a service for

How easy is it to port a Windows Phone 7 application to Metro on a Windows 8 tablet?

瘦欲@ 提交于 2019-12-21 04:09:23
问题 I know that Metro on both platforms shares a common “look and feel” and that WinRt makes use of XAMLand C# (or VB.NET) like Silverlight does on Windows Phone 7. However I also know that WinRT is not Silverlight. Therefore what is the process of creating an app that will work on both a Windows 8 tablet and a Windows 7 (or 7.5) Phone? How close is WinRt to Silverlight? 回答1: Despite certain people in Microsoft claiming it will only require changing a couple of lines of code... The only possible

SignTool internal error when trying to repackage an APPX package?

筅森魡賤 提交于 2019-12-21 03:58:28
问题 I'm analyzing existing Windows Store applications and modifying them to make sure my company's obfuscator works with them. I've ran into a bit of a problem doing that though. I can grab an APPX package from the store easily enough(requires Fiddler to get the URL). I can then just use any unzip program to extract the appx to a folder. I can then take the assemblies in the APPX and modify the IL a bit. I then remake and sign the package: makeappx pack /d "mypackage" /p "mypackage.appx" signtool

Is it possible to build WinRT applications on Windows 7?

孤者浪人 提交于 2019-12-21 03:31:39
问题 Using Visual Studio 11 is it possible to build WinRT applications on Windows 7? 回答1: No; WinRT is only available on Windows 8 and AFAIK there have been no announcements that they will be made available in Win7. At BUILD, they specifically said that WinRT was only to be supported on Win8. By extension, you won't be able to develop against WinRT on a Win7 machine because the support just won't be made available. 来源: https://stackoverflow.com/questions/9574907/is-it-possible-to-build-winrt

HTML/CSS Renderer for Metro-Style Apps

99封情书 提交于 2019-12-21 02:45:22
问题 The current WebView for Metro-Style apps is unusable for me because it is hosted in a seperate HWND, making it impossible to overlay the WebView with other controls. Additionally, the APIs provided are not enough for me to use it (e.g. no possibilty to handle the "onNavigation" events). I am looking for a C++ library that can parse HTML/CSS and render using DirectX. I am willing to write my own renderer but it is not easy. I would help to atleast have a proper HTML/CSS parser. I also checked

How to handle WinRT exceptions that result in Exception?

只谈情不闲聊 提交于 2019-12-21 01:59:27
问题 If a Windows runtime type raises a COM error .NET seems to wrap this error often (or always?) just into an Exception instance. The error message includes the COM HRESULT error code. When using the new Cryptographic API with AES-CBC for example a wrong buffer length results in an Exception with the message "The supplied user buffer is not valid for the requested operation. ( Exception from HRESULT: 0x800706F8 )". Well, How are we supposed to handle those exceptions? Should we read the HRESULT