Category Archives: Windows 8

Programming with FASM – ComboBox Control – part 001.

Today I start with a simple FASM tutorial about combobox control.
In this tutorial I will show you how to deal with this control.
First you need to create a simple window and then to add it.
The steps are very simple:

  • start program with the format PE GUI 4.0
  • define entry start point to start running ;
  • include library win32a;
  • create two ID’s : one for window form and one for combobox control;
  • create sections for : .code, .idata.text and .rc;
  • create a variable ( named by me szInitText ) to use like string message into .itext area ;
  • fill the .idata and .irc with my source code ( default settings for window and set the dialogitem );
  • create the DialogProc and fill with all is need to make the winodow form;

This source code just create the combobox control without items.

This is the source code of this tutorial:

This is the result :

Posted in All, Assembler, Programming, Windows 10, Windows 7, Windows 8. Tagged with , , , , , , , .

Dictionary Anywhere – addon .

This addon tool help you with translation issues.
The official website tell us :

Advertisement
“Dictionary Anywhere” provides access to a floating multilingual Google Translate panel on any webpage. This add-on injects an ifram containing Google Translate only when a translation is requested. To request a translation, select a word or phrase and then click on the bubble that appears on top of the selection area. Using this extension you can get in-page translation as well as pronunciation. At the bottom of the iframe, there are two links to open the desktop version of Google Translate and Google Search prefixed with ‘define’ keyboard.

This addon can be used with firefox , chrome, and opera browser.

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

Best tool for tutorials: Active Presenter.

Active Presenter is a free tool for screen recording and screencasting tool for Windows and OS X.
This can bu used to enabling you to produce software demonstrations, software simulations, quizzes and presentations.
Come with various export options: JPEG and PNG images, HTML slideshows, PDFs, Microsoft Word, Excel or PowerPoint presentations, interactive simulations, and a choice of video export options (AVI, MP4, WMV and WebM).
I used to record my screen for  free-tutorials official  youtube channel.
Even though video or image output will be further processed to meet host and search engine optimization rules, this is the main tool I use to make windows operating system tutorials.
This tool can be found on the developer’s official website.

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

Programming with FASM – test with CPUID .

First you need to take a look at this website.
The CPUID returns processor identification and feature information in the EAX, EBX, ECX, and EDX registers.
What the source code from my example do ?
First I start with the default assembly program .
The next step is to strat with reset xor eax,eax use cpuid.
The result of CPUID will be put into EBX.
Into section ‘.data’ data readable writeable make a structure named out_buffer.
The structure will be fill so you need to EBX, see example:
mov [out_buffer.vendor_ebx],ebx will give us “Genu”.
The next step for test EBX is this example:
test edx,00010000000000000000000000000000b
jz .NoHTT
mov [out_buffer.htt_arch4],’YES ‘
.NoHTT:

The structure of out_buffer is :
db ‘NoHTT’,2,9,’- ‘
.htt_arch4 dd ‘NO ‘
db 9,10

Because I used MessageBox to show us the out_buffer.
The result will be : No or Yes with the size of dd.
The db can define byte variables, as well as arrays of bytes.
Fasm documentation tell us: For example db 1,2,3 will define the three bytes of values 1, 2 and 3 respectively.
The dd has 4 bytes.
The result will be this text (the result is true so the text will be YES): “NoHTT – YES”.
Let’s see one screenshot:

This is the source code:

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

Programming with FASM – Calendar Control.

I have not done a tutorial about the assembler programming language for a while, so today I had a good reason to write this tutorial.
The tutorial focuses on using Calendar Control (MSAA UI Element Reference).

The source code of the window made in fasm is used into this tutorial.
I added the window class name for a month calendar which is defined as SysMonthCal32.
The file if.inc is used for message selection.
When we close the program, a closing dialog is displayed.
To run the Go to today click is displayed but I did not implement execution code.
The IDD_DLG parameter is random and I put the year of my birth to be more fun.
The program contains comments to understand the source code.
For execution, you need to add it to the FASM editor and run it with the F9 key.
You also have the executable version in the Downloads section of the main page menu.

Posted in All, Assembler, Programming, Windows 10, Windows 7, Windows 8. Tagged with , , , , , .