I have finally upgraded my windows 8 app to windows 10 app. Unfortunately some of the features are not working in windows 10. One of the features I am looking is preventing automatic lock screen while my application is running.
In windows phone 8 I am using below code to prevent auto locking of windows phone, however, in windows 10, I didn't find this feature.
PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled;
What is the alternate of the above in windows 10?
Thanks!
you might use the new DisplayRequest class
Pretty simple to use :
displayRequest = new DisplayRequest();
displayRequest.RequestActive();
//Do your always on stuff
displayRequest.RequestRelease();
Related
Long story, so please bear with me.
I have an app that I wrote back in 2001 for an AS400/iSeries ISV. Basically, it takes drawing commands off of the AS400, and creates a windows graphic (bmp) file so that they can then display the graphic in their application. Everything has worked great over the years. Now, they have a new customer that is having problems running the application. The problem is that when my application is called from the ISV's software, windows generates a message stating that the application is a 16 bit application and can not be run. I am sure that the application is a 32 bit application. We have tested this on 3 machines running Windows 10 x64 at the ISV's office and do not get the error. We get the graphic and everything runs as intended.
I am guessing that the problem is that the WOW64 layer is somehow not enabled or not setup. Questions:
I thought that VB6 apps were all 32 bit. Is that correct?
Is it possible to not install the WOW64 layer during a Windows setup?
Is it somehow possible in Windows 10 x64 to not enable 32 bit apps?
If you have any other suggestions, we are glad to hear them.
TIA and for your time.
Wally
Currently I am using Ubuntu linux and I want to create a WinObjC app on Linux plateform. Is there any way to create WinObj apps on linux.
Sorry to disapoint you, but unfortunately there is not. WinObjC is intended to bring iOS apps to Windows 10. Basically it just enables you to write Windows 10 apps in Objective-C but you still need a Windows 10 machine to compile it.
A Windows 10 device and Visual Studio are mandatory at the moment, to create WinObjC apps.
I am using this below code to open a browser programmatically,this is not working in windows 10 whereas it is working in all the previous versions like Windows 8.1, Windows 7, etc.
Process.Start("http://stackoverflow.com");
Is there anyway to open a browser window programmatically in windows 10?
Try to open it with explorer (not internet explorer):
var startInfo = new ProcessStartInfo("explorer.exe", "http://stackoverflow.com");
Process.Start(startInfo);
It probably has to do with the default browser being a modern app... it used to happen with Chrome/ModernUI when it was your default browser on Windows 8 too
I'm trying something very different. We have legacy Windows Mobile programs that we need to run on Windows 8.1 tablets with capacitive screens. To do this we've installed the stand alone Windows Mobile 6.1 Emulator which runs without a problem. Doing this, we can load and run our old Windows Mobile programs on the 8.1 Tablet and they run well but we are having problems with the touch or mouse click. The emulator is meant to be used with a mouse button to select and click not a touch screen. When we run our old programs we have to double-tap in order to select anything. This is not a problem until we try to enter text from the emulator keyboard. We have to tap each key twice in order to enter a character. This becomes very tiresome and makes the legacy program useless. Our legacy Win Mobile program was designed to allow our field people to collect large amounts of text and numeric data. Having to tap each key twice will not work.
We've examined the limited mouse and touch option in Windows 8.1 and nothing seems to help. So here are my questions:
Is there third party software that may improve on Windows 8.1 mouse customization? Synaptic maybe?
Is there a command line switch for the emulator we could add that would fix this problem?
Does anyone know of a method to fix this?
Thanks
I have asked this question to MS support.
http://www.microsoft.com/en-us/download/details.aspx?id=17284
System Requirements:
Supported Operating System
Windows Server 2003 Service Pack 2, Windows Vista, Windows XP Service Pack 3
Windows Mobile 6.5 Developer Tool Kit is not supported by Windows 8.x
My Double click test video
http://youtu.be/0QIilCg1kxg
I think the problem is in Windows 8 touchscreen API driver, I have tested this emulator with Win7 tablet, no problems with double click.
I am working on a remote desktop application which works fine on windows 7 and its previous version. but In windows 8 mirror driver has removed so that we have to develop the same remote desktop feature using DXGI. I have read the documentation but I want to know Is there any limitation of DXGI ?
If any one experience some limitation while creating desktop emulation
in windows 8 please share.