Tag Archives: Windows 10

GIMP – normal map plugin – part 001.

So this plugin come us to give one good tool to improve the 3D objects with normal map.
The developers tells us:
This is a plugin for GIMP version 2.8.x. It allows you to convert images into RGB normal maps for use in per-pixel lighting applications. The goal is to completely clone NVIDIA’s photoshop plugin, with a few new useful features.
First you need to download it from gimp normal map google website.
Unzip the archive and copy files to yor Gimp folder, see:

The open one new image and fill with some drawing or text.
I used one with transparent background. I draw with brushes and I add one text.
This pugin can be found at Filters -> Map -> Normalmap.
Take some time to undestand how to working but the goal is to test yourself because most of the result depends by your drawing skils.
Also you can see your result with 3D objects button.See the next image:
gimp_normal_map_plugin

Posted in All, Gimp. Tagged with , , , .

JavaScript tutorial – part 001

Because many users used javascript with web browser or to make web development I will make few tutorials about JavaScript.
I will try to cover the most important details and features that JavaScript has to offer.
First , the JavaScript language has no concept of input or output because is designed to run as a scripting language in a host environment.
The JavaScript is an object-oriented dynamic language with types and operators, standard built-in objects, and methods.
The syntax is based on the Java and C languages.
JavaScript’s types are:

  • Number
  • String
  • Boolean
  • Function
  • Object
  • Symbol

Because Symbol type is new in Edition 6 then you need to know this: A symbol is a unique and immutable data type and may be used as an identifier for object properties.. See this example with one symbol type definition.

One good website to learn the basics of JavaScript it’s www.w3schools.com.
Let’s try to get screen resolution with javascript.
First you need to make your html file and to add this source code under <script></script>  html tags:

This variables will be used with this source code:

Detecting the screen resolution come when we used variables and then we used that to make redirecting on another page.
How to create an object constructor
This is the source code :

The output will be one window with this text: My_first_name ;

You can test it online with jsbin.com website.

Posted in All, javascript, Programming, web. Tagged with , , , , .

VS 2015 – tips and tricks – part 001.

This tutorial show you some of the basic tips and features of the Visual Studio 2015.
First I will provides a succinct overview of the Web programming over Visual Studio 2015.
Just open your Visual Studio and create one Web Site with : File – New – Web Site .
VS_empty_web_002
Then if you want to use C# then use this :
VS_empty_web_003
You can add some new scripts and features by using packages. This will come from NuGet Package Manager.
In the next image I used : Tool
to install the jQuery.
VS_empty_web_004
You can do many things to improve your performance with Visual Studio 2015.
For example use this
and will have one good vertical scroll bar.
VS_empty_web_005
This will map your source code page.
VS_empty_web_006
Also you can split your source code by drag from icon of the bottom of this scroll bar map .
VS_empty_web_007
If you want you can add line numbers into your left of your source code page.
Use this:
VS_empty_web_008
Before to you run your application can put one breakpoint to stop it for debug.
Also you can see your variables using watch options.
VS_empty_web_009
Some short keys can help you to deal with your source code.
For example:
– use Ctr+K and then Ctr+X keys to use snippet into your source code;
– use Ctr+K and then Ctr+C keys to entire selections of your source code;
– use Alt+arrows keys to move your selection of code;
– use Ctr+Q for a quick search and then will find what you need ( ex: search Solution Explorer and will see also the short key : Ctr+Alt+L )

Posted in All, C#, Programming, Visual Studio, Windows 10. Tagged with , , , , , , .

About BCDEdit command.

BCDEDIT – Boot Configuration Data Store Editor

The Bcdedit.exe command-line tool modifies the boot configuration data store.
The boot configuration data store contains boot configuration parameters and
controls how the operating system is booted. These parameters were previously
in the Boot.ini file (in BIOS-based operating systems) or in the nonvolatile
RAM entries (in Extensible Firmware Interface-based operating systems). You can
use Bcdedit.exe to add, delete, edit, and append entries in the boot
configuration data store.

This command working with the current BCD file .
First you need to run this command under console administrator.
If you use without administrator privileges then you got this :
The boot configuration data store could not be opened.
Access is denied.

You can see all args of this command by using this:

Most of this args and options can be found here
Also you can use msconfig to see under tab Boot the description name of boot.
Then you can use this command to set a new description:

You can make changes to the boot configuration of your Windows.
Another example can enable testsigning with this command:

You also can start Windows 10 in Safe Mode with networking:

Also can start Windows 10 in Safe Mode with command prompt:

Posted in All, Commands, Windows 10. 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 , , , , , , .