windows-10

Show publisher name in list of installed programs

我与影子孤独终老i 提交于 2019-12-24 00:47:10
问题 I use Wix Toolset v3.11 to generate an .msi installer for my Windows application. How can I have a publisher name appear in the entry for my application in Settings -> Apps & features ? I noticed that some entries in that list include a publisher name underneath the app name: I set <Product ... Manufacturer="My Company Name" ... in my .wxs file and I can see this is stored in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\<guid>\Publisher .

How can I read JPEG EXIF orientation tags in a MS Word macro?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 00:24:52
问题 I have a Word macro that opens all the JPEGs in a particular folder, and inserts them into the document. The problem is the orientation. My macro reads the width vs. length to determine the orientation. But Word inserts the image according to the EXIF orientation tag, and Windows 10 rotates by the EXIF orientation tag. That means I have no real way of controlling the rotation of the image in the document. How can a Word macro read the EXIF orientation tag of a JPEG? 来源: https://stackoverflow

User Mode Scheduler (UMS) returns ERROR_NOT_SUPPORTED

岁酱吖の 提交于 2019-12-24 00:24:16
问题 I want to use the Windows User-Mode Scheduler API but every sample C or C++ I have found in the internet fails. Invariably I get ERROR_NOT_SUPPORTED. My Computer is running Windows 10 Pro 64-bits in an x64 processor. I am using VS2015 and the application is an x64 console application. Notably not every call fails, in the 4 samples I've tested either EnterUmsSchedulingMode CreateRemoteThreadEx Fail with ERROR_NOT_SUPPORTED. Those are necessary to get things going, but for example

Check progress of download operation which started in background task

送分小仙女□ 提交于 2019-12-23 23:09:58
问题 I have an application where users can download some files and these files can be also downloaded via BackgroundTask triggered by push notification for example. When the app is not running and I receive push notification, BackgroundTask starts to download the file. If I launch the app and the file is still downloading I would like to see progress of it. I am able to get all downloading files BackgroundDownloader.GetCurrentDownloadsAsync() . If I have list of DownloadOperation , am I able to

Is it possible to restrict the user from re-sizing a UWP app?

丶灬走出姿态 提交于 2019-12-23 23:07:47
问题 I am trying to port my existing WP8 app to Windows-10. Planning to release it in phases with just WP10 as primary target for phase-1. However I want to be able to release the same/slightly-scaled-up UI to desktop as well in phase-1. I have been playing around with a sample app trying to restrict window resizing by handling CoreWindow's SizeChanged event and preventing it from propagating. However this doesn't seem to do it for me. I am now wondering is it possible to restrict the user from re

How to pass seleced file details to another page - UWP?

旧巷老猫 提交于 2019-12-23 22:34:33
问题 I have a launcher page(MainPage1.xaml).There is a button to select video file from device. Now I want to play that selected file on next page (MainPage2.xaml). How can I get this selcted file StorageFile file on next page? private async void Button_Click(object sender, RoutedEventArgs e) { StorageFile file; FileOpenPicker openPicker = new FileOpenPicker(); foreach (string extension in FileExtensions.Video) { openPicker.FileTypeFilter.Add(extension); } file = await openPicker

How to write to an Access database on Windows 10

荒凉一梦 提交于 2019-12-23 22:19:34
问题 Because the jdbc odbc bridge is no longer available (see this question/answer), I tried UCanAccess, which works great reading the database, but on Windows 10, throws an error on a write attempt: ( [CONCURRENT_PROCESS_ACCESS] - File marked as read only. Notice that only one process (one VM) for time can access in writing mode. ). The same code reads and writes perfectly using the UCanAccess driver on Windows 8.1 and Windows 7. I am currently unable to tinker since I don't have a Windows 10

python script works in spyder console but not in spyder ipython or cmd in windows

假装没事ソ 提交于 2019-12-23 16:16:17
问题 I am trying to run this python script from How to connect to TT X_TRADER API in order to create an automated trading system using python? import pythoncom from time import sleep from win32com.client import Dispatch, DispatchWithEvents, getevents from win32com.client.gencache import EnsureDispatch, EnsureModule GATE = None NOTIFY = None class InstrNotify(getevents('XTAPI.TTInstrNotify')): def __init__(self): pass def Subscribe(self, pInstr): self.AttachInstrument(pInstr) pInstr.Open(0) def

Windows 10 UWP - C#: How to check network type (EDGE/3G/LTE), not only cellular vs. WLAN? [closed]

淺唱寂寞╮ 提交于 2019-12-23 13:15:20
问题 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 4 years ago . How can I check which type of cellular connection (EDGE/3G/LTE) is used at the moment? I only know how to check if device is on cellular connection or WLAN, but I need specific type of cellular connection. Thank you! 回答1: NetworkInformation should be available for Windows 10

Adding into Path var while silent installation of Python - possible bug?

怎甘沉沦 提交于 2019-12-23 12:44:03
问题 I need to passively install Python in my applications package installation so i use the following: python-3.5.4-amd64.exe /passive PrependPath=1 according this: 3.1.4. Installing Without UI I use the PrependPath parameter which should add paths into Path in Windows environment variables. But it seems not to work. The variables does not take any changes. If i start installation manually and select or deselect checkbox with add into Paths then everything works. Works same with clear