FAQ Database Discussion Community


Log all unhandled exceptions

windows-runtime,windows-8.1
Every time when an unhandled exception occurs the VS show me debugger on file App.g.i.cs: #if DEBUG && !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION UnhandledException += (sender, e) => { if (global::System.Diagnostics.Debugger.IsAttached) global::System.Diagnostics.Debugger.Break(); }; #endif As I know this file is automatically generated and I can not make any changes in it. But I want...

How to split text with HTML tags to array

c#,windows-phone-8.1,windows-8.1,windows-universal
I have very simple text with HTML (only <b> tag) e.g. Lorem Ipsum is <b>simply dummy</b> text of the printing and <b>typesetting industry</b> I would like to split the text to array like this: [0] - Lorem Ipsum is [1] - <b>simply dummy</b> [2] - text of the printing and...

How can I bind Pushpin location in WPF using MVVM?

wpf,mvvm,windows-8.1,bing-maps-api
I'm developing a Desktop application that uses Bing maps and MVVM. In the application, a user adds a Pushpin in the map by double clicking on it, the Pushpin location gets saved in an Event class and the Event class is sent through a WCF Service. I would like to...

WinJS app with C# background task for push notifications

javascript,c#,push-notification,windows-8.1,winjs
I'm trying to create a background task for push notifications in C# that is linked to a winjs app (before anyone asking: reason not to do this in js is because a bug in windows phone runtime, see here). Here is my first draft: public sealed class myPushNotificationBgTask : IBackgroundTask...

How can i import windows.media.capture in my WPF project?

c#,wpf,visual-studio-2013,windows-8.1,windows-7-x64
I am really confused about windows media capture namespace, I would like to import the namespace to develop camera function in windows 8.1. FYI, I developed using visual studio 2013 and windows 7 64 bit, i already tried to install windows 8 Software Development Kits also, but i still can't...

MySQL Server 5.7.7 installation stuck on “Starting Server” on Windows 8.1

mysql,windows-8.1
I downloaded the mysql-installer-web-community-5.6.24.0.msi from mysql.com. First I ran into this issue which was resolved. Then I ran into this issue and while applying the suggested fix I am getting the following error and the installer is still stuck on "Starting Server" with the following message ...

DataBinding Collection and change element of collection

c#,wpf,xaml,data-binding,windows-8.1
I have a colection and a ListView to which I have binded a collection of objects: <ListView ItemsSource="{Binding Levels}"... /> Here is a Levels collection: private ObservableCollection<Level> _levels; public ObservableCollection<Level> Levels { get { return _levels; } set { SetProperty(ref _levels, value); } } And here is a Level class:...

How do I get python to fetch information from command prompt such as 'tasklist'

python,command,windows-8.1
I want a program in python that can get a list of all of the programs running, like all the .exe's, and I want to be able to get them into a variable or array so that I can maybe use a for loop to go through them and filter...

How to store PDF files: in sqlite or in the separate folder

sqlite,windows-8.1,win-universal-app,sqlite-net
I am developing Windows 8.1 Universal Application and I use Sqlite and Sqlite-Net to store the data. Now I need to add ability to store PDF files (1 Mb - 50 Mb) files in my application. What is the best solution in this case? Store files in the Sqlite or...

Webfonts not rendering on IE11 win8.1

windows-8.1,internet-explorer-11,webfonts
I have a weird problem with webfonts rendering on IE11 (v11.0.9600.17631) windows 8.1 pro. I am using both an iconmoon produced iconset and 2 typekit fonts (proxima nova and rooney) and nothing is rendered using these. I have tried so many things but nothing seems to do the job. Tried...

Switch back to PowerShell mode after switching to cmd mode

windows,powershell,cmd,windows-8.1
From PowerShell, we can run cmd to switch to a command prompt. From there, how can we switch back to PowerShell. For instance... PS> cmd C:\temp> echo I am in command mode. I am in command mode. C:\temp> echo How do I switch back to PowerShell mode? How do I...

Monogame running very slow on Windows Phone

c#,windows-phone-8.1,windows-8.1,monogame
Recently, I decided to resurrect one of my old XNA game projects and port it to a Windows Universal App using Monogame. I managed to get the game running perfectly (albeit with a little less performance) on Windows 8.1, but ran into some huge problems with Windows Phone. First, it...

WCF Service times out from windows 8 unit test project

wcf,unit-testing,windows-store-apps,windows-8.1
When the application is run, WCF service works as expected. When the exact same code is called from a unit test project, the error below occurs. Is there something special needed for windows 8 test projects to access the WCF service? Result Message: Test method DataServiceTests.MyTest threw exception: System.AggregateException: One...

WinJS programmatically take screenshot of app

cordova,windows-8.1,winjs
I'm working on a Cordova application for Windows 8.1 and I'm trying to build a plugin that can take a screenshot of the app. I've looked around MSDN, but haven't found anything that can do that. This kind of plugin exists for iOS and Android ( https://github.com/gitawego/cordova-screenshot ), but I...

Checking for updates to Windows Store apps from within the application

c#,windows-8,windows-runtime,windows-8.1
I'm trying check (programatically) for updates to Windows Store apps from within the application and notifying users about the new release. How can i get the version of the app avalaible on Windows Store ? Thanks...

Is it possible to use F# to develop Windows 8 Universal App

f#,windows-8.1
I would like to use F# to develop windows 8.1 universal app. So I have created F# portable library. But unfortunately I can not open Windows.Storage namespace on it. Then I have created C# Windows Apps Class Library where I have implemented the function I was needed: public static async...

UnicodeDecodeError in pip install flake8 on Windows 8.1

python,windows-8.1,pip,flake8
I'm trying to install the flake8 module for Python (in order to use the SublimeLinter-flake8 package to Sublime Text 3) but get an error message on install (below). What am I doing wrong here? C:\Windows\system32>python -m pip install flake8 Collecting flake8 Exception: Traceback (most recent call last): File "C:\Python27\lib\site-packages\pip\basecommand.py", line...

Environment vars by Power Shell

windows,powershell,environment-variables,windows-8.1
How can I get environmet variables by Power Shell? What command should I execute. I use Windows 8.1

C# Downloading And Using File Causes System.UnauthorizedAccessException

c#,windows-phone-8.1,windows-8.1
i'm trying to create an app that downloads a file and then edits this file. The Problem Im having is once the file is downloaded it doesn't seem to let go of that file, i can download the file to its local storage, i have gotten the file manually from...

Get folder from windows service(system.io) to Windows store App (Windows.Storage)

.net,vb.net,windows-store-apps,windows-8.1,storage
I currently have an application which needs to retrieve images from a server and copy them locally on a tablet. The problem is that I don't have access to the server from my application. This is why I use a Windows Service to get data from my database or in...

Current directory and parent directory seem broken

shell,command-line,windows-8,windows-8.1
I have Windows 8.1 and I have a strange problem. When I launch a Command Terminal, it seems that current directory and parent directory don't work when I try to use it to launch executable. For example, considering the following folders : C:/dirA/dirB/program.exe C:/dirA/dirB/dirC I put dirA/dirB in the PATH...

TFS build error: Could not find SDK “Bing.Maps.Xaml, Version=1.313.0825.0”

windows-8,tfs,windows-8.1,bing-maps,tfsbuild
I want to build my windows 8 application on tfs but I have a problem with Bing maps sdk. There are no Bing maps dll that I can easily add it to references. How can I solve the problem? I got this error in tfs build log file. "C:\Builds\1\...sln" (default...

Encrypt & Decrypt Local Images in Windows Store App

c#,encryption,windows-store-apps,base64,windows-8.1
I'm building a Windows Store App including a local folder of Images. I want to protect all the Images so they can't be accessed from: C:\Users[username]\AppData\Local\Packages\LocalState\Settings\settings.dat I know I should encrypt and decrypt the Images using the DataProtectionProvider class, but the documentation only shows how to encrypt/decrypt strings... How should...

Force windows WebView to load content in Portrait mode

xaml,unity3d,windows-8.1
I have windows phone 8.1 game created on unity3d. It's support landscape orientation only. But I need a WebView in my game to load a page in portrait mode. How to force WebView to load content in Portrait mode?

C# numeric onscreen keyboard

c#,keyboard,windows-8.1,numeric-input
I'm developing app for tablet with Win 8.1. I've got some TextBoxes with numeric input only and I need to popup numeric onscreen keyboard instead of standard one when entered. There's InputScope for WinPhone. Exists anything similar for Win 8.1?

the dispatchertimer is by default running for the whole app and does not stop

windows-phone-8.1,windows-8.1
The dispatchertimer by default in running for the entire application windows 8.1 I want that it should start only when a particular item is clicked but it's running for entire app..

Windows 10 FIle query issues

c#,windows-phone,windows-phone-8.1,windows-8.1,windows-10
I am trying to follow the instructions to get files from the knownfolders in windows 10 as shown below, https://msdn.microsoft.com/en-us/library/windows/apps/br227275.aspx try { StorageFolder folder = KnownFolders.PicturesLibrary; IReadOnlyList<StorageFile> pics = await folder.GetFilesAsync(Windows.Storage.Search.CommonFileQuery.OrderByDate, 0, 20); Debug.WriteLine(pics.Count); } catch(Exception ex) { Debug.WriteLine(ex.Message); } The same code works in WindowsPhone 8.1 SDK. But on...

How to get current currency code of current location in Windows Phone 8.1

c#,.net,geolocation,windows-phone-8.1,windows-8.1
I locate the current location - Country and Country Code, but how to get the currency code of this location in Windows Phone 8.1?

Error when instantiating WinJS.UI.ListView with template from code

javascript,windows-8,windows-8.1,winjs
In the process of creating a custom WinJS control which contains a WinJS.UI.ListView, I was attempting to allow a user to pass a selector for the template. However, no matter if I have the template "pre-created" in the HTML page like you would expect: <div data-win-control="WinJS.Binding.Template"> <!-- ... --> </div>...

Bash alias doesn't work in cygwin

bash,cygwin,windows-8.1,alias
Can someone please explain to me how to set up bash aliases? I am using cygwin on windows 8. I added alias my_first_alias='git status' at the end of /.bashrc file. Typing my_first_alias into cygwin results in -bash: my_first_alias: command not found. Trying to restart cygwin, running . .bashrc doesn't help...

How to run a script on startup in hidden mode

batch-file,vbscript,windows-8.1,startup
I have a batch file, named prova.bat, and I need to launch it at the startup of the computer, and I need to launch it in hidden mode (with no visible prompt). I have found on the net solutions to launch the batch at the startup OR solutions to launch...

nasm is not executing file in Windows 8

windows,assembly,windows-8.1,nasm
Recently started learning Assembly so I'm relatively new to this. We use Linux back at school but I wanted to try coding on my PC. I'm using nasm on a Win8.1 64-bit system. Here's the code: section .text global [email protected] [email protected]: mov edx, len mov ecx, msg mov ebx, 1...

Why does System.Diagnostic.Process throw exception when switching apps using windows task bar icon? [duplicate]

c#,.net,winforms,windows-8.1
This question already has an answer here: What is a NullReferenceException and how do I fix it? 17 answers I'm currently developing an app that uses System.Diagnostics.Process to get the Window Title of the Current Active App or the App on the ForeGround. Now, this is fine and working...

how to set focus to a SearchBox control in windows 8.1 store app?

wpf,windows-8.1,search-box
I am developing a windows 8.1 store app. I have a SearchBox control in my app. I want to set focus on it when pointer is pressed on it. I have tried the following code but it is not working private void SearchBox_FullView_PointerPressed(object sender, PointerRoutedEventArgs e) { SearchBox_FullView.Focus(FocusState.Pointer); } How...

VBS - how to run two browser one is full screen and another is minimised?

shell,google-chrome,vbscript,windows-8.1
I have a kiosk where i need to run Chrome.exe as --kiosk and another Chrome.exe minimised. Using regedit run method VBS is executed. Problem is on reboot it is messed up always the minimised chrome.exe does not start as minimised, always its shows on top of --kiosk mode. How can...

How to get a button's ID when clicked in Windows 8 apps?

javascript,html,javascript-events,click,windows-8.1
I'm trying to get the ID of the button I clicked but I can't do it. I tried everything but it doesn't work. How can I do this? ...

Hadoop 2.6.0 build on Windows 8.1 fails - Ant BuildException

maven,hadoop,build,windows-8.1,java-7
Hello I'm trying to build hadoop 2.6.0 on Windows 8.1. Unfortunately without luck so far. I have installed: jdk1.7.0_71 (added Variable JAVA_HOME with value C:\Program Files\Java\jdk1.7.0_71 to the User Variables) cygwin64 (added its installation-directory as value D:\cygwin64\bin to the PATH Variable under System Variables) Maven 3.2.5 (added its installation-directory as...

Background color part of textbox

c#,xaml,windows-phone-8.1,windows-8.1,windows-universal
I've been trying to set a background color to a part of a textblock. Since there is no function to this with in the TextBlock itself I figured I should be adding inlines. However the inline objects (Run, Span, e.g) have a private background field that gets its value from...

COM STA model in Parallel Patterns Library (PPL)?

visual-c++,visual-studio-2012,mfc,windows-8.1,ppl
I have MFC application that use Parallel Patterns Library for some asynchronous tasks. Some of them use COM objects, so i need to initialize COM library in such tasks. In all such cases I use COM STA model initialization, because main thread is MFC app (MFC App thread can be...

Force the App to become on Portrait View when clicking a Button

c#,windows-store-apps,windows-8.1,screen-orientation
On a certain ButtonClick event, I need the app to turn to Portrait View even if the user is holding it in the Landscape View. The ApplicationView only has a GetForCurrentView().Orientation string, not a Set. How can this be possible?

Activate Stacks only for some specific ETW Tasks in a provider?

windows-8.1,stack-trace,etw,wpr
Since Windows 7 it is possible to activate callstacks for usermode events. This works fine, but sometimes activating stacks for all tasks/Events in a provider is not needed and it would be nice to only activate stacks for some specific Tasks. Is this possible?

How do you calculate pixel size of string?

c#,windows-phone-8.1,windows-8.1,windows-universal
I have a string. I know the font family and the font size it is going to be displayed in. I need to know how many pixels the text will take up in the ui. So that I can determine whether to show another element. How would I do that?...

Where is the Conversion Namespace in Windows Store Apps

.net,namespaces,windows-store-apps,windows-8.1
I am trying to write my first Windows Store App and am using some code from an old project. I am developing on a Windows 8.1 Pro machine with Visual Studio 2013 Express. I have no idea what people are calling the version of .NET I'm targeting and therefore, cannot...

Fill Windows Share Charm with Clipboard Data

windows-8.1,share,clipboard,charms-bar
I want to share data in the Clipboard (for example Images) through the share charm. Is it possible to use the windows clipboard content in the Windows 8.1 Share Charm? Unfortunately the DataTransferManager isn't available in desktop apps, so how am I able to share the clipboard with the charms-bar?

MS Access running a funtion from scheduled task not working

windows-8.1,scheduled-tasks,ms-access-2003
I am trying to run a macro daily from the windows task scheduler (w8.1 for tesing and server 2012 in production - both have the same problem) my .bat file: C:\Batch\attrib.exe -r C:\...\db.mdb rem ping 1.1.1.1 -n 1 -w 10000 > nul "C:\Program Files (x86)\Microsoft Office 2003\OFFICE11\MSACCESS.EXE" "C:\...\db.mdb" /x "Launch"...

What is the alternative of Pivot Control in Windows 8.1?

c#,listbox,windows-8.1,win-universal-app
I am migrating my Windows Phone 8 app to Windows Universal Apps. I am currently working on Windows 8.1 project.In my Windows Phone 8 app , I used Pivot Control to show multiple pages and for each App bar was different and in that when I used to slide the...

How to call a function in Windows 8 app?

javascript,html,windows-store-apps,windows-8.1
I created a function like this: text: function () { document.getElementById("id").innerText = "Hello"; } I tried to call this function from another function like this and it doesn't work: anotherFunction: function () { this.text(); } The error I get: Unhandled exception at line 89, column 21 in ms-appx://b9f1ea0e-9eeb-41e4-a788-92c282715e21/pages/game/game.js 0x800a01b6 -...

ResolutionScale vs RawPixelsPerViewPixel on Windows Phone 8.1

windows-phone-8.1,winrt-xaml,windows-8.1
I'm currently working on a universal Windows 8.1 / Windows Phone 8.1 application, and am trying to make sense of the various types of display information that's being presented to me. For Windows Phone, we have access to two different properties in the DisplayInformationClass: ResolutionScale RawPixelsPerViewPixels ResolutionScale seems to only...

How to play MediaElement only once in Timespan?

c#,windows,windows-8.1
How to start mediaElement only once in given Timespan. Now it opens mediaElement every second after Button_Click. I know how to do that in Button_Click, but I need Dispatcher, because of the rest of the code. It is Windows Store app. Thanks public sealed partial class MainPage : Page {...

InnoSetup - while compiling sign tool failed with exit code 0x1

windows-7,windows-8.1,inno-setup
Its failing to compile in signing. In my innosetup packaging i have to include some third party software such as VLC, Google Chrome, Putty, etc etc. The moment those third party tools are included compile/build is failing. But when i do not use them its compiling well. (unfortunately i cant...

Can't start Eclipse Luna SR2 on Windows 8.1 (64-bit)

java,windows-8.1,eclipse-luna
I want to learn how to program apps for Android, and have both a new build of Java installed as well as Eclipse Luna SR2 downloaded and extracted. However, it seems I am running into a problem in starting up; I'm not sure how to solve the issue, unless it...

How to go from c: disk to d: - with GIT

git,windows-8.1
I start using GIT and I am still learning. List items -> ls go to folder -> cd FolderName But how to go to folder on d: hard drive?...

Unable to resolve property '%1' while processing properties for Uid '%0'

c#,windows-runtime,windows-store-apps,windows-phone-8.1,windows-8.1
I'm trying to localize my WP 8.1 app. Here is a part of Strings/en-us/Resources.resw: <data name="SampleProperty.Text" xml:space="preserve"> <value>Sample text</value> </data> <data name="SampleProperty.SomeRandomKey" xml:space="preserve"> <value>SAMPLE TEXT</value> </data> Also one of application pages contains the following code: <TextBlock x:Uid="SampleProperty" /> But the app throws an exception in process of navigation to that...

Multiple item template inside grid view in Windows 8.1 store app

c#,xaml,windows-store-apps,winrt-xaml,windows-8.1
In a gridview item template , is it possible to have multiple templates ? In my screen i am having set of icons in a single section of GridView control. I wqant to have one of the icon to have a larger dimension. How can i achive it. <GridView> <GridView.ItemTemplate>...

Run Windows 10 Universal Apps on Windows 8.1

windows,windows-8.1,win-universal-app,windows-10
Is it possible to run a windows 10 universal app on windows 8.1? I searched a lot, but I didn't find a clear answer on MSDN etc. Thanks....

CryptographicException (The parameter is incorrect) on Windows 8.1 but not Windows 7

c#,cryptography,windows-8.1,rsa
I have some code that's been working fine on Windows 7 but fails now that I've started using a Windows 8.1 dev box (see repro code below). Is RSA different on Windows 8.1 vs. Windows 7? using System.Security.Cryptography; using System.Text; namespace RsaBug { class Program { static void Main() {...

Check if a character typed in a PasswordBox is numeric or not

c#,xaml,windows-store-apps,windows-8.1
I have researched a little and it seems that there is not InputScope for passwordboxes in xaml. I'm setting up a pin field and only want numbers. if figure i will need to check the if the key pressed is numeric in C# before it writes it to the box....

navigating between pages using radio buttons in winrt

c#,windows-runtime,windows-phone-8.1,windows-8.1
i'm trying to navigate between pages while toggling the radio buttons like the tab control. i've tries a few ways.Here they are first the xaml <StackPanel> <RadioButton Content="navigateto1" Checked="RadioButton_Checked"/> <RadioButton Content="navigateto2" Checked="RadioButton_Checked_1"/> <Frame x:Name="contentframe"> </Frame> </StackPanel> then the code behind private void RadioButton_Checked( object sender, RoutedEventArgs e ) { var...

npm install error: error : spawn ENOENT when trying to build Cordova project

cordova,visual-studio-2013,npm,windows-8.1,visual-studio-cordova
I'm having trouble compiling my project, I am beginner with Cordova. Tried in many ways, to install the dependencies separately (maybe not knife sense), but also tried to change the environment variables (ex: C:\apache-ant-1.9.3 ...). I also tried to reinstall ("vs-mda and vs-mda-targets"). I am using Visual Studio 2013 Tools...

WinRt - FileSavePicker, save image from URI to file

c#,windows,windows-runtime,windows-8.1
I would like to ask how I can save image from stream to file. I have created this FileSavePicker, but I don not know how i can save image from Uri Thanks StreamReader reader = new StreamReader(dataStream); // Read the content. string responseFromServer = reader.ReadLine(); // URi with image private...

How to detect If AdRotator V2.1 is showing an Ad or an error occurred

windows-store-apps,windows-8.1,ads,adrotator
I want to update my UI based on the scenario when an Ad is being shown or an error occurred. I am using AdRotator v2.1. Looking at the source code it seems that the control would collapse if it could not serve an ad from various provider, and the IsAdRotatorEnabled...

Opening another WinRT app from another running app in FULL mode

c#,windows-store-apps,windows-8.1
I have 2 apps. I am running one in full mode and want to click a button from the first app to launch the second app . My problem is that my second app is getting launched but both apps are in Snapped mode. I programatically want to allow the...

Value does not fall within the expected range windows store app

c#,xaml,listview,windows-store-apps,windows-8.1
My xaml codes it this: <Page x:Name="pageRoot" x:Class="wCommander.OrderListing" DataContext="{Binding DefaultViewModel, RelativeSource={RelativeSource Self}}" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:wCommander" xmlns:common="using:wCommander.Common" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"...

Localize DatePicker and TimePicker in windows rt

windows-8.1,windows-rt
How do you localize the DatePicker and the TimePicker? Our use case is that the user will set the language in the control panel and we will try to display the correct datepicker/timepicker format. I tried setting the DatePicker/TimePicker Language property but it still is set to English and the...

How to encode IImageProvider as a PNG image?

windows-phone-8.1,png,windows-8.1,win-universal-app,lumia-imaging-sdk
Assuming I have a LumiaImagingSDK rendering chain setup, with a final IImageProvider object that I want to render, how do I encode that into a PNG image?

vb.net thread with loop not working in Windows 8.1 but works in Windows 7

vb.net,multithreading,gps,windows-8.1
I am working on a Windows form application to communicate with a GPS which has been built in Visual Basic 2010 express. I have tested it with Windows 7 using an external GPS connected by bluetooth and it works fine but i am having problems on windows 8.1. The particular...

Cannot install Visual Studio Professional and Community on Windows 8.1 Enterprise

visual-studio,windows-8.1
I have a problem installing VS Professional 2012 and VS Community 2013 on Windows 8.1. The installation app crashes right after I open it. Following installation tips I disabled anti-virus and firewall software and I installed all the available Windows updates, but nothing has changed. Furthermore, I disabled .NET 3.5...

Why the OnSuspending event was not called on my WP8.1 Store app?

windows-phone-8.1,windows-8.1
I created a very simple WP8.1 Store app, and tried an experiment to click no matter Win-Key or Back-Key to make the app to background, but OnSuspending event was not called at all. I am very curious about what is the state of the current appplication? Running or Suspeded? Why...

Why is 6-7 threads faster than 20?

c++,multithreading,visual-studio-2013,windows-8.1,stdthread
In school we were introduced to C++11 threads. The teacher gave us a simple assessment to complete which was to make a basic web crawler using 20 threads. To me threading is pretty new, although I do understand the basics. I would like to mention that I am not looking...

How to move folder/files with path names > 255 characters in Windows 8.1?

file,copy,windows-8.1,folder,move
I have looked around for ages, and the only possible way I have found is to use the subst method. I don't want to mess about with this. I simply want to copy/move a directory, X, to location Y. How can you copy/move a folder or file with path name...

Loop Through all tiles on the start screen

winforms,c#-4.0,windows-8.1
Context: Using USMT to setup default tile layout on a windows 8.1 build. IE sites do not show Favicon. Would like to loop through all Pinned tiles on start menu and update so favicon shows. I can find lots of information on creating a live tile using wpf but nothing...

Casting string as int causes the value to change

windows,powershell,windows-8.1
I am trying to read in a text file and change the value of a number on a certain line in Powershell in Windows 8.1. The file is somewhat predictable. I am not currently finding this the best way, but I am trying to track down why this bug occurs....

Wizard Design for modern UI (Windows 8.1)

windows-8,windows-store-apps,windows-8.1
I am planning to create a Windows 8.1 store app. In my app, I need to show a wizard control. Can anyone give me a good example of Wizard implementation in a store app? I just need the UI design......

Run appxbundle on a simulator

windows-8.1,windows-applications
I have a maybe a small problem. My task is to test a windows 8.1 tablet app. I have no tablet here, so I installed the Visual Studio 2013 Express and the Windows Phone SDK. If I start the "windows phone application deployment" and try to start the *.appxbundle file,...

“Windows Live” folder in windows 8.1

windows,shell,windows-8.1
I created custom shell command for command prompt. In Windows 7 I stored it in C:\Program Files\Common Files\Microsoft Shared\Windows Live. I was able to run this comannd from cmd. I tried to register this command in Windows 8.1 (64bit) but I haven't folder Windows Live in Microsoft Shared. How can...

Error Installing Windows 10 development tools for Visual Studio 2015 RC on Windows 8.1

windows-8.1,win-universal-app,visual-studio-2015
I am running Windows 8.1 and I have installed Visual Studio 2015 Enterprise RC with Blend. I am trying to install the Windows 10 development tools for Visual Studio 2015 RC and getting the following error: ExecuteError: Package (VSSecondaryInstaller_box) failed: Error Message Id: 1603 ErrorMessage: Windows 10 SDK 10.0.10069 :...

Collapsed Grid in StackPanel change position of other controls in StackPanel

c#,xaml,windows-store-apps,windows-8.1,visibility
I have this Xaml Page: <StackPanel Orientation="Horizontal"> <Grid x:Name="inkGrid0" Margin="0,0,0,0" HorizontalAlignment="Left" > <Canvas x:Name="inkCanvas0" Width="570"> <Canvas.Background> <ImageBrush x:Name="DImage0" ImageSource="{Binding}"/> </Canvas.Background> </Canvas> </Grid> <Grid x:Name="inkGrid1" Margin="0,0,0,0" HorizontalAlignment="Right" > <Canvas x:Name="inkCanvas1" Width="570"> <Canvas.Background> <ImageBrush x:Name="DImage1"...

Passing a reference to template function call operator overload

c++,visual-studio-2013,operator-overloading,windows-8.1,function-call-operator
I have a class which overloads the function call operator with a template function, like so: class Test { public: template<class T> void operator()(T t) { std::cout<<(&t)<<std::endl; }; }; I'd like to call it with a reference argument, however when trying to do so, it passes the argument as a...

pushing Dialog back to microsoft band after interacting with Cortana on Band

c#-4.0,windows-phone-8.1,windows-8.1,win-universal-app,microsoft-band
I have developed an application and I use voice commands(Cortana integration) to get some data in my phone. Now I would like to add band support. I expect the similar function but I needs to push the data to my Band. I just spoke the same voice command through my...

How to get an IBuffer from an IRandomAccessStream

c#,windows-8.1,win-universal-app
If I have a IRandomAccessStream object, how do I create a IBuffer object?

image slideshow with dispatcher timer in windows store apps

c#,image,windows-store-apps,windows-8.1,slideshow
I want to make slideshow image with dispatcher timer in my windows store apps. But, i have a problem: if the image has reached the final image, the slideshow do not want to repeat the slideshow from the first image, but the second image directly. For example: I have 5...

What is the best way to do the long background task in Windows 8

windows-8,windows-runtime,windows-8.1,background-task
I'm developing Windows Metro App and in my App I need to download some information(about 60Mb, every time) from server in background. Download should occur regularly, for example every 8 hours. So I tried to use Background Task, but there are some CPU and network quotas(https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh977051.aspx), and I can't do...

Google Chrome - How to compile Google Chrome in Windows?

google-chrome,visual-c++,windows-8.1,ninja
Documentation mentioned to compile i have to follow this instruction for Windows: http://www.chromium.org/developers/how-tos/build-instructions-windows So i did all the steps, but the following is failing how can i resolve it? C:\tpt\depot_tools>mkdir out\Debug C:\tpt\depot_tools>ninja -C out\Debug chrome ninja: error: loading 'build.ninja': Het systeem kan het opgegeven bestand niet vinden. ninja: Entering directory...

Ruby on Rails for Windows: how to get started without getting a different error every time?

ruby-on-rails,ruby,ruby-on-rails-3,windows-8.1,execjs
I'm on Windows 8.1 and have been trying to get Rails to work on my computer for quite some time now. I followed the guides to install Ruby and Rails and everything correctly, but whenever I try to execute any kind of Rails command through PowerShell, I get an error...

How to make sure the PC is having internet and then launch exec?

google-chrome,go,windows-8.1
I have this application running, when system boots Windows 8.1 then it launch. But often the PC get into the network later as a result Google Chrome shows a failed page. package main import "os" import "os/exec" import "runtime" import "encoding/json" type Configuration struct { main []string name []string window...

Fading animation in Visual Studio Blend

c#,xaml,visual-studio-2013,windows-8.1
I wish to change the actual content of my textblock. I know I can change it by using textblock.text = "new text" when an event is triggered. However, is there a way to make it change gradually, i.e. with a fade animation? I tried using Visual Studio Blend, and managed...

How do I make my TextBlocks be the correct sizes in my C# XAML Windows 8.1 app?

c#,xaml,windows-phone-8.1,winrt-xaml,windows-8.1
I'm new to Windows 8.1 development, so forgive me if this question is obvious or rudimentary. I've experimented around with the various attributes quite a bit, and I can't make it work the way I want it to, so I figured maybe someone here could give me a hand. A...

Check if Windows Imaging Component on Windows 8.1 64bit

windows-8.1,wic
Problem: I was trying to install Ansys 15 64-bit on my Windows 8.1 64bit. In prerequisite check, it did not detect WIC as installed. The installer worked on my other laptop (also Windows 8.1 64 bit). Solutions Tried I knew WIC comes preinstalled and there is no installer for Windows...

Windows 8: Must enter login password twice

login,windows-8,windows-8.1
I've seen many posts about this error but in my case the password is being typed correctly but is always rejected on the first attempt, saying Your PC is offline. Please sign in with the last password. I know Windows tries to authenticate Live accounts with their servers, but it's...

Binding multiple fields to MenuFlyoutItem

c#,xaml,windows-phone-8.1,windows-8.1
In my Windows/Windows Phone Universal App, I have ListView with a MenuFlyout in my XAML layout. The ListView includes a list of people. Tapping on a list item reveals the flyout with options to email or call the person. Right now I am using the Tag property of the MenuFlyoutItem...

How to get current country location and possibly the CountryCode from a Windows Phone 8.1

c#,.net,geolocation,windows-phone-8.1,windows-8.1
How to get current country location and possibly the CountryCode from a Windows Phone 8.1? I did this, but FindLocationsAsync throws me an exception "Value does not fall within the expected range" private async void LocateMe() { Geolocator GeoLoc = new Geolocator(); GeoLoc.DesiredAccuracyInMeters = 50; try { Geoposition GeoPosition =...

Handling screen orientation properly in WIndows Phone 8.1

c#,xaml,windows-phone-8,windows-phone-8.1,windows-8.1
I've finished my app and everything works properly, however I just realized my app does not act properly when the screen is rotated, which means its probably going to scale to different screen resolutions either. I used a blank page template when I designed it, and I can't find any...

Redirect content to a file in ascii encoding

windows,powershell,cmd,less,windows-8.1
We're running lessc from the PowerShell like this: lessc -x style.less > style.min.css Unfortunately, style.min.css file is in unicode whereas we would like it to be in ascii. How can we force that encoding when writing the result to a file from PowerShell? Interestingly, when we run the same command...

Play lock screen slideshow in Windows 8 from RSS (RequestSetImageFeedAsync error)

c#,windows-8,windows-8.1,slideshow,lockscreen
I'm trying to use method public static IAsyncOperation<SetImageFeedResult> RequestSetImageFeedAsync(Uri syndicationFeedUri) to play lock screen slideshow from external Uri in Windows 8. When I set this https://urzagatherer.azure-mobile.net/api/wallpapers RSS Uri from this tutorial http://blogs.msdn.com/b/eternalcoding/archive/2013/11/13/what-a-cool-feature-controling-the-windows-8-1-lock-screen-slide-show.aspx, and open "Change PC Settings", I always see message: "You need more than one picture to show in...

Use DependencyProperty in the Style

xaml,windows-8.1
I have TemplatedControl with Dependency Property: public static readonly DependencyProperty ColorProperty = DependencyProperty.Register( "Color", typeof(SolidColorBrush), typeof(MenuButton), new PropertyMetadata(default(SolidColorBrush))); public SolidColorBrush Color { get { return (SolidColorBrush)GetValue(ColorProperty); } set { SetValue(ColorProperty, value); } } In the style I want to use this property to set Background. I tried: <Style TargetType="controls:MenuButton" x:Name="MenuButtonSimple">...

How to change or remove splash screen in windows 8.1?

c#,windows-8.1
I am working on windows 8.1 app and I found that it contains default splash screen which we can't remove. Is there a way we can remove it something similar to windows phone 8. I want a splash screen which loads until a particular process is completed (example zip extraction,editing...

Hide Flyout on button click (DelegateCommand)

c#,xaml,mvvm,winrt-xaml,windows-8.1
I am building a Windows Store app and I have a flyout that looks like this: The Flyout is functioning properly, and I am able to add a new address when I click on the "Add" Button. The problem is, I want to be able to hide the Flyout as...

Bing maps sdk with Telerik UI controls for universal app

c#,telerik,windows-8.1,win-universal-app
Hi I am using Telerik UI controls for universal application .Since windows phone 8.1 has its own control for map so I used that but when I added bing maps sdk extension to windows 8.1 project and build it it shows following error Payload contains two or more files with...

Styling Windows Phone 8.1/WinRT AppBarButton

windows-runtime,windows-phone-8.1,winrt-xaml,windows-8.1
I'm currently looking to implement a CommandBar for a WinRT Windows Phone 8.1 app. Overall it is very straightforward but I am unable to style the control. I have themed my app so that the accent colour has been changed to green. This works well for pretty much everywhere in...

How to create the special toast and swipe down on lock screen like Skype in win8.1?

c#,windows-store-apps,windows-8.1,skype,lockscreen
In win8.1, we can swipe down on lock screen to open camera. And also can answer a Skype call from the lock screen. http://webwereld.nl/development/79224-skype-omzeilt-lockscreen-windows-8-1---update http://www.stckwt.com/index.php?route=product/product&product_id=137 I want to create a windows store App like Skype. When someone call, it will show a special toast : user can also choose how...