c#,windows-universal,iot,windows-10,raspberry-pi2
you should use HttpClient instead of WebClient. Try this HttpClient client = new HttpClient(); string url = "URL here"; HttpResponseMessage response = await client.GetAsync(url); return response.Content.ReadAsString(); ...
xaml,listview,win-universal-app,windows-10
The problem is in your DataTemplates , not in styles or etc.You must use Grid instead of Stackpanel in your DataTemplate to achieve that. Stackpanels won't stretch to parent.They'll only get the width / height of all controls inside it.Try something like <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> <ColumnDefinition Width="*" /> <ColumnDefinition...
apache,xampp,skype,ports,windows-10
How about unistalling Skype from Windows 10 and installing the desktop version? I'm not sure, because I don't own Win10, but in my Win8.1 I unistalled the Skype that comes with my PC and reinstalled the desktop version, then changed the ports in advanced settings. It worked for me. ^^
c#,win-universal-app,windows-universal,windows-10
Turns out the problem was caused by me trying to do this in a Class Library that was targeting Windows 8.1 instead of Windows 10. Changing it, fixed the problem.
windows,windows-8,menu,shell-extensions,windows-10
I first looked at the shell extension sample code provided by Microsoft (which doesn't cause this issue), compared it with my code, and progressively replaced parts of my code with Microsoft's code and testing it after each replacement. I found out that what prevents power-user menu to work is what...
windows-store-apps,windows-universal,windows-10,idle-processing
You can detect global input with various events on the app's CoreWindow: Touch and mouse input with CoreWindow.PointerPressed, PointerMoved, and PointerReleased. Keyboard input: KeyUp and KeyDown (the soft keys) and CharacterReceived (for characters generated via chords & text suggestions) Use these to detect the user is active and idle out...
c#,enums,custom-attributes,windows-universal,windows-10
I finally found the solution to my problem. My solution contains C++ projects, so I activated the .Net Native, like it was said in every tutorials I saw about migrating a Windows 8.1 app to a Windows 10 UWP app, which is ok, but doing so sets the property UseDotNetNativeToolChain...
You can create a button based on a UserControl (add a new UserControl). It will allow you to enjoy all the default button's properties, events and states (OnClick, Command, etc.) and to add your own properties, template and behavior. Using dependency properties instead of simple properties is strongly advised if...
.net,c,windows-runtime,win-universal-app,windows-10
There is a way to reference the same DLL with different architectures in a project but you cannot do it from VS directly. You will have to manually edit the csproj file. In your csproj file, you will have to go to the bottom and locate the sections. These sections...
c#,windows-10,binaries,windows-10-mobile
Have you tried it? If you try it you will answer your own question. Yes you can should still be able to add "regular" xaml pages/user controls to this folder with code behind. You can also have a "shared" code behind file as I described in the blog as well....
c#,async-await,task-parallel-library,task,windows-10
You need to await the task in an async method: async Task FooAsync() { var response = await NetworkingCalls.getResponseFromUrl(url, requestDictionary); foreach (KeyValuePair<string, object> item in response) { Util.debugLog(item.Key.ToString(), item.Value.ToString()); } } If you're method can't be async you can get the result with task.Result or task.GetAwaiter().GetResult() but that should be...
remote-debugging,visual-studio-2015,windows-universal,windows-10,sideloading
OK, I'll google next time harder - Remote Tools for Visual Studio 2015 RC. And, just in case, I'll leave this link here too: Run Windows Store apps on a remote machine from Visual Studio....
My bad. Didn't read the log file well enough. Solution was found from Here The solution for me was to delete the folder S-1-5-21-3065067753-4167832549-3323262698-1001 found here: %AppData%\Microsoft\Crypto\RSA ...
c#,windows-phone,windows-phone-8.1,windows-8.1,windows-10
Windows 10 is still under work. The latest build on the phone resolved this issue.
c#,windows,windows-phone,windows-10,windows-10-mobile
I found the answer here. Basically you need to use <uap:Capability Name="VideosLibrary" /> instead of <Capability Name="VideosLibrary" />....
xaml,windows-runtime,winrt-xaml,windows-universal,windows-10
If you're managing your elements from code-behind you don't need x:DeferLoadStrategy to defer an element being loaded: since you're destroying and creating the element from code you can choose when to destroy (mod garbage collection) and when to create it. DeferLoadStrategy controls how the items are loaded from markup. It's...
path,limit,long-filenames,windows-10
The issue will be anyways present in Windows, to keep compatibility with old software. Use the NT-style name syntax "\\?\D:\very long path" to workaround this issue.
c#,windows-8.1,windows-10,windows-10-mobile
As you are already thinking about offering 2 different versions, this one might be a better solution, where you can deploy two times the version 1.0.0.0. Instead of using the versions to differ between the state, use build symbols. Create two differnt builds, one for your OEM client, and one...
windows,registry,nsis,windows-10,version-detection
Instead of reading the value CurrentVersion, read the new values CurrentMajorVersionNumber (which is 10) and CurrentMinorVersionNumber (which is 0) under Windows 10. Those 2 keys are new in Windows 10 to detect Windows Version from Registry.
windows,windows-10,windows-10-mobile
After some testing with moving one for one pages to another project I found out the problem was in my app.xaml.cs . And the way I called my hamburger shell. This question can now be closed thank you.
c#-5.0,visual-studio-2015,windows-10
May need to add the entry point in the Package.manifest for example here's the section you will probably need based on a similar example: <Extensions> <Extension Category="windows.backgroundTasks" EntryPoint="SampleBackgroundAudioTask.MyBackgroundAudioTask"> <BackgroundTasks> <Task Type="audio" /> </BackgroundTasks> </Extension> </Extensions> Also you may need to add a reference to your Agent project to the main...
c#,notifications,toast,windows-10
There isn't a supported way to do this on current OSes (Windows 8, 8.1, Windows Phone 8.1). An app can only see its own notifications. CreateToastNotifier only works for apps in the calling package. It cannot be called for arbitrary other apps. Windows Phone 8.1's Action Centre API is similarly...
c#,windows-universal,windows-10,inkcanvas
To let the user erase strokes (similar to WPF's InkCanvasEditingMode) set the InkCanvas's InkPresenter's InputProcessingConfiguration.Mode to InkInputProcessingMode.Erasing . canvas.InkPresenter.InputProcessingConfiguration.Mode = Windows.UI.Input.Inking.InkInputProcessingMode.Erasing; ...
You need to include the await keyword. HttpWebResponse response = await webrequest.GetResponseAsync(); ...
c#,windows-runtime,winrt-xaml,windows-10
Lacking a good, minimal, complete code example that clearly illustrates your question, it is difficult if not impossible to provide specific advice. But there are some general thoughts to share… First, in my experience the ConverterParameter is more useful for static (i.e. compile-time) information to be provided to the converter....
ios,objective-c,win-universal-app,windows-10
It allows writing Universal Windows Apps in Objective-C using the normal Windows Runtime along with an iOS API compat layer. Visual Studio 2015 has a language projection for Objective-C so that you can compile Objective-C into a Windows app. The most common iOS API (CoreGraphics, CoreText, OpenGL, etc.) are provided...
c#,windows-universal,windows-10
I tried to "repair" my Visual Studio installation but nothing new happened. So, i tried to remove Visual Studio and to install it again. First time i made custom installation, so this time i made full installation. And it seems to works good. strange bug :s...
c#,xaml,focus,win-universal-app,windows-10
I would give the illusion of focus, and get back to the original view once the user has entered text Edit: what I meant is that once the textbook is selected the other buttons or whatever you have would be not visible and textbook size would increase, after the text...
It just works. Just make sure the request contains the following header: Accept-Encoding: gzip, deflate And I think it does by default. You can disable GZIP decompression by creating a HttpBaseProtocolFilter with AutomaticDecompression set to false....
extjs,browser,windows-10,microsoft-edge
That is to be expected. I detail why in this blog post. Neowin recently reported that Microsoft’s new browser for Windows 10, Spartan, uses the Chrome UA string, “Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36 Edge/12.0″. That is done on purpose. You’ll also notice that the...
Some possible heuristics: Crashes that occur seemingly at random suggest incorrect synchronization; look for event dispatch thread violation using one of the approaches cited here. Verify that all exception handlers produce diagnostic output; run from the command line to ensure that diagnostic output has not been inadvertently redirected. Try running...
c#,win-universal-app,windows-10,vs-2015-preview
This is expected on Windows 8. Windows 10 is required for the designer since the designer uses the local OS to render the design canvas. Since Windows 10 apps don't run on Windows 8 they can't render in the designer. Since Windows 8 apps do run on Windows 8 they...
iis,browser,windows-10,microsoft-edge
So the issue is Spartan Edge doesn't have access to the loopback addresses, which is something that most Windows Store are blocked from accessing. The CheckNetIsolation tool can be used to add it to the LoopbackExempt list. Use this from an elevated command prompt: CheckNetIsolation LoopbackExempt -a -n=Microsoft.Windows.Spartan_cw5n1h2txyewy Microsoft.Windows.Spartan_cw5n1h2txyewy is...
c#,windows-runtime,windows-store-apps,windows-10
Your app doesn't have access to the path. The permission to access the file is handled via the StorageFolder returned by the picker. Instead of this line to try to create a new StorageFolder from pickedFolder StorageFolder folder = await StorageFolder.GetFolderFromPathAsync(pickedFolder.Path); Just use the pickedFolder itself: var pathFolderList = await...
deployment,win-universal-app,windows-universal,windows-10,windows-10-mobile
I'm on the .NET/UWP team. The official answer from Microsoft is here: https://msdn.microsoft.com/en-us/library/windows/apps/dn706236.aspx?f=255&MSPPError=-2147217396 Let me write out the steps from that link above. These steps apply today (May 20th 2015, using VS2015 RC that was released at BUILD.) Deploying to mobile was not possible prior to May14, when the correct...
Answer that worked: stackoverflow.com/a/23114542/2352507 They recommend checking the installer file name. It needs to be the original name oddly enough for the setup to work....
c#,raspberry-pi,core,win-universal-app,windows-10
it turns out that the Serial Port on the PI is not supported yet, which is very frustrating: https://www.raspberrypi.org/forums/viewtopic.php?t=109047&p=751638
win-universal-app,windows-10,appxmanifest
If you are getting this error when deploying the app to your Windows system, it means that you are trying to deploy/install the app package on an older Windows 10 Preview system. Please ensure that you have the Windows 10 version that was publicly announced at //Build. http://blogs.windows.com/bloggingwindows/2015/04/29/new-windows-10-insider-preview-build-10074-now-available/...
xaml,visual-studio-2015,windows-10
In the App.xaml <Application ... RequestedTheme="Dark" But take care that depending on the version of Windows Preview and the Phone it can be applied or not. In the 10074 it works in previous it does not...
wpf,listview,win-universal-app,windows-10
ObservableCollection instead of List usually works fine if need to bind a ListView and be able to see the updates, if this doesn't work any underlying class might need to implement the INotifyChanged pattern to update any properties within the collection if needed.
virtual-machine,driver,virtualbox,windows-10
Downgrade to VirtualBox 4.3.10.
vb.net,windows-universal,windows-10
You're not missing anything obvious. Apps can request a specific size but not position for their views.
windows-phone-8,hyper-v,windows-10,windows-phone-emulator
Do you see your "Virtual Switch" information under: Control Panel\Network and Internet\Network Connections? If not, you can try to recreate your "Windows Phone Emulator Internal Switch" again from Hyper-V to see if that resolves your issue. Try these steps below: 1.) Open Hyper-V 2.) Shutdown any existing configured Phone emulators....
@robertftw gave the correct answer: No more templates, adaptive tiles are the new way. And follow the channel9-Link: there you will get a lot of informations about adaptive tiles. Thanks again to @robertftw.
xaml,user-interface,windows-universal,windows-10
Don't use Margins for positioning. Use margins only to enforce margins around the object. To center an element in its parent set its HorizontalAlignment or VerticalAlignment to Center. For more control, use layout controls such as Grid, StackPanel, and RelativePanel to position the controls where you want. For your layout...
This topic is one of the examples used in the Guide to Universal Windows Platform apps . I strongly suggest reading that when getting started with Universal apps. For the button on the page header use Windows.UI.Core.SystemNavigationManager and set the AppViewBackButtonVisibility property to show or hide the button and handle...
It seems that rebooting the computer solved the problem.
xaml,mvvm,data-binding,win-universal-app,windows-10
After lots of effort trying to bind the Date, I overcame this problem by using a trigger for DateChanged and binding the PlaceHolderText with the Property that should be displayed at start. <CalendarDatePicker PlaceholderText="{Binding UpdateWorkingTimeModel.StartTime, Converter={StaticResource TicksToDateTimeConverter}, ConverterParameter='dd.MM.yyyy', Mode=TwoWay}"> <interactivity:Interaction.Triggers> <interactivity:EventTrigger EventName="DateChanged"> <interactivity:InvokeCommandAction Command="{Binding...
win-universal-app,visual-studio-2015,windows-universal,windows-10
And here comes the answer: Open your solution that contains your C# Windows Universal app. You will see that your project file (.csproj file) needs to be updated. Right-click the project file and choose to edit this file. Find the <PropertyGroup> element that contains the <TargetPlatformVersion> ... Next, set the...
There is no way to gather this information from a Windows Store App (now called a "Windows Universal App"). Your best bet is to build a Desktop App (now called a "Classic Windows App") to get the information - and WPF is a fine choice if you already know how...
Workaround: Terminal works in Windows 10 if you use legacy console. To do so, open a command prompt window, right click on the title, then select Properties. At the bottom, check "Use legacy console". Confirm the dialog window and go back to WebStorm to launch a new terminal. It should...
Your program is not DPI aware and so is subject to DPI virtualization. That means that the coordinates returned by functions like GetWindowRect will be virtualized coordinates and so will not match the true screen coordinates.
Bit of hacky solution if it suits your requirement. Open MSI file in tool called ORCA and remove Launch condition (highlighted in screenshot) as show in screenshot. Save modified MSI and use it for installing on Win10 preview machine. ...
wpf,xaml,windows-runtime,windows-10,windows-10-mobile
They're just using a pivot with a custom header template. This should provide some insight: https://msdn.microsoft.com/en-us/library/windows/apps/dn997788.aspx...
You can add file extensions like this: <Applications> <Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="MultipleWindows.App"> <Extensions><uap:Extension Category="windows.fileTypeAssociation"> <uap:FileTypeAssociation Name="jpsmv"> <uap:SupportedFileTypes> <uap:FileType>.jpsMV</uap:FileType> </uap:SupportedFileTypes> </uap:FileTypeAssociation> </uap:Extension> </Extensions> <uap:VisualElements...
c#,windows,windows-10,windows-10-mobile
IsTypePresent isn't used to detect hardware presence but to detect API presence. In your code snippet it's checking if the HardwareButtons class exists for the app to call, not if the device has hardware buttons (in this case they're likely to go together, but that's not what IsTypePresent is looking...
windows-phone-7,windows-phone-8,windows-phone,windows-phone-8.1,windows-10
After upgrading my 830 to Windows 10 preview, it seems like even Windows phone 7 apps still work under Windows 10 for phone. I still wonder how are they going to handle the different stores though. Anyway, I got my answer. Wait and see !
c#,facebook,windows-10,fileshare
Sharing of URI streamed files is unfortunately not supported. Here's how I would go about doing this: 1. When the user clicks the share button, start downloading the file and show some sort of progress if it's a big file. You could also pre-download the file of course. Set up...
I don't think AdaptiveTriggers works in a style like that. The only place I've got it to work is directly in a UserControl or a Grid inside a Page. I know for sure they don't work in a DataTemplate. The VisualStateManager must be before the controls content too I believe....
windows,win-universal-app,system.drawing,windows-10,windows-universal
System.Drawing is the .NET namespace for working with GDI+. This technology is not available for Windows Store apps or universal Windows Apps. See .NET for Windows apps. You can make use of the Win2D project for a WinRT wrapper usable from C# for drawing with Direct2D/DirectWrite which are also supported...
Yes, Beacons are supported for Windows apps in Windows 10 via the Windows.Devices.Bluetooth.Advertisement namespace See the Build talk Building Compelling Bluetooth Apps in Windows 10 and the Bluetooth Advertisement Watcher and Publisher sample for more information....
What happens if you use a VBA replace command? This doesn't give you a prompt so it may be a viable replacement. Cells.Replace "Test", "ATest" Maybe do a test first to make it more robust: If Selection.cells.Count > 1 then Selection.Replace "Test", "ATest" Else Cells.Replace "Test", "ATest" End if This...
design,windows-phone,windows-phone-8.1,windows-10
Those design guidelines are not certification requirements, they're just here to help you get a clue of WP design principles. There are some UI requirements for publication, but those are more semantic (i.e. text on buttons should always be clearly legible). The official requirements are stated here. As long as...
I was looking at how to do this myself this evening. What I found was that you can edit the Pi's startup through Powershell on your PC and tell it what app to load. Setting startup app: Use the startup editor to configure startup apps on your Windows IoT Core...
win-universal-app,windows-universal,windows-10
Windows 10 Universal apps are deployed essentially the same as Windows 8 apps. Either can be deployed through the store or side-loaded via PowerShell or a device management tool such as Intune. See Deploying enterprise apps in the Windows Dev Center. Windows 10 does have (or will have) a different...
delphi,network-programming,ip-address,windows-10
It sounds as though the library that you use requires elevated rights. Nothing significant has changed in Windows 10 regarding UAC. If your program is running elevated it will succeed. It fails when it is not elevated. So your problem would appear to be that you are failing to execute...
windows-runtime,windows-10,ussd
Thanks Raymond. The search for this dualapipartition attribute brought me to http://blogs.msdn.com/b/mspfe/archive/2013/09/24/winrt-for-desktop-apps.aspx. This link describes how to tweak the Visual Studio project to get access to several WinRT APIs.
c#,windows,windows-phone-8.1,win-universal-app,windows-10
A WinRT app is a Windows only app (not for Phone). Other than that, WinRT and Universal apps are quite similar. They have the same namespaces, classes, controls... almost everything. You can use many WinRT libraries in Universal apps without any problem. And so, porting to them is generally the...
javascript,html5,internet-explorer,windows-10,microsoft-edge
An expert guy from this field told me that the real problem here is the video resolution (which is pretty low nowadays), Bad image capturing resolution stems from that... Every browser (also Chrome and FF) will capture an image with pretty bad resolution (1M pixel or 2M pixel top)....
c#,windows-runtime,json.net,windows-10
This is a bug in NuGet that was fixed between RC and RTM releases. https://github.com/NuGet/Home/issues/454. We might be able to ship an update on the gallery before RTM...
javascript,windows-universal,windows-10
Rob has it right, by default you can't have inline script in ms-appx:/// protocol. This is the default protocol for an application and has a default CSP policy that doesn't allow inline script. If you really wish to use inline script you can navigate to the content via ms-appx-web:/// protocol...
windows-phone,win-universal-app,windows-universal,windows-10
This is a known issue in the current release. There is no workaround and it will light up in a future Windows 10 Insider Preview SDK and tools release. https://social.msdn.microsoft.com/Forums/en-US/5c8d6f20-699c-4da2-9460-f73e89bf27c3/known-issue-cannot-sideload-applications-using-winappdeploycmd-windows-10-insider-preview-sdk-and?forum=Win10SDKToolsIssues...
There is an API change in Windows 10. It seems that you should use BackgroundMediaPlayer.Current.SystemMediaTransportControls. This is not in the documentation yet. You can find it in the Windows 10 sample repository: https://github.com/Microsoft/Windows-universal-samples/tree/master/backgroundaudio
windows,msdn,visual-studio-2015,windows-10,directx-12
The samples are currently only available to developers on the DX12 Early Access Program and are not currently available despite the documentation making reference to them. There is one public sample available that I know of here. Take a look at Sample3DSceneRenderer.cpp for an example of how to render something...
git,bower,asp.net-5,typeahead.js,windows-10
The answer is simple. The clue is unsupported commands. It seems that the git package that comes with VS15 is not entirely complete. So I went to obtain git here. I then ran the command again above and the issue is resolved.
I figured out the problem. Opening the iso and running setup.exe or autorun.exe does not work. Instead, running ~/Setup/setup.exe worked. That is, the setup.exe in the Setup folder works. However, the setup.exe in the root folder does not work....
xaml,windows-phone,winrt-xaml,windows-universal,windows-10
When you are using RelativePanel, you might want to set AlignLeftWithPanel and AlignRightWithPanel = true to make the entire horizontal space available for the TextBlock (and similarly AlignTopWithPanel, AlignBottomWithPanel=true for vertical). Most UIElements have HorizontalAlignment/VerticalAlignment = Stretch as the default, but you might want to set that explicitly as well...
windows,windows-8.1,win-universal-app,windows-10
A Universal Windows app is a Windows experience that is built upon the Universal Windows Platform (UWP), which was first introduced in Windows 8 as the Windows Runtime. Universal Windows apps are most often distributed via the Windows Store (but can also be side-loaded), and are most often packaged and...
windows-store-apps,windows-phone-8.1,windows-10,windows-10-mobile
Yes windows 8.1 app will work just fine on windows 10. Porting is possible from windows 8.1 to windows 10 as there are API changes so you code can brake. for details how you can port windows 8.1 to windows 10 watch this video Hope this helps...
In the update after the upcoming one we plan to update to a more recent version of Chrome (43). We investigate if the issue is fixed by this update.
windows-phone,windows-store,windows-10
Yes to both. Existing apps will show up and can be installed from the store. As with the existing stores, users will get the most relevant app for their device. Your existing Windows Phone 8.1 apps will run on and be available for Windows 10 mobile devices. You can update...
c#,windows-store-apps,windows-universal,windows-10
The desiredProperties parameter of the GetRecommendedStreamConfiguration method needs to get MediaEncodingProfile that will be used when calling your choice of MediaCapture.StartRecordTo* (i.e. the "output properties") to see what your desired VideoEncodingProperties are. The error is being triggered because the VideoEncodingProperties from the VideoDeviceController (i.e. the "input properties") are being passed...
It was something rather strange. I've got two ListViews on my MainPage. On the first, I have an ObservableCollection of Account classes bound as the ItemsSource. I also have the SelectionChanged event bound to a handler on the same ViewModel. This is the event that was giving me problems. On...