windows-8.1

nasm is not executing file in Windows 8

こ雲淡風輕ζ 提交于 2019-12-13 07:45:14
问题 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 _WinMain@16 _WinMain@16: mov edx, len mov ecx, msg mov ebx, 1 mov eax, 4 ret 16 mov eax, 1 ret 16 section .data msg db 'Hello, world!', 0xA len equ $ - msg nasm seems to be running since it responds to the commands, but it doesn't execute the program: How can I run the program? Is

How to set click event for notification Windows 8.1 C#

早过忘川 提交于 2019-12-13 07:42:52
问题 I am new to Windows development and I have created a Windows 8.1 application using C# and xaml on Visual Studio. I have created a toast message. var template = ToastNotificationManager.GetTemplateContent(ToastTemplateType.ToastText02); var element = template.GetElementsByTagName("text")[0]; element.AppendChild(template.CreateTextNode("INR BUDDY")); var element1 = template.GetElementsByTagName("text")[1]; element1.AppendChild(template.CreateTextNode("You have a message!")); //set the toast to

Gulp missing the SASS executable

拟墨画扇 提交于 2019-12-13 07:35:31
问题 I'm working with gulp, I'm trying to install packages and the only way to install gulp on windows is to type npm install -g gulp@3.8.7 because new versions print me in the console some errors about the v8flags package. So I'm trying to compile sass through Gulp. I've a gulpfile.js: 'use strict'; var gulp = require('gulp'); var sass = require('gulp-ruby-sass'); gulp.task('sass', function() { return sass('css/main.scss') .on('error', function (err) { console.error('Error', err.message); })

Share text to facebook from Windows 8.1 and Windows Phone 8.1

我的梦境 提交于 2019-12-13 05:18:51
问题 I'm sharing some text with a link to facebook from apps on Windows Phone 8.1 and Windows 8.1. I want to have different text for social media (which I want to be "My App's link #MyApp") and email and text (which I want to be "My little bit of text"). In Windows phone the following code works: DataRequest request = GetMyDataRequest(); // for social media request.Data.SetRtf("My App's link #MyApp"); // for email and text request.Data.SetText("My little bit of text"); However when it comes to

surface pro 3 as development device

穿精又带淫゛_ 提交于 2019-12-13 04:43:25
问题 Is it possible to use the surface pro 3 as a dev test device. I tried looking around and there wasn't much information. What I mean by this is you connect your pro 3 to PC and deploy app to the tablet. My guesses are that you cannot but I thought I would get some clarification. Thanks! 回答1: Yes it is possible you have to install remote debugging companents on your Surface Pro 3. And the appropriate one should be x64 version of VS Update 3 for you. After you have installed the Remote Tools,

change MessageDialog content or show new one from MessageDialog handler Windows Store app

牧云@^-^@ 提交于 2019-12-13 04:38:25
问题 I have MessageDialog dialogue responsible for delete confirmation. private async void ShowDialogClick(object sender, RoutedEventArgs e) { MessageDialog md = new MessageDialog("Are your sure you want to delete this?"); md.Commands.Add(new UICommand("Delete", new UICommandInvokedHandler(DeleteItemHandler))); md.Commands.Add(new UICommand("Cancel")); await md.ShowAsync(); } When user clicks Delete , DeleteItemHandler invokes operation on database, but how can I inform user about unsuccessful

Textblock loses boldness of bold text

浪子不回头ぞ 提交于 2019-12-13 04:18:17
问题 I have a TextBlock <TextBlock x:Name="TopTextBlock"> Normals words followed by <Bold>Bold words</Bold> </Textblock> It displays the text bold. However, if in my C# code I make any alterations to the string such as TopTextBlock.Text += " word" The text will no longer appear bold 回答1: Add string in TextBlock Inlines instead of setting Text DP : TopTextBlock.Inlines.Add(" word"); Or in case want to add Bold text : TopTextBlock.Inlines.Add(new Run(" word") { FontWeight = FontWeights.Bold }); 回答2:

Passing UI elements to and from Windows Runtime Component in different environments?

微笑、不失礼 提交于 2019-12-13 03:55:28
问题 I wonder if there is a way to create a runtime component (written in C# for example) which allows working with UI elements from different environments. For example I would like to append an UI element such as MediaElement to a given Panel (C#) or div (Javascript). Can I call a method in a runtime component like this: cmpt.setPlayer((Panel) playerParent); (C#) and cmpt.setPlayer(getElementByClass('.playerParent')); (Javascript). Is this possible somehow? If not (and I would totally understand

XamlParseException when using UserControl from class library dll

我们两清 提交于 2019-12-13 01:04:01
问题 I have created a library which has a Popup UserControl similar to the one here. When I create a fresh Universal Windows App and create the same UserControl inside an app and open the popup, it opens. But if I create a Class Library and create the same UserControl inside it and try to use it (by opening the popup) inside an app, I get a XamlParseException. It is as follows - Windows.UI.Xaml.Markup.XamlParseException occurred HResult=-2144665590 Message=XAML parsing failed. Source=Windows

WPF .exe application file is not working in Windows 8 surface Tablet

a 夏天 提交于 2019-12-13 00:54:50
问题 Am new to WPF .Previously was worked with Windows 8 /Windows phone application developer. I created a List application using ListBox in WPF. Since i wanted to test the application on a touch device i tried to run it's .exe file on my Windows 8 Surface tablet. I could not run my application. Can't I run WPF application on Windows 8 tablet? Currently am working & running it using a Windows 8 PC , Where it runs. Please provide any information regarding this. Or how we can create my application's