Questions tagged [microsoft-metro]

1

votes
0

answer
61

Views

Metro application, printer ui and installation process

I have an EXE-file for installing a printer driver. If I pack this file into MSI-package (with using WiX Toolset) and install than all is fine and Windows Edge (and other Metro apps) prints correctly on the installed device. When I install the printer driver directly by calling the EXE-file than pri...
Renat Malizia
0

votes
0

answer
7

Views

I want to add a picturebox inside metrogrid

I want to add a picturebox inside Metrogrid(same as datagridview).When I drag and drop it throws away. how to allow it to accept?
Abdul Karim
10

votes
2

answer
2.2k

Views

Is it possible to attach two debugger to one process?

Is it possible to attach two debugger to one process ? Recently, I had developed a Metro Style App in HTML5/CSS and that was calling a Window Runtime Component written in C#. What I wanted to do was attach two debugger to same process. One at JavaScript & another at C# code. The Step I followed: I o...
Himanshu
1

votes
0

answer
137

Views

UWP Multiple views in single UI Thread

Currently in UWP apps multiple windows for an app are running in different UI threads, which makes development difficult (to run in the current dispatcher), In MSBuild 18 microsoft announced that now mutliple windows for the same app will run in the single UI thread. Is this feature available for wh...
Saravana Kumar
1

votes
0

answer
26

Views

My metroframework form becomes a new form after cleaning and rebuilding my solution now all the components are gone

I was dealing with this error 'the type namespace 'Resource' could not be found'. So after adding some reference for that I got the run-time designer error like that with the title 'to prevent any data loss resolve the following error first' (didn't take it seriously ). I cleaned and rebuild the so...
Umer Asghar
1

votes
1

answer
66

Views

How to require module only if exist. React native

Example: let tmp; try { tmp = require('module-name'); } catch(e) { return; } I get error (react native Metro Bundler): error: bundling failed: Error: Unable to resolve module `module-name` from ... How to require 'module-name' only if exist?
MatthewP
1

votes
2

answer
3k

Views

WPF Custom ScrollBar - Zune Style ScrollBar

I am trying to setup a custom ScrollBar to match the Zune metro theme. I am porting a ScrollBar from a Silverlight theme. The code in the link below is not working though. Any ideas? Sample code is posted at http://pastie.org/2337083 as I can't post more than 30,000 characters here.
Luke
1

votes
3

answer
196

Views

Can I use web stack to develop native apps on Windows Phone 7, just as on Windows 8?

Windows 8 apps can be developed using web stack(JavaScript, HTML, CSS) or .NET stack(C#, C++, Visual Basic, XAML). What's the situation for Windows Phone 7 development?
an0
1

votes
1

answer
489

Views
1

votes
1

answer
761

Views

Windows 8 - Animation in c#?

Well it seems the standard DoubleAnimation doesn't work anymore - Duration has no parameters. Is there any way of writing animations programatically rather than XAML?
Leonardo C
1

votes
2

answer
373

Views

Build specific conditional symbols in Windows 8 Metro Javascript application?

In C++ and C# applications one can define conditional compilation symbols, such as DEBUG, TRACE or RELEASE and use these in program code to enable/disable code generation with #if. I need to do similar thing in a Windows 8 Metro Javascript application: have different builds (Debug/Release) behave sl...
Kyberias
1

votes
2

answer
2.4k

Views

What is the event that toggles appbar in javascript Windows 8 Metro Style App?

I am looking for the event that toggles the appbar in javascript. So it's basically the 'edge-swipe' gesture event on the top/bottom edge of the screen. For example, I want to show a text 'edge swiped' on the page when the user swipe the upper or butto edge of the screen, without declaring a app bar...
louis.luo
1

votes
2

answer
1.4k

Views

Bing Maps with XAML and C# in Metro Style App

It's possible to use Bing Maps with XAML and C# in Metro Style App on Windows 8 ?
JAAOUANE Yassine
1

votes
4

answer
827

Views

WinJS.UI.getControl in VS 11 Ultimate metro application

WinJS.UI.getControl is not defined in VS 11 Ultimate. Is there any alternatives there to do the same? I mean, how can i access winJS controls in javascript?
Null Pointer
1

votes
2

answer
411

Views

Windows 8 Metro Javascript cannot create ArrayDataSource?

I'm trying to bind some data to a listview in win8 using javascript. The code I'm using is: var myDS = new WinJS.UI.ArrayDataSource([{id: 1, value: xx}, {id: 2, value: yy}]); console.log('data obj created'); However, the program was blocked in the dataarray creation line, and the log was never disp...
Daqi Pei
1

votes
2

answer
556

Views

Win8 /Metro - Picture is being edited by another person

I am taking a picture and saving it to disk. The picture actually gets to disk, but it is not being closed because when I try and open it by clicking on it in Windows Explorer, I get the message: 'Windows Photo Viewer can't open this picture because the Picture is being edited by another person' He...
Terrence
1

votes
1

answer
445

Views

ApplicationBar not working after navigation Windows 8

I am developing simple app on Windows 8. I have two UserControls: Locations and LocationsMap. I am trying to navigate between them. For that I have added to static methods into App. They are like this public static void ShowLocationsMap() { var page = new LocationsMap(); Window.Current.Content = pa...
Samvel Siradeghyan
1

votes
1

answer
838

Views

Are there any good resources on keyboard event handling in Windows Runtime?

I need to to process keyboard events in TextBox controls (and other UI elements) in Windows RT, but have some problems. For example, the KeyDown event handler seems not to be fired in the TextBox when the backspace key is pressed (CoreWindow::KeyDown fires, though, but that has other problems descri...
Ludvig A. Norin
1

votes
1

answer
671

Views

How do I call the base class implementation TextBox::OnKeyDown() in my override?

I have created a subclass of the TextBox class so that I can capture all keyboard events in the OnKeyDown() method (the KeyDown event will not trigger for all keyboard events, including but not limited to, backspace and arrow-keys, but OnKeyDown will). The problem with this is that it effectively di...
Ludvig A. Norin
1

votes
1

answer
545

Views

Creating chart sdk in Metro UI using C#

Do we have any free chart sdk which works with Metro UI (Windows 8)?
whihathac
1

votes
2

answer
1.1k

Views

Precise Timer in Javascript for Metro-Style Apps

I'm developing a metro-style app with HTML5, CSS3 and Javascript in which I need a precise timer. setInterval() doesn't fit here because it's not precise enough. I've tried with Windows.System.Threading, but it doesn't seem to be implemented in javascript (and I don't think it will be). I've also tr...
bvaldivielso
1

votes
1

answer
355

Views

Disable touch trail animation

I'm developing a Win8 JavaScript app for a tablet and implementing my own touch animation trail - i.e. wherever the user drags their finger(s), my custom animation is left as a trail. However the default windows trail is also being displayed - is there any way to disable this? I've looked in the sys...
jackbot
1

votes
4

answer
3.4k

Views

Can I use an IFrame to navigate to an external page in a Windows 8 Metro application?

When I currently try I get the following error, even after adding google as a content URI APPHOST9613: The App Host was unable to navigate to http://www.google.com/ due to the following error: FORBIDFRAMING.
Tarks
1

votes
1

answer
213

Views

Error when trying to create a WinRT component dll

I had a solution where I was building a WinRT compoent dll. I updated the Windows 8 version to Consumer Preview(from Developer Preview) and updated the Visual Studio Ultimate Beta version. Now the solution cannot load the WinRT component dll project. Also, trying to create a a new WinRT component dl...
pankajk
1

votes
1

answer
254

Views

Metro design on my projects

Can i style my websites with metro design from windows 8/windows phone 7 for free? Does microsoft charge anything for that? Just answer, whether i can or not. If no - describe why.
Taras Lukavyi
1

votes
1

answer
1.9k

Views

Range slider metro style app

I'm trying to make a range slider for metro style app, because it's not available. I'm trying to leverage an existing silverlight range slider, but it's not going to well. I changed the code a bit, but now it just shows the slider and I can't move the thumbs. Here is the xaml code: The code behind i...
Jay
1

votes
1

answer
2.3k

Views

open url on a tile using javascript and html in Win8 Metro App

In a Windows 8 Metro App I want the ListViewItems/Tiles to open a link once they were clicked. The problem is that nothing happens when they are clicked. With addEventListener I managed to invoke the item but the code does not reach to open the link. I store my Tiles like this in the default.js file...
Lgn
1

votes
1

answer
365

Views

Is there a twitter library for metro apps? [closed]

Do you know a twitter library for Windows 8 metro apps?
user380719
1

votes
1

answer
4k

Views

How to write a log or text file to the file system in Metro Style App

As the title said, I would like to write an activity log of my application into a file automatically. My application is built in Javascript/HTML5, when I am debugging I can use console.log('this is a debug log') and track it in console. But if I want to give my test machine to a certain test users,...
louis.luo
1

votes
1

answer
347

Views

How to set a particular style to the first element in a CollectionView in XAML?

I was seeing Metro style apps, and I realized that the XAML style in the first element of a CollectionView has a different styles from the anothers. Check this example. I just one to know how to set a different style for the first element in XAML? I was thinking, should I need to implement converter...
Darf Zon
1

votes
2

answer
825

Views

can other control cover on webview

WebView has the characteristic that other UI regions such as controls cannot be rendered on top of the WebView. Does this mean that there is no way I can put other control (like popup ) on top of it?
jerui
1

votes
1

answer
5.7k

Views

Binding Setter value in a style in a resource dictionary

I'm trying to create an app that uses skins/themes (different color pallets the use can choose from). I define a SolidColorBrush property public class ThemeManager { public SolidColorBrush ForeBrush { get; set; } public ThemeManager() { ForeBrush = new SolidColorBrush(Colors.Black);...
Lescai Ionel
1

votes
1

answer
1.2k

Views

Metro UI style close/minimize/maximize buttons

how can I style the maximize/minimize/close buttons of an application to match the Metro UI version? I would do something like the one at right top corner: I'm using Qt 4.8 on Windows 7
Stefano
1

votes
1

answer
659

Views

Metro App development and Remote Database Connections

I have a web matrix-based site I originally created, and then continued development in Visual Studio Ultimate. Now that the website is complete, I am making a Metro app for Windows 8 release preview. I need the Metro app to connect to a remote SQL database - but connecting to remote (or any kind of,...
Arrow
1

votes
1

answer
1.2k

Views

How can I get a return value from a MessageDialog using MVVM Light?

I currently develop a metro style app using mvvm light framework. I have some commands, e.g. DeleteSelectedAppUserCommand. The user must confirm that he really wants to delete the user. So I have written a static Method 'ShowMessageBoxYesNo' in the static class 'DialogService'. public static async T...
Michael Giger
1

votes
1

answer
2.6k

Views

C# Metro App UI update

My problem is just the same as this link. I am working on the new WinRT for Metro Applications in C#(win8 release preview). The problem is: My app My program runs a thread in the background which receives messages from the server(In fact, I ported a XMPP client app). Some information should be u...
zjalex
1

votes
2

answer
282

Views

Creation Of GroupItems in MetroApps using HTML & Javascript

I am using Windows 8 and Visual Studio 2012 RC for Metro apps Development. Here I am taking GridApplication template for creating 3 listviews (groupedItems), these 3 listviews will need to display different information from my service. Actually in default grid application they have given common item...
Akil Pandu
1

votes
1

answer
1.6k

Views

Upgrade to SSL using StreamSocket

I am working on WinRT(Windows8 Release Preview). I have a web application(in fact, a simpler XMPP Client). I mainly use StreamSocket class to connect the Jabber Server. It gives me a good start.But I met a problem when i try to upgrade the already connected socket to use SSL. I use StreamSocket.Up...
zjalex
1

votes
2

answer
975

Views

Can we use C++/Cx inside a static lib (Metro Style)

I am trying to port a native sdk to windows RT and to help me I would like to implement missing functions to emulate registry access, so I have created a Static Library (File->New->Project...->Static Library (Metro Style apps) and I have declared the function like that : // WinRT stuff #include #in...
Vincent Rich
1

votes
1

answer
166

Views

How to create different groups in metro apps as shown?

I have created two groups as shown below for both groups i have image and some data below the image. But for the second group i don't want to show any image i want to display only user data. If i make any change in second group it's effecting both the groups which i don't want to happen. I'm not abl...
Akil Pandu

View additional questions