Free Code Snippets in C#, Net Framework, Office 365, ASP.Net,WPF, Visual Studio, SQL Server, Antivirus free
#
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 14
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 13
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 16
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 17
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 46
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 50
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 37
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 43
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 44
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 41
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 59
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 56
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 59
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 81
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 75
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 54
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 62
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 64
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 56
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 61
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 70
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 72
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 58
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 65
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 70
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

Win Store App: Your last submission failed certification, Privacy Policy Net-Framework/UWP-Universal-Windows-Plattform/Errors/Store-Errors
Win Store App: Your last submission failed certification, Privacy Policy
22.06.2017 116
Win Store App: Your last submission failed certification, Privacy Policy Privacy Policy is missing in the app and needs to be specified If you place an app in Windows Store and this app accesses files, Internet or devices like the camera, then since 2017 a privacy

VS Error message: Image reference failed the size restrictions of 88 X 88 Net-Framework/UWP-Universal-Windows-Plattform/Errors/Store-Errors
VS Error message: Image reference failed the size restrictions of 88 X 88
22.06.2017 59
VS Error message: Image reference SmallTile scale-125 png failed the size restrictions of 88 X 88 The error comes when testing a package under Win32 Bridge app for the Windows Store error message

VS StorePackage Error: App manifest referencesPhotform failed the size restrictions Net-Framework/UWP-Universal-Windows-Plattform/Errors/Store-Errors
VS StorePackage Error: App manifest referencesPhotform failed the size restrictions
22.06.2017 60
When creating a Windows Store application, the error is that the required store images are the wrong sizes When building a js-Universal Windows app, the images are automatically created to an almost appropriate size The app asset images are created either in the local bui

UWP: The certificate specified has expired Net-Framework/UWP-Universal-Windows-Plattform/Errors/Store-Errors
UWP: The certificate specified has expired
21.06.2017 95
UWP: The certificate specified has expired Error creating the Windows Store App: The certificate specified has expired For more information about renewing certificates, see

VS Error: Unable to load DLL sqlite3.dll Net-Framework/UWP-Universal-Windows-Plattform/Errors
VS Error: Unable to load DLL sqlite3.dll
19.06.2017 54
Error: Unable to load DLL sqlite3 dll Visual Studio, SQLite UWP SQLiteException: Unable to set temporary directory Unable to load DLL 'sqlite3 dll'

Mobile

.

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