Windows CE Startmenu edit - compact-framework

Hallo I would like to remove some items from the startmenu in a windows ce device.
It should look like
I want that the normal user cannot access the settings. He must be able only to switch-off/restart the device.
I tried to edit the registry but without success. Do you know a way how to do it? Is it possible?

As per the start menu source code, we can remove only "Suspend" icon through the registry. You can concentrate on 'WINCE600\PUBLIC\SHELL\OAK\HPC\EXPLORER\TASKBAR\stmenu.cpp'.

Related

problem with running files in intellije idea,itsApparently the problem was caused by windows security

enter image description hereenter image description here
Windows Defender might impact performance
Exclude IDE and project directories from antivirus scans:
C:\Users\shahrokh\IdeaProjects\untitled1
C:\Users\shahrokh\AppData\Local\JetBrains\IntelliJIdea2021.2
C:\Users\shahrokh.gradle
Alternatively, add the IDE process as an exclusion.
i search it in the special site of intellij idea ,and see it:
If you prefer to perform the necessary configuration manually, you can do so by following these steps:
Click the Start button
Type “Windows Security”
Click on “Virus and threat protection”
Click on “Manage settings” under “Virus & threat protection settings”
Scroll down if needed, and then click on “Add or remove exclusions”
For every folder shown in the notification, press the + button, select “Folder” from the menu, and select the folder.
but when i search Windows Security my system show me windows defender ,there arent these setting
In addition, I changed my anti-virus settings so as not to interfere with the intellij idea process. But again, the problem was not solved.
i use kaspersky protection
please help me
You don't have to worry about anything. IntelliJ will continue to function as it is intended to and will get the work done. I also get some messages like this sometimes and just ignore them. Again there's no major impact on the performance. Hope that I was able to help.
i uninstall my intellij idea then install it again and it solved

Can't use background task in Windows Phone 8.1 (the ID_CAP_NETWORKING required, but it's included in the manifest)

I need to update my Windows Phone application tile by downloading and parsing JSON. So I'm using Microsoft HTTP Client Libraries.
And I've always got the exception Use of networking APIs requires the ID_CAP_NETWORKING capability to be defined in the application manifest when I'm trying to debug background task.
But my manifest included ID_CAP_NETWORKING as required (screenshot https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-xaf1/t31.0-8/10750111_821340111262044_6461333323674658178_o.jpg).
I don't know what to do. I tried rebuild or recreate the app, but this didn't help. Also I can't find any documentation or an answer on the internet.
Can you please write, what can I do to solve this problem?
This is demo project http://1drv.ms/1yjHm49 with reproduced problem (project's name is 'Meduza. Windows Phone').
I debug my application on Lumia 720 (if it can help).
I re-downloaded your project and now I get your error. So I thought, I must of done something before launching your project that fixed it.
It took me while, but I can get your project to work by doing this
Unzip project to directory
Open Project
Clean Project
Add Internet (Client and Server) in Package.appxmanifest file (make sure you save it before exiting)
Put the break points in your background task
And it works. So a combination of Clean Build + editing the Package.appxmanifest did the trick for me.

How can I view/edit my registry settings on a Windows CE 6 device?

In his second comment here, PaulH suggests changing registry settings, providing this link.
I'm not sure editing the registry is really something I want to do, because copying files to the handheld was working fine until late yesterday, and I doubt any change was made to the registry to cause that problem to commence, so I'm not at all sure that changing the registry will fix the problem.
At any rate, I wanted to compare the values I have in the registry with what is shown on that msdn page linked above. The "USB Function RNDIS Client Driver Registry Settings" section of the page references several values stored in the Registry below HKEY_LOCAL_MACHINE\Drivers
However, when I Start > Run > "regedit" on my Windows CE handheld device, it doesn't know what RegEdit is.
I even looked on my PC for such a branch, but I have no "Drivers" folder beneath HKEY_LOCAL_MACHINE; all I've got are:
BCD000000000
HARDWARE
SAM
SECURITY
SOFTWARE
SYSTEM
So how can I examine my registry settings on the handheld device? I thought maybe my software was too old (pre-dated the registry) but the page referenced above is for Windows CE 5.0, so that's obviously not the case.
UPDATE
I downloaded the "remote registry editor" which PaulH recommends below. However, here he recommended changing the registry setting from RNDIS to Serial_Class yet it is already set to Serial_Class:
Does this mean I should try to change it to RNDIS and see what happens, or am I doomed?
Windows CE doesn't come with a registry editor (as you discovered). You can download one, use the Registry API, or (if you can get activesync working) use a remote registry editor.
The registry layout on the WinCE device only vaguely resembles the on on your PC. Don't look for any real consistency there.
If debugging on visual studio then running Registry API in the watch window is an option.
It's crude but you don't have to download spookware from the internet

how do i chnage the desktop icon for a visual basic program (.exe)

im making a vb.net app and i want to set the icon, how can i do this?
--edit--
turns out i was a bit confused, and it was working. but the answers can still be useful for others.
If I understand the question and issue, your setup/installer might be missing something.
It would seem you did create a shortcut, add it to the Setup project to install to the Desktop (else you wouldnt have one at all)
Select the shortcut in your setup project, open the properties window
Click Target. The list of files you are installing will come up. Select the App.Exe (ie the main executable "MyApp.exe" ususally the primary output). I think Icon is supposed to be set to "Icon" as well.
I think those 2 things combined link the Desktop Shortcut's Icon property to Use the App.Exe's. If there is also a shortcut in the user's programs menu do the same thing (or drag drop a copy).
You are basically doing to the Setup Project's shortcut what you would do to a normal desktop icon to change it or set it. The proj apparently fills in the actual path etc at install.
EDIT
PUBLISH simply compiles everything and produces files for the dev to distribute. It is called PUBLISH because in many cases the output includes a ready to use Setup program for the END USER to install on the PC. (Based on your new Pic, you are trying to reinstall everytime you click the icon or file inside the folder.)
Again, if you do not add a Setup proj to your project, the default one is used and it gives no option for where to install and does not add a shortcut.
Just delete all that junk, Publish again to the default location (VS Studio\...Project name\bin\Publish). Go to that folder and run setup. It will still install to Users\AppData.. but will add a shortcut (to the program) to the start menu.
For a desktop icon, do the "Send To Desktop ..." thing. To INSTALL an icon, you have to add and modify a Setup proj to your Solution.
HTH
'The folder shows the icon for the app, but the icon for the form is different. change the form's icon(in the property grid) to the same as the app and you should see it then.
When you publish it there's 2 files produced that are basically setup files. One relies on the ClickOnce Application Deployment Support Library and the other is a standalone setup app. Since neither one is the actual app you designed, they aren't going to have the icon you want. You'll probably have to investigate other more configurable deployment options.

populate Windows 8 "All apps" list

I have an MSI package that creates some shortcuts, playing around with Windows 8 I noticed that on the Start screen it shows only the shortcuts from the top level folder of my application which I create in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\. When I hit "All apps" Windows displays and the shortcuts from the sub-folders for other apps (for example VS 2012), but not for mine. Does anyone knows why? What else do I need to do so I can have Windows display shortcuts found in my sub-folder when the user selects "All apps"?
Here is a partial answer. It appears that there is a problem with the app indexer. So far I haven't found a way to simply force the search to find my apps without a bit of unneeded effort. To force search to find your app you can simply pin it to the start menu and then unpin it from the start menu this adds it to your local preferences.
Another indication of what is happening is that, even if a shortcut is deleted, it still shows in the All Apps menu until you do a disk cleanup and delete thumbnails.
I found another oddity. I have Tortoise Svn installed and anything I put in the start menu folder for that application shows up, but in my Open Office start menu folder the link has to be prepended with "OpenOffice.org " to show up.
I install my shortcut links here:
C:\Users\Randall\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
This works just fine for me. My shortcuts all show up in the Win8 all apps list.
I'm installing in the user's profile so my app can run as a non-admin.