Free Code Snippets in C#, Net Framework, Office 365, ASP.Net,WPF, Visual Studio, SQL Server, Antivirus free
#
Error caused by Caliburn Micro Net-Framework/WPF/Error-Messages
Error caused by Caliburn Micro
14.08.2017 49
Error caused by Caliburn Micro In a download project from Windows 8 1 for the transfer in Windows 10 the error is shown, that there is an internal error to the Caliburnproject and Caliburn Micro The use in the old project can be found in the XAML header Further t

WPF: System.Windows.Interactivity is broken or missing Net-Framework/WPF/Error-Messages
WPF: System.Windows.Interactivity is broken or missing
14.08.2017 43
WPF: System Windows Interactivity is broken or missing In a project, the System Windows Interactivity reference is showing an error System Windows Interactivity

FFmpeg: Software Library for ScreenCapture Net-Framework/Software/Video
FFmpeg: Software Library for ScreenCapture
14.08.2017 43
ScreenCapture with FFmpeg Status Video Development Windows 10, 2017 It is no longer possible to develop software for capturing screens and replacing screens on Windows 10 UWP (Universal Windows Platform) does not provide access to the screen or to memory str

C ++: stdafx Net-Framework/C_p__p_
C ++: stdafx
10.08.2017 50
C ++: stdafx For what you need the stdafx h and stdafx cpp In the stdafx, references to Windows are written, which do not often change and are used in the program These are pre-compliments Description: For this, see

UWP: MP4 Show Internet file with the MediaPlayerElement Net-Framework/UWP-Universal-Windows-Plattform/Video-Stream
UWP: MP4 Show Internet file with the MediaPlayerElement
28.07.2017 101
UWP: MP4 Show Internet file with the MediaPlayerElement The following code loads the MP4 video from the Internet and presents it on a UWP MediaPlayerElement The trick is that the file is on the Internet and is connected via a RandomAccess stream You can use it to

WPF, Bridge: StorageFile access with Windows 10 under Win32 Net-Framework/WPF/Migrate-to-UWP
WPF, Bridge: StorageFile access with Windows 10 under Win32
21.07.2017 93
WPF, Bridge: File access with Windows 10 under Win32 The functionality of the UWP Windows 10 can be integrated under Windows 32 WPF WinForms Then you can open and manage files with asynchronous access as a storage file In contrast to UWP you have the comp

UWP: Transparent frameless window Net-Framework/UWP-Universal-Windows-Plattform/Basics/Visual
UWP: Transparent frameless window
21.07.2017 175
UWP: Transparent frameless window How to create a frameless, transparent window under UWP? frameless: Under UWP you can extend the contents of the app application to the outer frame of the app To do this, you have to extend the app titlebar with Ext

WPF: Create, write and read settings dynamically Net-Framework/WPF/Basics/Settings
WPF: Create, write and read settings dynamically
20.07.2017 95
WPF: Create, write and read settings dynamically Under WPF settings are stored in Settings These are usually in development mode in an editable file You can also use the settings dynamically at runtime, such as adjustable user variables or app variables Unlike

WPF: Create settings at runtime Net-Framework/WPF/Basics/Settings
WPF: Create settings at runtime
19.07.2017 92
I want to save in my WPF application data in the settings The settings should appear at runtime However, an error message comes when the data is finally stored in the settings The following C # code is usually recommended to save settings

WPF / UWP: Canvas with relative positions and sizes Net-Framework/WPF/Code-Samples
WPF / UWP: Canvas with relative positions and sizes
07.07.2017 153
WPF UWP: Canvas with relative positions and sizes This code example shows a Windows XAML application, where the positions and size of the elements in a Canvas Control match the runtime, relative to the size of the window or canvas element In the Canvas_ChangedSize

C #, WPF, UWP: ScreenShot to save an app or window area as a file Net-Framework/WPF/Code-Samples
C #, WPF, UWP: ScreenShot to save an app or window area as a file
06.07.2017 156
C #, WPF, UWP: ScreenShot to save an app or window area as a file C #, WPF, UWP, RenderTarget Bitmap, Encoder, SaveSave as File, Desktop, Screen Area Render Windows window, app, application or XAML element as bitmap and save the element as a ScreenShot fil

XAML: Text break in the button Net-Framework/WPF/Basics
XAML: Text break in the button
06.07.2017 96
XAML: Text break in the button WPF, UWP, XAML, TextWrap, Wrap, LineBreak The UIElement, Framework ElementButton has no direct option for the text break If you want a text break in a button, you have to either set a sub-element TextBlock inside t

C #: Windows ScreenShot save as file Net-Framework/WPF/Code-Samples
C #: Windows ScreenShot save as file
06.07.2017 130
C #: Windows ScreenShot save as file, Windows Graphics, Desktop This application in Windows WPF saves the current monitor as a screenshot in a png file Video Tutorial This application in Windows WPF saves the cu

WPF Windows Font icons with Segoe MDL2 Asset Net-Framework/WPF/Basics
WPF Windows Font icons with Segoe MDL2 Asset
06.07.2017 172
WPF Windows Font icons with Segoe MDL2 Asset With a trick WPF and C # can be installed in Windows applications under Windows FontFamily: Segoe MDL2 assets One can enter the font a FrameworkElements or UIElements into the Properties->

WPF Color Picker on Color Cube Net-Framework/WPF/Code-Samples
WPF Color Picker on Color Cube
05.07.2017 143
WPF Color Picker on Color Cube, Black White Color This code example contains a color picker (ColorPicker) with which you can determine a color at run-time in RGB values The color is returned, over which the mouse pointer is positioned as a cursor

WPF: Draw ColorWheel in C# by drawing Lines Net-Framework/WPF/Code-Samples
WPF: Draw ColorWheel in C# by drawing Lines
04.07.2017 150
WPF: Draw ColorWheel The following code creates a ColorWheel that is needed to select color in an application The solution is designed to automatically draw lines from the edges of a rectangle directly into the center of the rectangle using the draw_Lines () method

WPF: Snap In to Next Lines of Elements Net-Framework/WPF/Code-Samples
WPF: Snap In to Next Lines of Elements
29.06.2017 109
WPF: Snap Next Lines The following code example contains a WPF application in which the moving elements always dock onto the other elements The C # code is based on the fact that when a corner of an element is moved, the new position in the top and left position is

WPF Code: Usercontrol with customizable size at runtime Net-Framework/WPF/Code-Samples
WPF Code: Usercontrol with customizable size at runtime
29.06.2017 131
WPF Code: Usercontrol with customizable size at runtime This code example involves the calculation and adjustment of the size and position of a UserControl at runtime in a superior canvas UIElement C # Code, Code-Example Video ins

WPF: Save the background of a Windows app as a ScreenShot Net-Framework/WPF/Code-Samples
WPF: Save the background of a Windows app as a ScreenShot
28.06.2017 141
WPF: Save the background of a Windows app as a ScreenShot The following C # code saves the current background or the appearance of a Windows 32 WPF app as a bitmap This example also shows that only the app application is captured and not the background desktop behin

WPF, UWP: Create transparent app window Net-Framework/WPF/Code-Samples
WPF, UWP: Create transparent app window
28.06.2017 168
WPF, UWP: Create transparent app window Create a transparent app window A window becomes transparent with WPF when the following settings are entered in the XAML value

WPF: Grid with variable cells Net-Framework/WPF/WPF-Projects/Desktop-Background
WPF: Grid with variable cells
28.06.2017 118
WPF: Grid with variable cells This example includes a complete WPF application in C #, which dynamically adjusts the contained cells When the focus of a cell is obtained, a changeable frame is displayed, which allows the rows and columns of a free WPF grid

WPF: Determine the relative position of an element Net-Framework/WPF/Code-Samples
WPF: Determine the relative position of an element
28.06.2017 115
WPF: Determine the relative position of an element Under WPF, you can use TranslatePoint ( ) The position of a subordinate element to the upper left corner of a parent element C # Code example UIElemen

WPF: Mouse position Net-Framework/WPF/Code-Samples
WPF: Mouse position
28.06.2017 116
WPF: Mouse position How to determine the position of the mouse pointer in a WPF application The position of the mouse is always determined relative to the upper left corner of a superimposed UIElement From the MouseEventArgs parameter in the Mo

WPF: Multi-Column Multi-Row Grid with Cell Events Net-Framework/WPF/WPF-Projects/Desktop-Background
WPF: Multi-Column Multi-Row Grid with Cell Events
27.06.2017 93
WPF: Multi-Column Multi-Row Grid This example shows a dynamic grid with multiple columns and rows Whenever the mouse cursor moves over a cell, the position of the cell is recorded and displayed In Visual Studio

WPF: Change desktop background dynamically Net-Framework/WPF/WPF-Projects/Desktop-Background
WPF: Change desktop background dynamically
27.06.2017 113
WPF: Change desktop background, wallpaper This C # wpf code example shows how to dynamically change the screen background of the desktop at runtime in a Windows application You can easily use the Windows system command: SystemParametersInfo

DAC Fehler: Base image BaseImage-15063 wim could not be found Net-Framework/Windows-Store/Bridge/Erros
DAC Fehler: Base image BaseImage-15063 wim could not be found
23.06.2017 148
DAC Fehler: Base image BaseImage-15063 wim could not be found Failed to setup the DAC DesktopAppConverter The BaseImage is not recognized C: Program Files WindowsApps Microsoft

Include Windows 10 UWP in Win32 WPF Winforms Net-Framework/Windows-Store/Bridge
Include Windows 10 UWP in Win32 WPF Winforms
23.06.2017 144
How to use Windows UWP commands under a Windows 32 Classic desktop application? Step 1: Include references 1a) winmd In the first step you have to connect the file winmd from the Windows SDK or Windows 10 Kit Dir

Instructions for DAC Desktop App Converter Net-Framework/Windows-Store/Bridge
Instructions for DAC Desktop App Converter
23.06.2017 110
Instructions for DAC Desktop App Converter The DAC Desktop App Converter from Microsoft allows you to convert a classic desktop application (WPF or Windows Forms) In a UWP application, which can be loaded into the Windows Store The DAC Converter creates a Visual Studio soluti

Bridge, Store Error: Your developer account does not have permission to submit apps with the desktop bridge at this time Net-Framework/Windows-Store/Bridge/Erros
Bridge, Store Error: Your developer account does not have permission to submit apps with the desktop bridge at this time
23.06.2017 145
When you publish Windows 32 Classic desktop applications to the Windows Store as UWP Bridge applications, the first time you receive a message that you can not upload the application, Because you have no permission to publish desktop bridge applications Error:

Bridge Errors: Problem. Could not load file or assembly Windows.winmd or one of its dependencies Net-Framework/Windows-Store/Bridge/Erros
Bridge Errors: Problem. Could not load file or assembly Windows.winmd or one of its dependencies
22.06.2017 140
Error Bridge: Problem Could not load file or assembly Windows winmd or one of its dependencies When creating a WPF application with Windows 10 API, the error occurs that the winmd is loaded incorrectly

Mobile

.

Contact for Jobs, Project Requests: raimund.popp@microsoft-programmierer.de