Web browser single exe




















Plus most companies don't allow access to registries anyway which means that anyone without this access could not use the settings feature. There are several ways to do this. You can use a command-line argument to do that.

Launch the app from the shell and put in your command line argument and change how it launches. A UNIX-y approach is to look at the name of the exe and change behavior based on that.

If I recall correctly, rsh and rlogin are the same executable - they just look at argv[0] to decide how to run. In windows, this is straight forward - look at System. GetCommandLineArgs - if there is a non-empty string in the 0th element of that, it will be your executable name. For persisting settings, see Jon Skeet's answer. I have to say that this is generally a bad idea, but I've done this before a long time ago in VB6. I created a Resource within the exe and then somehow directly manipulated it.

The problem is, is that this is usually not possible within the. NET framework due to it being memory resident. These guys tryed it out in. Modify Emdeded String in C compiled exe. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 11 years, 3 months ago.

Active 10 years ago. Viewed 2k times. Improve this question. Cory Cory 5 5 silver badges 14 14 bronze badges. Add a comment. Active Oldest Votes. For example, let's build a console app that just remembers how many times it's been launched: Create a new console application project Go to the properties page, and click into the Settings tab.

Click on the link to create a settings file Type in the table to create a setting called "LaunchCount" of type int.

Make it either user scope or application scope, depending on whether you want it to be persisted per user or system-wide. Hit Ctrl-S to save. In the Main method in Program. Default; settings. LaunchCount ; settings. Save ; Add the appropriate using directive for Settings put the cursor in Settings and hit Ctrl-. Run the app several times, and observe the number increasing.

Improve this answer. Jon Skeet Jon Skeet 1. Would you be changing the URL and rebuilding the exe, then redistributing it? To configure Microsoft Edge with multi-app assigned access, follow the instructions on how to Set up a multi-app kiosk. When using Microsoft Edge with multi-app assigned access, you can configure Microsoft Edge kiosk to use the Microsoft Edge browser policies to configure the browsing experience to meet your unique requirements.

Windows Settings is the simplest way to set up one or two single-app kiosk devices. Use the following steps to set up a single-app kiosk computer. To test the latest features, you can download the latest Microsoft Edge Stable channel , version 89 or higher. On the kiosk computer, open Windows Settings, and type "kiosk" in the search field. Sign out from the kiosk device and sign in with the local kiosk account to validate the configuration.

With the release of this preview version of kiosk mode we're continuing work on improving the product and adding new features. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Is this page helpful? Please rate your experience Yes No. Any additional feedback? Important Invoke Microsoft Edge kiosk mode features on Windows 10 using the command line arguments provided in Use kiosk mode features.

Note Policy configuration isn't limited to the policies listed in the following table, however additional policies should be tested to ensure that kiosk mode functionality isn't negatively affected. Submit and view feedback for This product This page.

View all page feedback. In this article. Read only address bar policy. Delete downloads on exit policy. Allow URL support policy. Block URL support policy. Show home button policy. Manage favorites policy.



0コメント

  • 1000 / 1000