How to build custom shell for windows7, wpf? [closed] - c#

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 8 years ago.
Improve this question
How can I make my own shell for windows 7?
That will run in fullscreen mode and act something like windows media center.
What I want to achieve is a kind of application menu. After OS starts, shell will boot so the user can choose and run apps from the shell. When they are closed, user returns back to shell.
I've found no information on how to implement custom shells. Does anyone know where should I start with it?
I understand that it may require some c/c++ code, but i'd like to code in c#, wpf mostly.

Full screen application will probably enough for you.
To truly replace shell you need to change setting like HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell. Please search and read about making changes to this key... you still may be able to use task manager to bring regular explorer back if you change the value incorrectly.

Related

Is there a way to overcome antivirus blocking hosts file with c#? [closed]

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.
Improve this question
So I have Avira installed on my device. I need programmatically change 'hosts' file. And trying to do so, Avira shows that the file is blocked and I'm getting an exception that the access to the file is denied. Is there a way to overcome this antivirus restriction with C#?
I don't want to delete or disable antivirus.
Click the Avira umbrella icon on the right side of the task bar. Your Antivirus product will open.
Click the cogwheel in the bottom left corner of your Antivirus product. The configuration menu will open.
Select PC Protection > Real-Time Protection > Exceptions.
Enter the processes or files and folders you want to be ignored from the scanning process, or browse for your exceptions.
Click Add to move your selection to the exception window.
Click Apply and then OK to confirm the changes. The configuration menu will be closed.
I just copy pasted from Avira→Source

MouseClick events on transparent Forms without interrupting events on background apps [closed]

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 5 years ago.
Improve this question
I need to check when and where user uses mouse while using his computer. For that, I created transparent Form which stays always in foreground. The problem is, it doesn't behave as I expected it to.
For some reason, when I choose backgroundColor and transparencyKey of Form to Red I can read MouseEvents but I can't do anything on apps that stays in background. I can see through Form as it's transparent, but I can't make any actions using mouse on apps that stays behind it.
On the other hand, when I set backgroundColor and transparencyKey to Control (System color) I can operate on other apps, but MouseEvents doesn't work.
Is there any simple way I could use MouseEvents and be able to use other windows apps at the same time?
If you need control Mouse or Keyboard activity at system level there is only one way, but is not simple: Use hooks. See SetWindowsHookEx for reference.
SetWindowsHookEx is a Windows API that intercepts all the keyboard and/or mouse activity and allows to your application retrieve the information.
Here and here (version 1) there are a couple of examples.

Change style of datetimepicker in windows form [closed]

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 5 years ago.
Improve this question
Is it possible to change the style of datetime picker in windows c# application, I want round shape border to my calendar. Required style and current view is provided in Image . Thank you.
Syncfusion DateTimePickerAdv supports creating rounded corner DateTimePicker. Here is an example.
Screenshot
You need Syncfusion Essential Studio to be installed for the sample to work.
The entire product is available in this link.
Note: I work for Syncfusion.
Short answer: No
Long answer: You can't do that 'out of the box' in win forms application, unless you are ready to pull your hair out to write custom controls (Even then you will not achieve what you are expecting, like above image)
Other options would be to use WPF and/or use some 3rd party controls (like Telerik or Syncfusion)

Creating a visual GUI [closed]

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 7 years ago.
Improve this question
I would like to know how to create an custom user interface for a program I am making.
What I want to add besides the default buttons and text boxes is an raster image frame inside of the application and some raster image buttons that change their animation/image.
And also learn how to draw additional items on the screen (buttons, input boxes) after pressing the desired selector button (for input types).
All in all - I would appreciate it if some one pointed me to a tutorial for this or code examples I can learn from.
You have http://www.wpftutorial.net/ to learn how to create WPF interfaces (Windows Presentation Foundation) for Windows / Phone.

Closing windows form via taskbar different to close button? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I have a windows forms program which saves properties like its size, location, splitter bar locations &c in a properties file in hte usual way. I've noticed that whenever I close the application by right clicking on its taskbar icon and choosing 'close window', these properties don't save correctly and my application then either won't start or starts with size 0 or something.
Of course I can catch these problems and hack around them, but I would like to know what is different between closing via the form and via the taskbar, so I can handle the appropiate events.
As the first commenter to recommend the use of Form.Closed, I'm demanding my ransom money! :-)

Categories

Resources