windows-8.1

Class Library Localization in Windows Universal / Store App

霸气de小男生 提交于 2019-12-03 20:54:18
I have a solution with a Windows Store app project and a Class Library project and I want to add Localization support. How can I add the all the Resource files to my Class Library and use them in both my App and Class Library? In order to avoid writing a lot of boilerplate and error prone code when you add a new resource string like: Add it to .resw file Add it to your Static class that provides access to the resource Add it to each language specific .resw file (ex: en, fr, pt, etc) You can use the following approach: Create "Strings" folder and add there just one folder for default language

Visual Studio 6 C++ Crash in Windows 8.1 [duplicate]

非 Y 不嫁゛ 提交于 2019-12-03 16:54:03
This question already has answers here : Closed 4 years ago . Running Visual Studio 6 C++ in Windows 8.1 (8 answers) Some of the developers here installed 8.1 last night and when we went to boot up VC6.. and instant crash on the splash screen. We have tried the standard compatibility changes, run as administrator, etc etc and no luck. Anyone else have these issues as well? Have you been able to resolve them anyway? It worked last night on Windows 8 just fine... Details on crash. Go to msdev.exe Double click msdev.exe Splash screen opens. Crash. (Microsoft Developer Studio has stopped working)

Programmly using SSL certificates in Windows 8 app

邮差的信 提交于 2019-12-03 16:40:47
I need help with this: Our backend is secured by self-signed certificate. Lets call it: OurMegaCoolCertificate.cer So, we have imported this certificate to our developers machines by using certmgr.msc . And now we can retrieve data from our backend using this code: async public static Task<string> getData(string Id, string Type) { String url = "https://BACKEND/API/?Id=" + Id + "&Type=" + Type; HttpClientHandler aHandler = new HttpClientHandler(); aHandler.ClientCertificateOptions = ClientCertificateOption.Automatic; HttpClient aClient = new HttpClient(aHandler); aClient.DefaultRequestHeaders

Are there APIs to enable/disable Bluetooth on Windows 8.1?

吃可爱长大的小学妹 提交于 2019-12-03 16:17:43
In Windows 8/8.1 it's now possible to enable/disable Bluetooth via the OS itself (see image below). This is awesome because it's device/driver-agnostic. On Android, this is possible via BluetoothAdapter.enable() and BluetoothAdapter.disable() , but I haven't been able to find anything to do this on Windows (even though it seems like it's definitely possible). So I've tried using: BluetoothEnableIncomingConnections() - However, this only prevents new incoming connections. It doesn't disable existing ones. devcon.exe - The problem with this method is that A. it is a non-redistributable binary B.

Get target of Windows .lnk shortcut using “Start in” directory

廉价感情. 提交于 2019-12-03 16:17:31
I am trying to retrieve the target path of a Windows .lnk shortcut, but the "Target" is not an actual file path according to the .lnk file's properties: I am using the IWshRuntimeLibrary and the shortcut object I am accessing is of type IWshShortcut: WshShell shell = new WshShell(); IWshShortcut link = (IWshShortcut)shell.CreateShortcut(lnkFileName); // This returns "C:\Windows\Installer\{F843C6A3-224D-4615-94F8-3C461BD9AEA0}\PaintShopProExeIcon.ico" var targetPath = link.TargetPath; // This is the same as the "Start in" value in the image above var workingDir = link.WorkingDirectory; The

Can 64bit Delphi desktop application be certified for Windows 8.1

佐手、 提交于 2019-12-03 15:29:53
As far as I know 32bit Delphi desktop applications cannot be certified for Windows 8.1 due lack of SafeSEH via Can a desktop Delphi application be certified for Windows 8 But what about 64bit Delphi desktop applications? Can they pass other requirements, since they don't have to satisfy SafeSEH requirement? Are there any compiler/linker settings that have to be set to specific values if the answer is yes, and what is minimum Delphi version needed (obviously at least XE2). I am specifically considering section 3 of certification requirements. 3. Apps support Windows security features The

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

本秂侑毒 提交于 2019-12-03 14:41:25
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 fine, but when I switch to Design view, I get Unknown GUI toolkit . Stacktrace: org.eclipse.wb.internal

Deploying WCF on IIS 8.5

折月煮酒 提交于 2019-12-03 12:57:34
问题 I am attempting to deploy a IIS service application on IIS 8.5 but each time I attemp to connect to the service via http://localhost/test/WCFService.svc I get the following screen: When I go to turn Windows features On or OFF I have the following: My web.config looks as follows: <?xml version="1.0"?> <configuration> <appSettings> <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" /> </appSettings> <system.web> <compilation debug="true" targetFramework="4.5" /> <httpRuntime

Handling suspend, resume, and activation in windows 10 UWP

点点圈 提交于 2019-12-03 12:46:24
In the windows 8.1 universal apps, the suspend/resume modes were handled using the NavigationHelper.cs ans SuspensionManager.cs classes included in the APP template. These classes doesn't seem to be there in the windows 10 UWP apps. Is there a way by which we can handle the suspend/resume states? There's an interesting framework being developed by the community (but mostly I think Jerry Nixon, Andy Wigley etc.) called Template10. Template10 has a Bootstrapper class with OnSuspending and OnResuming virtual methods that you can override. I am not sure that there's an exact example of doing

Unable to install GitHub for Windows

两盒软妹~` 提交于 2019-12-03 09:14:23
问题 I'm trying to install github for windows when I received this error: Application cannot be started. Contact the application vendor. The error log produced this: PLATFORM VERSION INFO Windows : 6.2.9200.0 (Win32NT) Common Language Runtime : 4.0.30319.34014 System.Deployment.dll : 4.0.30319.33440 built by: FX45W81RTMREL clr.dll : 4.0.30319.34014 built by: FX45W81RTMGDR dfdll.dll : 4.0.30319.33440 built by: FX45W81RTMREL dfshim.dll : 6.3.9600.16384 (winblue_rtm.130821-1623) SOURCES Deployment