windows-8

Is there a way to get push to scroll functionality in Windows 8 metro Apps?

泪湿孤枕 提交于 2019-12-20 03:02:32
问题 In the Windows 8 Consumer Preview, moving the mouse towards the left or right edge in the start screen causes the content to scroll. The standard controls (and currently released preview apps) does not seem to support this. Is there a way to make this work? 回答1: I asked this question at TechEd North America this year, after one of the sessions given by Paul Gusmorino, a lead program manager for the UI platform. His answer was that no, apps can't do push-against-the-edge-to-scroll. WinJS and

How to distribute processor-specific WindowsStore assemblies with nuget

泪湿孤枕 提交于 2019-12-20 02:54:18
问题 I've got an assembly which links to native Sqlite for Windows Store apps. Because Sqlite is native, then this assembly cannot use the AnyCPU profile - instead it has to supply separate AnyCPU/x86/x64 assemblies. I'd like to distribute this set of assemblies via nuget - so that when the package is imported then the nuget installer installs separate assemblies into each platform configuration within the csproj file. Has anyone done this before or have an example of it being done? Does anyone

Reading/Writing to Properties Files inside the jar file

匆匆过客 提交于 2019-12-20 02:49:33
问题 So i am getting back into writing Java after 4 years so please forgive any "rookie" mistakes. I need to have a properties file where i can store some simple data for my application. The app data itself won't reside here but i will be storing info such as the file path to the last used data store, other settings, etc. I managed to connect to the properties file which exists inside the same package as the class file attempting to connect to it and i can read the file but i am having trouble

Metro App How to disable Gridview scrolling

拈花ヽ惹草 提交于 2019-12-20 02:45:15
问题 Is it possible to disable scrolling in GridView ? 回答1: Try this inside of the GridView <GridView ScrollViewer.HorizontalScrollBarVisibility="Disabled"> 回答2: As an alternative you could use <GridView ScrollViewer.HorizontalScrollMode="Disabled" /> If you're setting this property dynamically, the Scrolling will be disabled but the ScrollPosition stays (on *ScrollBarVisibilty=Disabled the ScrollPosition gets set to 0) Dynamic Example: ScrollViewer.SetHorizontalScrollMode(YourGridView, ScrollMode

How do I interact with SQL in a Windows Store App

瘦欲@ 提交于 2019-12-20 02:41:28
问题 I've been asked to begin developing a Windows Store version of our company's LOB web application. What's the best way to go about interacting with out data store? My first inclination is to go the HTML/JavaScript(JQuery) route and use a web service to retrieve the data, but I'd like to attempt to use C#/XAML as I'm familiarizing myself with XAML and this would be the perfect opportunity to take a deep dive into XAML. Is Javascript the only way to communicate with out sql servers, or can I

How to change windows 8 live tile text color?

随声附和 提交于 2019-12-20 02:32:02
问题 I am creating a windows 8 application in which I want to change foreground of live tile. I Have found a set of templates but didn't find any way to change live tile's text color. I have written following template code in my application. <tile> <visual> <binding template=""TileWidePeekImage01""> <image id=""1"" src=""{0}"" alt=""alt text""/> <text id=""1"">ActySystem</text> <text id=""2"">{1} Updated: {2} {3}</text> </binding> </visual> </tile> Please Help me! 回答1: You have only two choice for

Windows 8 Metro App - Render PNGs

纵然是瞬间 提交于 2019-12-20 02:27:10
问题 I am needing to render some custom PNGs in a Windows 8 app. Basically I need to create a custom live tile by putting some drawings made in my app on top of an image for a live tile, and the only way to do this is render a PNG to disk, see here. What library should I use to do this? My first thought was to use a Xaml UserControl and RenderTargetBitmap , but it is not available in a Metro app. 回答1: WinRT XAML Toolkit has some extension methods for WriteableBitmap that you could use too. You

The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel

安稳与你 提交于 2019-12-20 01:52:07
问题 I am developing a Metro style app using C# and xaml. In my application I got the error when calling to a web service: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. What is the reason for this error? 回答1: I have a crawler program and a few moments ago I got the same exception. The reason in my case is that the security certificate (of the site I have been crawling) expired. A quick fix in my case was adding this line of code:

The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel

主宰稳场 提交于 2019-12-20 01:52:07
问题 I am developing a Metro style app using C# and xaml. In my application I got the error when calling to a web service: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. What is the reason for this error? 回答1: I have a crawler program and a few moments ago I got the same exception. The reason in my case is that the security certificate (of the site I have been crawling) expired. A quick fix in my case was adding this line of code:

The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel

那年仲夏 提交于 2019-12-20 01:52:04
问题 I am developing a Metro style app using C# and xaml. In my application I got the error when calling to a web service: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. What is the reason for this error? 回答1: I have a crawler program and a few moments ago I got the same exception. The reason in my case is that the security certificate (of the site I have been crawling) expired. A quick fix in my case was adding this line of code: