You need to have Windows 8.1. I have it on a USB stick and is mount on the letter D. Open your administrator command shell and use this command to fix this issue.
C:\Windows\system32>Dism /online /enable-feature /featurename:NetFX3 /Source:d:\
sources\sxs /All /LimitAccess
Deployment Image Servicing and Management tool
Image Version: 6.3.9600.17031
The operation completed successfully.
Use the command shell or the keyboard: Windows key + R to run this command:
This PowerShell script will create a screenshot file named MyScreenshot.bmp. I created a folder named temp and I put this powershell script named screen.ps1. The source code of this script is this:
$File = "MyScreenshot.bmp"
Add-Type -AssemblyName System.Windows.Forms
Add-type -AssemblyName System.Drawing
# Gather Screen resolution information
$Screen = [System.Windows.Forms.SystemInformation]::VirtualScreen
$Width = $Screen.Width
$Height = $Screen.Height
$Left = $Screen.Left
$Top = $Screen.Top
# Create bitmap using the top-left and bottom-right bounds
$bitmap = New-Object System.Drawing.Bitmap $Width, $Height
# Create Graphics object
$graphic = [System.Drawing.Graphics]::FromImage($bitmap)
# Capture screen
$graphic.CopyFromScreen($Left, $Top, 0, 0, $bitmap.Size)
# Save to file
Write-Output "Screenshot saved to:"
To run this script you need to be allow with this args:
PS C:\temp> powershell.exe -executionpolicy bypass -file .\screen.ps1
Screenshot saved to:
This tutorial will be completed in time with netsh advfirewall commands to configure your Windows operating system. You can use Command Prompt or choose Run as Administrator. 1. to show all rules:
netsh advfirewall firewall show rule name=all
2. to block up a range of ports 600 to 7000 for UDP inbound traffic:
netsh advfirewall firewall add rule name="UDP ports"
protocol=UDP dir=in localport=600-7000 action=block
3. to see whether the Windows… Read More »
The tutorial today will show you how to use the python module named django-import-export for importing and exporting files. If the Django project is done on a virtual environment, you will need to activate it. Install the python module using the pip utility:
pip.exe install django-import-export
Successfully installed backports.csv-1.0.7 diff-match-patch-20181111 django-import-export-1.2.0
odfpy-1.4.0 tablib-0.13.0 xlrd-1.2.0 xlwt-1.3.0
You must add the following to the file settings.py the INSTALLED_APPS… Read More »