windows-8

VS2012 Error on setup on Windows 8 - Visual C++ 2012 x86 Minimum Runtime cannot be found

旧城冷巷雨未停 提交于 2019-12-23 03:44:06
问题 I am getting a few errors trying to download the new VS2012. Its a fresh install of windows 8 (did the windows update). I have tried not selecting all (no C++, lightswitch, blend, office tools) I tried different mounting tools for the .ISO but no luck. VS2010 is still working. Running x86. Log file Errors: Critical: Microsoft Visual C++ 2012 x86 Minimum Runtime - 11.0.507 Cannot find the requested object. Microsoft Visual Studio 2012 Pre-Clean Tool Cannot find the requested object Microsoft

Display Windows Touch Keyboard

狂风中的少年 提交于 2019-12-23 03:39:11
问题 i am writing an application for windows 8 with Qt and Qml. I want a touch keyboard appears when I set focus to a text input field, such as a search box. Things like textInput.openSoftwareInputPanel(); doesn’t work for a desktop application. Windows 8 have a default touch keyboard, it is possible to display this keyboard. I can’t find any solution for this problem. Can anyone help me? 回答1: Ok i have solved the problem, with: QProcess *process = new QProcess(this); QString program = "explorer

QR Code in Windows Store App

戏子无情 提交于 2019-12-23 03:38:12
问题 I need to program a QR code reader in my Windows RT app, so I can get the ID of the specific item I am scanning. I have found the source to a free QR code generator, but I cannot find the code to read the ID from the QR Code, so can anybody in here tell me, where I can find the source to a QR Reader or any other ways to read the QR Code e.g. Install a third-party program, which only reads the QR Code and sends the result back to my program 回答1: I would recommend taking a look at ZXing.NET. It

Resizing a control in Windows store app

若如初见. 提交于 2019-12-23 02:53:25
问题 Was just wondering how I would go about letting the user resize a TextBox control at runtime by dragging its corners in Windows Store App. Less importantly, is the same technique used for the resizing of all controls? Thank and regards! 回答1: Here I am giving you only for textbox as for others it's same. XAML Code <Page> <Canvas Background="{StaticResource ApplicationPageBackgroundThemeBrush}"> <Grid x:Name="grdTextbox" Canvas.Left="300" Canvas.Top="300" Height="40" Width="200"> <Thumb x:Name=

Windows 8 how to choose which camera to initialize

我的未来我决定 提交于 2019-12-23 01:37:42
问题 I am developing a Windows Store App and I am using the Camera and Microphone capabilities. I would like the back camera to be initialized but the examples that I have found always initialize the front camera. Here's the code that I have: Windows.Devices.Enumeration.DeviceInformation.findAllAsync(Windows.Devices.Enumeration.DeviceClass.videoCapture) .done(function (devices) { if (devices.length > 0) { // Using Windows.Media.Capture.MediaCapture APIs to stream from webcam mediaCaptureMgr = new

How to give javascript alert from web context(Iframe) in metro app.

安稳与你 提交于 2019-12-22 20:33:19
问题 In my metro app ..I am using iframe to load a web application - basically a form which contains some controls and finally user click on finish button and i want to show alert i know in metro app. we can give the alert using "new Windows.UI.PopupMessage" to show the alert. but how can i do the same from the web context(Iframe). i have a function (showalert();) in my default.js where i am using the "new Windows.UI.PopupMessage" to show messages. if i am trying to access this function from

Getting List the blob in winRt application

假装没事ソ 提交于 2019-12-22 18:45:46
问题 I would like to list blobs in a container. For desktop apps, the Azure Storage SDK provides the following method: CloudBlobContainer container = blobClient.GetContainerReference("myBlob"); container.ListBlobs(); However, using the WinRT library the method is absent (probably due to its blocking nature). What should I use instead? 回答1: You would need to use ListBlobsSegmentedAsync function on the blob container to fetch the list of blobs. See the code below for example: CloudStorageAccount

Getting List the blob in winRt application

坚强是说给别人听的谎言 提交于 2019-12-22 18:45:25
问题 I would like to list blobs in a container. For desktop apps, the Azure Storage SDK provides the following method: CloudBlobContainer container = blobClient.GetContainerReference("myBlob"); container.ListBlobs(); However, using the WinRT library the method is absent (probably due to its blocking nature). What should I use instead? 回答1: You would need to use ListBlobsSegmentedAsync function on the blob container to fetch the list of blobs. See the code below for example: CloudStorageAccount

How can I extract .Net 3.5 on a Windows 8 PC for building a setup package?

耗尽温柔 提交于 2019-12-22 18:36:27
问题 The instructions for including .Net 3.5 SP1 say to: At the command prompt, type: dotNetFx35.exe /x:. This will extract the Framework files to a folder named “WCU” in the current directory. However, running this command on a Windows 8 box doesn't do anything, so how else can I extract the files for building a setup package (for use with the Visual Studio Setup and Deployment Projects) 回答1: Running in to the same scenario, I reverted to a Windows 7 virtual machine to run the extract process. 来源

What is the equivalent of an app.config in a WinRT app?

北战南征 提交于 2019-12-22 18:34:12
问题 In windows desktop development (WinForms, WPF), the app.config is a potential place to put things like connection strings or uri's used within the app. This allows the end user to change these settings, application wide, without having to have a developer rebuild and redeploy. Is there a similar concept in WinRT apps? The closest thing I see is there is the local application data: http://msdn.microsoft.com/en-us/library/windows/apps/hh700361.aspx The trouble I am having is that it seems like