windows-10

Windows 10 Universal App - Type exists in both “Windows.Foundation.UniversalApiContract”

删除回忆录丶 提交于 2019-12-10 02:08:25
问题 somehow (I have not even done anything) I get many erros in Visual Studio 2015 but I cant understand what the problem really is. It says that a lot of "types" exists in both "Windows.Foundation.UniversalApiContract" libraries. Can somebody help me? What can I do to rescue my solution and my project? I've tried to clean and rebuild it sometimes and this doesn't helped. 回答1: Looks like you are referencing both the Windows 10 SDK metadata (UAP) and the Windows 8.1 SDK metadata (Windows). Are you

Using custom styles shows invalid characters when right-clicking a file in TOpenDialog

痴心易碎 提交于 2019-12-10 02:04:06
问题 See steps below to reproduce. Works well in XE2 but not XE8. Create a new VCL Forms Application - Delphi Place a TButton and a TOpenDialog on the form In the button OnClick event call OpenDialog1.Execute Run the program, open the file dialog, and right-click on a text file => shows menu items ok Go to Project/Options/Application/Appearance. Enable and choose a custom style (such as "Ruby Graphite") and recompile Run the program, open the file dialog, and right-click a text file => does not

Where is gacutil.exe in Windows 10?

僤鯓⒐⒋嵵緔 提交于 2019-12-10 01:43:20
问题 I've got Windows 10 Pro 64 bit , Microsoft Visual Studio 2015 and the full Windows 10 SDK package but I'm not able to find gacutil.exe in: Microsoft Visual Studio 2015 subdirectories Windows 10 SDK subdirectories C:\Windows\Microsoft.NET subdirectories C:\Windows\System32 C:\Windows\SysWOW64 C:\Program Files\Reference Assemblies subdirectories C:\Program Files (x86)\Reference Assemblies subdirectories Don't come tell me it's a duplicate, please. The other answers don't actually answer my

How to add icons to SecondaryCommands in Command Bar

╄→гoц情女王★ 提交于 2019-12-10 00:05:08
问题 I am trying to build a CommandBar that looks like this: Desired CommandBar with SecondaryCommands that have icons But I can't find a way to edit the default style of CommandOverflowPresenter in order to show SecondaryCommands like they are shown in Mail Windows 10 universal app, with icons on the left and text labels on the right. The CommandOverflowPresenter doesn't have a Content property to build a control template around it and bind content elements to AppBarButton Icon and Label

How to start python simpleHTTPServer on Windows 10

拈花ヽ惹草 提交于 2019-12-09 23:31:47
问题 I recently bought a Windows 10 machine and now I want to run a server locally for testing a webpage I am developing. On Windows 7 it was always very simple to start a HTTP Server via python and the command prompt. Fx writing the below code would fire up a HTTP server and I could watch the website through localhost. C:\pathToIndexfile\python -m SimpleHTTPServer This does however not seems to work on Windows 10... Does anyone know how to do this on Windows 10? 回答1: Ok, so different commands is

SQLite Windows 10 RTM universal app

放肆的年华 提交于 2019-12-09 22:06:41
问题 With the Windows 10 RTM and Visual Studio 2015 RTM SQLite doesn't work any more. For instance, the tutorial at http://igrali.com/2015/05/01/using-sqlite-in-windows-10-universal-apps/ will not add the SQLLite.cs and SQLiteAsync.cs files to my project, also the "Microsoft Visual C++ Applocal runtime Package for Windows UAP" reference is not available for me. The funny thing is it worked with the RC versions ... SQLite Version: sqlite-uap-3081101.vsix (5.73 MiB) 回答1: Using sqlite-uap-3081101

Error while using SSMS 2016 : Object cannot be cast from DBNull to other types

五迷三道 提交于 2019-12-09 19:17:35
问题 Can anyone resolve this issue: SQL Server Management Studio 2016 CTP3 (13.0.900.73) on a Windows 10 Laptop Object Explorer > Server > Databases > Database Right Click - Properties Instead of getting the Database Properties dialogue box I instead get this pop-up: TITLE: Microsoft SQL Server Management Studio Cannot show requested dialog. ADDITIONAL INFORMATION: Cannot show requested dialog. (SqlMgmt) Object cannot be cast from DBNull to other types. (mscorlib) BUTTONS: OK Edit: Issue is

Dapper type mapping hangs in Windows 10 for large queries

与世无争的帅哥 提交于 2019-12-09 19:00:38
问题 I have a very simply query in my projects that returns ~1.3 million rows: var aliases = ctx.Query<sec_entity_alias>(@"select * from sec_entity_alias"); The class that is mapped to is: public partial class sec_entity_alias { public int id { get; set; } public int sec_entity_id { get; set; } public byte sec_entity_alias_type_id { get; set; } public string symbol { get; set; } public virtual sec_entity_alias_type sec_entity_alias_type { get; set; } } When I run the query it hangs indefinitely

EF6, refreshing large DB-first entity model taking forever in VS 2015 on Windows 10, compared to VS 2015 on Windows 8.1

被刻印的时光 ゝ 提交于 2019-12-09 18:34:11
问题 Ever since I upgraded to Windows 10 my entity model has been nearly impossible to update. It takes forever to open the model designer, then forever to right click the designer to bring up the context menu to select "Update model from database". Opening the same model in VS 2015 but on Windows 8.1 is much, much faster. It doesn't seem to be just my machine since the same is happening for our other developers on Windows 10. But those on Windows 8.1 have no problems. 回答1: I had exactly the same

Right Click on Tray Icon in Windows 10 with AutoHotKey

女生的网名这么多〃 提交于 2019-12-09 12:55:56
问题 In Windows 7, I had an AutoHotKey script that would automatically Right-Click on a tray icon. #Include %A_Scriptdir%\TrayIcon.ahk TrayIcon_Button("CCC.exe", "R") Which used the TrayIcon.ahk library from FanaticGuru's post. This worked just fine on Windows 7, but no longer works on Windows 10. Is there a way to right click on a TrayIcon in an AutoHotKey script on Windows 10? Here is the TrayIcon_Button function from the library. I refrained from posting the entire library since it is fairly