windows-8

Windows 8 RibbonBar control for .NET WinForms Apps?

半城伤御伤魂 提交于 2019-12-25 05:16:33
问题 Will Windows 8 provide a ready to use RibbonBar control for .NET WinForms applications? 回答1: I suppose the ribbon bar makes use of all the WPF classes and XMAL. So it's probably not support in WinForms. MSDN Documentation: http://msdn.microsoft.com/en-us/library/ff799534(v=vs.110).aspx Here is an open source implementation of the ribbon: http://windowsribbon.codeplex.com/ Similar question: Ribbon UI Control for WinForms 来源: https://stackoverflow.com/questions/11011442/windows-8-ribbonbar

How to control number of items appearing in GridView rows and columns in a Metro Style GridView App?

邮差的信 提交于 2019-12-25 05:08:05
问题 I create GridView app and in the itemspage after binding items with the grid, it appears with 4 rows and 5 columns, when I rotate ScrollViewer to Vertical. It appears with only one column. How can I control the number of rows and columns? 回答1: You can control it in many ways depending on your layout which you have not shared. If you want a fixed number - make sure the height/width of your GridView is the correct multiple of the number of columns/rows that you want displayed. For example for a

Timer in MVVM for Windows Phone 8 and Windows 8

丶灬走出姿态 提交于 2019-12-25 03:44:24
问题 I have a Universal/Portable C# library for Windows Phone 8 and Windows 8. The library will be referenced by apps for each platform. In the library is a view model and I'm trying to put a timer in the view model. The only "Timer" available in the library for both platforms is the System.Threading.Timer (no DispatcherTimer). However, I cannot work around the cross threading issues. Is there a way to do this or do I have to create a timer in each app in the page code behind? public class

Internet connection error message - Windows 8 Application with Javascript

让人想犯罪 __ 提交于 2019-12-25 03:28:15
问题 I am trying to add a basic detection script for my application to allow it to display an error message when a call to WinJS.xhr fails. I have every WinHS.xhr call the following function onerror (using the 2nd param of .done() ) and that part is working great. function connectionError() { var msg = new Windows.UI.Popups.MessageDialog("There was a connection error while trying to access online content. Please check your internet connection."); // Add commands and set their CommandIds msg

Deploy files in the localState folder during installation of a store app

落爺英雄遲暮 提交于 2019-12-25 03:26:10
问题 I am building an app for windows store and I need some default and example data to be in the localstate folder ( Windows.Storage.ApplicationData.current.localFolder ) when the app run the first time. The folder and files structure is a bit complex and I tryed to copy the files at the start of the application, but I can't manage that way. Is it possible to have files being copied automatically from the installation folder to the localstate folder during the store app installation? 回答1:

Java applets in windows store apps

半城伤御伤魂 提交于 2019-12-25 03:24:26
问题 I have a java applet and i'm developing a windows store app. I want to integrate my applet to this application. Is this feasible.. if yes... can you tell the process. Thanks, Harsha 回答1: You won't be able to run this within a Windows Store application since plug-ins (you'd need Java installed) are not allowed for WebView (or for the non-desktop version of IE 10 in general - Flash excepted for some sites). 回答2: It is not possible at the moment. When you were installing Java you must have

Chat code in windows 8 app

不羁岁月 提交于 2019-12-25 02:39:19
问题 hi i m Windows 8 Developer and i am new in this so any one can help me to how to make chat app with using WCF service? any codes or links please send to me i have search a lot in Google but i cant found best code. i have refer these two links http://rudolfantonio.com/blog/real-time-windows-store-app-with-signalr-sample-code-c-chat-app/ http://www.c-sharpcorner.com/UploadFile/78d182/signalr-sample-chat-application-in-C-Sharp/ 来源: https://stackoverflow.com/questions/20536366/chat-code-in

access Start screen tile space through code in Windows 8

岁酱吖の 提交于 2019-12-25 02:13:53
问题 I have a requirement where I want to check if there is an empty tile space on the start screen of windows 8. Is there any way to access this space? 回答1: Nope, this is not possible. The start space is intended to be in control of the user, and its layout (rows, visible columns) can change at any time. 来源: https://stackoverflow.com/questions/13245405/access-start-screen-tile-space-through-code-in-windows-8

gnuwin32 libxml2 installation : setting several lib and include directories

江枫思渺然 提交于 2019-12-25 01:53:24
问题 I am now compiling libxml2 on windows 8 using mingw32. I have downloaded from here ftp://xmlsoft.org/libxml2/ and follow the instruction found in the README file. They instruct to configure make using a javascript called configure.js. We can run the script like this: cscript configure.js compiler=msvc prefix=c:\opt include=c:\opt\include lib=c:\opt\lib debug=yes I guess there is a super simple and maybe obvious to this question, but how do I set several lib and include folders ? I tried

How to use basic http authentication on Windows rt- Visual Studio 2012 - C#

扶醉桌前 提交于 2019-12-25 01:46:59
问题 how can i use basic http Authentication for a HTTPS URL Windows 8 Store App. I am using Visual Studio 2012, C# and XAML. Is there any point to keep attention when i use an HTTPS URL? i have tried these following methods: #1 : ###Code is UPDATED - Final running solution private async void HttpClientCall(object sender, RoutedEventArgs e) { System.Diagnostics.Debug.WriteLine(this.GetType().Name + ": HTTPCLientCall entered"); //System.Diagnostics.Debug.WriteLine("NetworkConnectivityLevel