windows-8

TortoiseSVN does not recognize svn folders after upgrading to Windows 8

為{幸葍}努か 提交于 2019-12-12 18:29:03
问题 I have upgraded my computer from Windows XP to Windows 8 and opted to keep all my files and settings. After the upgrade I installed TortoiseSVN version 1.710, which was the version that I also used while still on XP. But now it no longer seems to recognize the SVN folders. On my folders I have no overlay icons, and when I right-click I only get the 'checkout' option as if the folder was empty or does not contain any version control. When I select 'Show hidden files' in explorer I can see that

How to navigate between different html pages in Windows 8 Metro application using javascript?

纵饮孤独 提交于 2019-12-12 18:14:40
问题 How can i navigate between different html pages using javascript? I tried to use the below statement but it's not working. I have added a breakpoint and found that the below statement is executed.But still It doesn't display the page2.html . WinJS.Navigation.navigate("page2.html", null); Can anyone tell me why in what all scenarios it won't work ? One option I found was iframe which I haven't tried yet. 回答1: This API isn't a specific page navigator; it's about loading the location as defined

Background task is terminated next time app launches

为君一笑 提交于 2019-12-12 17:18:37
问题 I am playing with the Background Task code sample (c#) from MSDN. I modified the code a little bit to make it run longer, so that I can see if the application can get "re-attached" to the background task next time it is launched. My test shows that the background task always gets terminated when the application is launched for a second time. Here is the test detail: The background task is trigger by a SystemTrigger of type SystemTriggerType.TimeZoneChange , and it works as expected if: I

How to change the item template of list box depending upon the Current Orientation in metro app?

不打扰是莪最后的温柔 提交于 2019-12-12 17:09:57
问题 Hi I am developing an metro app , my app works perfectly fine in landscape mode but now i want to make it compatible to Portrait mode also. This is how i have defined students listbox :- <ListBox x:Name="lstbxbStudents" Background="Transparent" Height="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" SelectionChanged="lstbxbStudents_SelectionChanged_1" HorizontalAlignment="Left" Width="Auto" Margin="4,50,0,122" Style="{StaticResource ListBoxStyle1}"> <ListBox.ItemTemplate> <DataTemplate>

Implementing Book Page sliding animation in winrt [closed]

淺唱寂寞╮ 提交于 2019-12-12 17:03:19
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . How to implement Book page slide effect / Animation in winrt. Is anyone tried something similar please share the logic or code. Or else anyone guide me to implement the animation in my application. NB : I need the visual feedback through mouse move. I created the ordinary sliding

Boolean to Visibility Converter in Win RT XAML not working first time

你离开我真会死。 提交于 2019-12-12 16:42:51
问题 Strange one when working in XAML for Windows RT (windows store app) today, when IsValid=true is set from my view model my boolean to visibility converter does not work the first time (my path remains hidden), but then does display correctly visibility subsequent times after that. Is this a bug, or what could be going on? I want to show my tick on IsValid=true including initial time: <Path x:Name="MyTick" Data="F1 M 45.12,5.49L 21.255,40.8L 20.4525,40.8L 0,23.2875L 5.775,15.7875L 19.2525,27.3L

Using a Keep-Alive connection in WinRT's HttpClient class?

我怕爱的太早我们不能终老 提交于 2019-12-12 16:05:27
问题 Our WinRT app is incredibly slow when opening connections to our servers. Requests take ~500ms to run. This is blocking some of our scenarios. When debugging, we noticed that when Fiddler is active, the requests are much faster - ~100ms per request. Some searches later we understood that was because Fiddler was using Keep-Alive connections when proxying calls, which makes our proxied calls much faster. We double-checked this in two ways. We set UseProxy to false and observed that the request

FileOpenPicker PickSingleFileAsync throws UnauthorizedAccessException

末鹿安然 提交于 2019-12-12 15:38:03
问题 The following code is almost verbatim from the MSDN example for the FileOpenPicker class. FileOpenPicker picker = new FileOpenPicker(); picker.ViewMode = PickerViewMode.Thumbnail; picker.SuggestedStartLocation = PickerLocationId.PicturesLibrary; picker.FileTypeFilter.Add(".png"); picker.FileTypeFilter.Add(".jpg"); picker.FileTypeFilter.Add(".jpeg"); StorageFile file = await picker.PickSingleFileAsync(); When I trigger it from a button I get the following exception from the last line: System

Get Clicked ListView item attributes

為{幸葍}努か 提交于 2019-12-12 15:05:06
问题 I have a Windows 8 application with a ListView: <ListView x:Name="EventListView" ItemClick="EventListView_ItemClick_1" IsItemClickEnabled="True"/> There is some Event objects (a separate class with string attributes like EventType, Description, Time, etc..) that is the source of the ListView: List<Event> eventlist = new List<Event>{ new Event(CONNECTION, "Disconnected", DateTime.Now.ToString(), MONITOR, "SAMSUNG M5", CONNECTION_IMG, RED), new Event(SYNC, "Synchronised", DateTime.Now.ToString(

Detecting WebView Height via Scrolling in XAML

安稳与你 提交于 2019-12-12 14:52:35
问题 I really need to be able to work out how tall a piece of HTML is inside a given WebView . It's pretty much crucial to the project I'm trying to build. I know it's not immediately possible but I could determine whether a scrollbar existed on a WebView I might be able to increase the height of the view until it disappeared. Any thoughts on this? Or any alternative solutions / suggestions? I looked into converting it for a TextBlock using the HTMLAgilityPack (now ported to Metro) but the HTML is