Tag Archives: Windows 8

Managing your bookmarks with xmarks.

This tool works by cloud-storing your bookmark files and synchronizing them between computers.
I used this tool from at least 7 years.
The tool synchronization allowing for full merges or overwrites from the server or any linked workstation.
Come with addons for Firefox and works well with Chrome,Internet Explorer and Safari.
The next image show you how data bookmarks from server will restore your bookmarks:
xmarks free tutorials

Posted in All, web, Windows 10, Windows 7, Windows 8, Windows XP. Tagged with , , , , , , .

Using python to make authentication into GMail API.

Is simple to do with python. The script I make is simple without classes.
Let’s start with first steps:
You need to create your project and then one credential with json file.
See the next image to see how is your json file. My json file is renamed to client_secret.json and is used by python script.
python-oauth2
The json file is into same folder with my python script.
After first run the script will make one json file named: gmail-python-quickstart.json.
Is simple way to get and put credentials to solve authentification to google.
Another step is to add GMail API library to your project. This allow you to use the functions from the GMail API.
The python script is very simple to do. Follow the part of this script.
Is need to use some python modules. One reason is to deal with email format, see email python module.
Some python modules are used to make authentication to google: oauth2client and apiclient.
I used argparse python module , but is no need to add arguments to the script.
The result of this script will send a email to: your@yahoo.com.
The email is created by CreateMessage function.
About the special value “me” that come from Google API and is for user.

Posted in All, Google API, Programming, Python. Tagged with , , , , , , , .

Windows 10 – replace cmd with powershell.

1. Why PowerShell?
– since Windows 7 we have a new command-line environment in Windows named PowerShell;
– is a much more powerful command-line shell;
– the scripting language is more good than the Command Prompt;
– is more complicated than the traditional Command Prompt;
– uses different commands, known as cmdlets in PowerShell;
– allows you to create your own commands and scripts using the C# programming language;
2. How to replace cmd with powershell.
Right click with the mouse on taskbar from bottom of your Windows screen.
Then select the tab named Navigation and select option with: “Replace the …”. Press then Ok button.
Right click with the mouse on the Start icon and will see the replacement of Command Prompt.
replace_cmd_powershell

Posted in All, Commands, PowerShell, Windows 10, Windows 7, Windows 8. Tagged with , , , , , , .

Using DISM – part 001.

The Deployment Image Servicing and Management named DISM.exe is a command-line tool that can be used to service a Windows. DISM can be used to mount and service a Windows image from a .wim file, .vhd file, or a .vhdx file or, in some cases, to update a running operating system. It’s working for Windows 10, Windows 8.1, Windows 8, Windows Server 2012 R2 or Windows Server 2012. Also may help you to fix some Windows corruption errors – and this will be the subject of this tutorial.
So you need to start the Command Prompt (Admin) by right clik with the mouse on Start button.
Then select the Command Prompt (Admin) and press Yes to User Acces Control modal dialog.
You will see the Command Prompt (Admin) and use this commands:

– it’s gonna take some time.

– use if you encountered an error at the scan.
The DISM tool creates a log file: %windir%/Logs/DISM/dism.log
You can read more about this tool from here.
DISM

Posted in All, Windows 10, Windows 8. Tagged with , , , .

VS 2015 – fix toolbox with COM components.

Today I will show you how to add COM components to your Visual Studio 2015 toolbox.
In this example I add the Windows Media Player COM component.
To do this you need to use this Right Click – mouse within the Toolbox, and then select Choose Items.

See image:
VS_2015_toolbox_com_001
After that will see this window and just click on COM Components tab.
VS_2015_toolbox_com_002
Use your mouse to select Windows Media Player.
If you want to use another COM component or your DLL file then you need to use Browse… button to add it.
This will should be in the Windows\System32 folder…
Now you can see your COM component into Toolbox:
VS_2015_toolbox_com_003

Posted in All, C#, C++, Programming, Windows 10, Windows 8. Tagged with , , , , , , .