windows-8.1

Error : DEP0700 : Registration of the app failed. error 0x80070002: Windows cannot register the package because of an internal error or low memory

流过昼夜 提交于 2019-12-09 16:34:08
问题 I am using visual studio 2013 to create a window 8.1 store app. When I run simulator. I received error message "Error : DEP0700 : Registration of the app failed. error 0x80070002: Windows cannot register the package because of an internal error or low memory. (0x80073cf6) App1". I have try reinstall it, but still have this error. How do solve it? 回答1: problem is "visual studio is not able to delete the application data in local folder" so when you go in the location C:\Users\UserName\AppData

Design view of Eclipse windowbuilder pugin on Windows 8.1 x64 prompts “Unknown GUI toolkit”

北战南征 提交于 2019-12-09 13:15:13
问题 I was using Eclipse Kepler Release 1 x64, wiht Java 7 x64 on Windows 4 pro x64 and I had no problems with Eclipse WindowBuilder plugin. But since I upgraded to Windows 8.1 pro x64, WindowBuilder has stopped working. First the follwoing button is freezed and does not respond to user clicks. And if in project explorer I go to some java file that I have already created with WindowBuilder plugin in windows 7 x64, right click on it and choose: Open with > WindowBuilder Editor , source code opens

Device not receiving C# Windows Push Notifications because channel url incompatible

拥有回忆 提交于 2019-12-09 09:26:46
问题 After many hours of trial, I still fail to send push notifications to my app. This is what I did so far: Activate the service at https://appdev.microsoft.com Got the SID, lets call it ms-app://s-1-23-4-12345678901-...-12345678901 Received the client secret, lets call it 12Lwq7526OqNY8iN-aLkwds23451345 In my app I implented the following at some point (simplified): PushNotificationChannel channel = null; channel = await PushNotificationChannelManager

What is [NotifyPropertyChangedInvocator] in C# when implements INotifyPropertyChanged?

时光毁灭记忆、已成空白 提交于 2019-12-09 07:28:27
问题 I see two types of implementation of INotifyPropertyChanged The first one: public abstract class ViewModelBase : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) { PropertyChangedEventHandler handler = PropertyChanged; if (handler != null) { handler(this, new PropertyChangedEventArgs(propertyName)); } } } The second one: public abstract class ViewModelBase :

Change GridView GroupStyle in VisualState

眉间皱痕 提交于 2019-12-09 06:54:24
In my Windows 8.1 WinRT/XAML app I have a grouped GridView with a corresponding GroupStyle : <GridView ItemsSource="{Binding Source={StaticResource groupedViewSource}}"> ... <GridView.GroupStyle> <GroupStyle> <GroupStyle.HeaderTemplate> <DataTemplate> ... </DataTemplate> </GroupStyle.HeaderTemplate> <GroupStyle.Panel> <ItemsPanelTemplate> <VariableSizedWrapGrid Style="{StaticResource NormalWrapGridStyle}" /> </ItemsPanelTemplate> </GroupStyle.Panel> </GroupStyle> </GridView.GroupStyle> </GridView> Now this is the version for a fullscreen view. What I want is to adapt the UI of the GridView for

Not showing items with Visibility=Collapsed in Windows 8.1 GridView

萝らか妹 提交于 2019-12-09 02:47:41
问题 I have a Windows 8.1 application with a GridView bound to a custom (sortable, deduplicated) observable collection. In this collection, I do some heavy filtering and setting an IsHidden flag for every item. In the data template for the item, there is a condition making the item collapsed if IsHidden flag is set to true. <Grid Width="160" Height="280" Visibility="{Binding IsHidden, Converter={StaticResource InvertedBooleanToVisibilityConverter}}"> This approach works in Windows Phone 8.1 XAML,

Detect/identify the port (HDMI, other) the monitor is connected to in Windows 7/8/10 Win32 C++

坚强是说给别人听的谎言 提交于 2019-12-09 01:20:29
问题 I am able to detect all the monitors that are connected to my system. I am able to get a lot of relevant information about them using the following Windows API calls: EnumDisplayMonitors GetMonitorInfo EnumDisplayDevices The system I am developing on is an AIO (all-in-one) that comes with 2 monitors. It has an external HDMI output that I can connect and external monitor. Then, through a port replicator I am able to connect the 4th monitor. All of the monitors are extending my desktop and all

Save Task<string> type to String giving Catastrophic failure

a 夏天 提交于 2019-12-09 00:17:50
问题 I am trying to save the Ink I write on Canvas in a class and reload it with these two methods found at this link. private async Task<string> WriteInk() { using (var stream = new InMemoryRandomAccessStream()) { await inkManager.SaveAsync(stream); await stream.FlushAsync(); stream.Seek(0); byte[] bytes = new byte[stream.Size]; IBuffer buffer = bytes.AsBuffer(); await stream.ReadAsync(buffer, (uint)stream.Size, InputStreamOptions.None); return Convert.ToBase64String(bytes); } } private async

TextLineBounds snipping bottom of letters

痴心易碎 提交于 2019-12-08 21:55:35
I'm using TextLineBounds in Windows 8.1 to align text of different font sizes on the baseline, such as With the XAML looking like: <Grid x:Name="PageHeader"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="28" /> </Grid.RowDefinitions> <Grid Grid.Row="0"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="15" /> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="15" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <TextBlock Grid.Column="1" VerticalAlignment="Bottom"

Cannot svn update, An error occurred during decompression

巧了我就是萌 提交于 2019-12-08 15:54:10
问题 I have a problem with my remote repo in svn. I am running svn version 1.8.5 on windows 8.1 When I try to do an svn update I get the error svn: E120104: ra_serf: An error occurred during decompression I am able to do a clean checkout. Does anyone know how to resolve this issue? 回答1: This was never fully resolved, I worked around this by doing a clean checkout and migrating the changes to the new working copy. 回答2: This wandisco forum post will lead you in the right direction. Assuming you have