windows-8

Running Visual Studio 6 C++ in Windows 8.1

爱⌒轻易说出口 提交于 2019-12-18 12:29:52
问题 I recently migrated my system to windows 8.1. Unfortunatly like some others, I am not able to start Visual Studio 6 anymore. The software is crashing at startup (splash screen). I know there are some workaround, to be able to compile with vc6 in newer IDEs, but this is not working for me, since I have to compile a huge number of project and I cannot afford of modifying all the project files 1 by 1... I already see the answer coming: that vc6 is so old, and not supported and so on... I am

Windows 8 IIS does not load stylesheets and images in asp.net app

百般思念 提交于 2019-12-18 12:21:59
问题 I just installed Windows 8 on my computer and tried to load my ASP.net application. The page loads with no problems. But none of the images or stylesheets that are located in the App_Themes directory load. I do have a separate folder that has images in it and they do load. I think it is some security issue but I can't find out what it could be. If I deploy the site to my dev 2008 R2 box then the site loads correctly, but it doesn't load correctly on my Windows 8 box. Some examples of my links

What is the user agent string for surface rt?

青春壹個敷衍的年華 提交于 2019-12-18 11:43:19
问题 I'm trying to determine the user agent string for surface RT for testing purposes. 回答1: Just do some Google'ing and you will find your answer. Internet Explorer 10 User-agent string Internet Explorer 10 on Windows RT: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; ARM; Trident/6.0) Update after comment below The link above also states: Identifying touch-enabled systems Internet Explorer 10 introduces the "Touch" UA string token. If this token is present at the end of the UA string, the

Calling MVC4 WebAPI methods from C# Metro UI Client using PostAsync, HttpClient & Json

妖精的绣舞 提交于 2019-12-18 11:30:17
问题 I've created a method using the new WebAPI features in MVC4 and have it running on Azure. The method requires that you post a simple LoginModel object that consists of a Username and Password property. Yes, I plan on securing this further once I get past this speed bump :-) The method then responds with an object in Json format: I can successfully call this method using Fiddler, provided that I include "Content-Type: application/json" in the Request Headers. It returns with 200 and I can go

How are live tiles made in Windows 8?

时光毁灭记忆、已成空白 提交于 2019-12-18 10:16:05
问题 I've searched the samples, the developer site, the getting started and the enhancing bla bla bla pages. Even using some search queries on Google, I can't seem any information on live tiles in Windows 8. How do I create a live tile in Windows 8? What languages can be used for that? C#? XAML? 回答1: http://msdn.microsoft.com/en-us/library/windows/apps/br211386 You can use either C# or VB + XAML or HTML/JS or C++. That was the big announcement at the BUILD conference and the whole point of WinRT

Force WinRT app to snapped view

隐身守侯 提交于 2019-12-18 09:41:15
问题 For one of my apps I'd like to send the app to snapped view after tapping a button. As far as I know there's no public API available to send a running application to snapped view. Did anyone find a workaround to do this? Somehow it should be possible since you're able to do it in Windows 8 itself, and snap one of the running apps. Update: Being able to trigger a Win+. might do the same trick, but the SendKeys API isn't available in WinRT either. 回答1: Windows 10 has a ApplicationView

Macro Keys not Detected AutoHotkey

情到浓时终转凉″ 提交于 2019-12-18 09:36:29
问题 I have just purchased the Steelseries apex gaming keyboard and rival mouse. Unfortunately, each of these products has different software for macros and keyboard lighting, both of which are mediocre at most. Instead of having 2 processes running in the background and having to use 2 crappy programs to write my macros, I have decided to use AutoHotkey for my macros, some of which I plan on making quite complex. The mouse was no problem in AutoHotkeys, with the two side buttons using XButton1

Reading file in Windows Metro javascript app

自作多情 提交于 2019-12-18 09:26:40
问题 Is this the right way to read the content of a file picked by a filepicker? I need to read the image data in order to send it to a webservice in my Windows Metro Javascript App. I use a readFile function with a callback that returns an evt parameter and then use encodeURIComponent(evt.target.result): document.getElementById("btnUpload").onclick = function () { var input = document.getElementById("file_input"); readFile(input.files[0], function(file, evt) { WinJS.xhr({ type: "post", url: "http

Go to visual states inside a Grid in code behind in Windows Store apps

吃可爱长大的小学妹 提交于 2019-12-18 09:16:34
问题 So my xaml code looks like this - <Grid x:Name="LayoutRoot"> <VisualStateManager.VisualStateGroups> <VisualStateGroup x:Name="CommonStates"> I can't use the GoToVisualState behavior because I need to do some checks before running this animation. So I guess I will have to call something like GoToState or GoToElementState in code behind. However, ExtendedVisualStateManager doesn't seem to exist in WinRT . I tried using VisualStateManager.GetCustomVisualStateManager(this.LayoutRoot) but it

System.Transactions.Diagnostics.DiagnosticTrace throwing TypeInitializationException

五迷三道 提交于 2019-12-18 09:14:49
问题 Seems related to Strange exception coming out of OdbcConnection.Open() but I'm not sure. I recently switched over to Win8 and hadn't run this app since. I'm using VS2012, but the projects have not been upgraded. The dump of the exception looks like this: Unhandled Exception: System.TypeInitializationException: The type initializer for 'System.Transactions.Diagnostics.DiagnosticTrace' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Configuration system failed to