Selasa, 23 Mei 2017

What is Bug in Software ?



Definition

Bug


In computer technology, a bug is a coding error in a computer program. (Here we consider a program to also include the microcode that is manufactured into a microprocessor.) The process of finding bugs before program users do is called debugging. Debugging starts after the code is first written and continues in successive stages as code is combined with other units of programming to form a software product, such as an operating system or an application. After a product is released or during public beta testing, bugs are still apt to be discovered. When this occurs, users have to either find a way to avoid using the "buggy" code or get a patch from the originators of the code.


Although bugs typically just cause annoying computer glitches, their impact can be much more serious. A Wired News article about the 10 worst software bugs in history, reported that bugs had caused major explosions, crippled space probes, and caused death. In 1982, for example a system controlling the trans-Siberian gas pipeline (allegedly implanted by the CIA) caused the largest non-nuclear explosion in history. Between 1985 and 1987, a bug in a radiation therapy device called a race condition resulted in the delivery of lethal doses of radiation, killing five people and injuring others. More recently, in 2005, Toyota recalled 160,000 cars (the Prius) because a bug caused warning lights to come on and engines to stall for no reason.
A bug is not the only kind of problem a program can have. A program can run bug-free and still be difficult to use or fail in some major objective. This kind of flaw is more difficult to test for (and often simply isn't). It is generally agreed that a well-designed program developed using a well-controlled process will result in fewer bugs per thousands of lines of code.

The word bug, originated in engineering. The term's application to computing has been attributed to the pioneer programmer, Grace Hopper. In 1944, Hopper, who was then a young Naval Reserve officer, went to work on the Mark I computer at Harvard. She later described an incident in which a technician is said to have pulled an actual bug (a moth, in fact) from between two electrical relays in the Mark II computer. The moth was displayed for many years by the Navy and is now the property of the Smithsonian 

From the Indonesian CNN

How to use Keyboard Layout section of Control Panel to activate Russian keyboard for Windows 7,8,10

Keyboard layout specifies how letters and symbols are located on the keyboard buttons for a given
Input Language.
For example, when Input Language is English (shows as "EN" in the taskbar), Windows offers a set of layouts to choose from:
  • US English
  • Dvorak
  • ...
That is, for a given Input Language, system could offer several different layouts (different location of letters and symbols).
Here is Microsoft page that shows the layouts for each and every Input Language in the OOB system:

http://www.microsoft.com/globaldev/reference/keyboards.mspx
 
A user opens Keyboard Layouts section of Control Panel if there is a need to add a layout or to check that desired layout is selected as active for an Input Language (for example, check if it's "US English" and not "British English" for "EN" if errouneously Shift-2 gives a quote instead of '@') Also, if user finds that say something is wrong/strange in the typing, s/he may want to visit that section to make sure that only one layout is selected for the Input Language.

The system must be presented with only one active layout per language otherwise how Windows would know what symbol to show when a button is pressed (quote or '@' as in example below)?.
The steps needed to access Keyboard Layout section of Control Panel do vary from one Windows version to another and all variants are listed below. The steps use standard Russian Keyboard layout as an example ("RU" becomes available in the taskbar via Alt+Shift switch from "EN"), but they are the same for any other European language.
Note. Windows offers two Russian keyboard layouts in OOB system (as you can see on Microsoft page mentioned above):
  • standard, regular one called "Russian"
  • alternative - "Russian, Typewriter" where digits are typed via Shift as on old mechanical typewriters in USSR.
Here is how standard, regular Russian keyboard layout looks like (location of letters and symbols - in red):


How to activate standard Russian Keyboard layout



Russian layout for Windows XP/2003


  1. Start / Control Panel
    (or if it's Classic View - Start / Settings / Control Panel)
  2. click Regional and Language Options
  3. open Languages section
  4. click Details in the "Text Services and Input Languages" frame
  5. click Add in the "Installed Services" frame
  6. find "Russian" in the list of Input Languages and click OK
    • place a check mark at the next option "Keyboard layout" (now you can see the list of available layouts and see by yourself that there is another layout for Russian - "Russian (Typewriter)")

    Important! This is all you need to do to be able to type in Russian. You should not use "make Default" option on that screen, that is, do not choose Russian layout as your default.
    As it was noted above, if you see not one but several layouts in the list of active layouts for Russian, then you must remove unneeded ones and leave only one layout active for Russian language.
  7. click Apply down below at the right and Windows finds a layout file of standard Russian layout - kbdru.dll. The default method to switch keyboard from English typing ("EN") to Russian typing ("RU") is via Alt+Shift (this key combination is listed on the same Layouts screen, just click on "Key Settings" to see all available combinations.
  8. Click OK
Now you can switch your keybord to "RU" and start typing Russian Cyrillic!


Note. The steps above are for your own computer where you can perform such tune-up.
But you can type Russian even if you are in the businees center of a hotel and computer there does not allow any tune-up:
there are Web pages with so called "Virtual Russian Keyboard" that emulates your "home" input to let you type as you got used to. See the information at the #v1 of this page.




Russiant keyboard layout for Windows 7 or Vista


  1. Start / Control Panel / Clock, Language, Region
    (or if it's Classic View - Start / Settings / Control Panel)
  2. double-click on Regional and Language Options
  3. find "Keyboard and Languages" tab there
  4. click "Change Keyboard"
  5. click Add (
  6. find "Russian" in the list of languages and click '+' to see the list of the layouts to choose from for "RU"
  7. click on "Russian" in that list of layouts (it's standard, regular Russian layout) to add this layout as active for "RU"
    Important! This is all you need to do to be able to type in Russian. You should not use "make Default" option on that screen, that is, do not choose Russian layout as your default.
    As it was noted above, if you see not one but several layouts in the list of active layouts for Russian, then you must remove unneeded ones and leave only one layout active for Russian language.
  8. click Apply down below at the right and Windows finds a layout file of standard Russian layout - kbdru.dll. The default method to switch keyboard from English typing ("EN") to Russian typing ("RU") is via Alt+Shift (this key combination is listed on the same Layouts screen, just click on "Advanced Key Settings" to see all available combinations.
  9. Click OK as many times as needed to leave Control Panel
Now you can switch your keybord to "RU" and start typing Russian Cyrillic!


Note. The steps above are for your own computer where you can perform such tune-up.
But you can type Russian even if you are in the businees center of a hotel and computer there does not allow any tune-up:
there are Web pages with so called "Virtual Russian Keyboard" that emulates your "home" input to let you type as you got used to. See the information at the #v2 of this page.



Russiant keyboard layout for Windows 8


  1. Control Panel - Language
  2. click "Add language"
  3. find Russian ("русский") in the list of languages anden click on that 'square' to select. Then click "Add" down below that screen.
  4. now you are back to the screen with the list of active Input Languages and Russian ("Русский") is now also in that list (where "English" is at the top of the list). When you add Russian Input Language, the system automatically, by default, selected standard, regular Russian keyboard layout to be used for "RU".
    To see other available Russian keyboard layouts, click "Options" at the right

Important! This is all you need to do to be able to type in Russian. You should not use "make Default" option on that screen, that is, do not choose Russian layout as your default.
As it was noted above, if you see not one but several layouts in the list of active layouts for Russian, then you must remove unneeded ones and leave only one layout active for Russian language.
The way to switch keyboard from English typing ("EN") to Russian typing ("RU") is to press Alt+Shift or to press pressing Windows logo button + space bar.
Now you can switch your keybord to "RU" and start typing Russian Cyrillic!

Note. The steps above are for your own computer where you can perform such tune-up.
But you can type Russian even if you are in the businees center of a hotel and computer there does not allow any tune-up:
there are Web pages with so called "Virtual Russian Keyboard" that emulates your "home" input to let you type as you got used to. See the information at the #v4 of this page.





Russiant keyboard layout for Windows 10


  1. Open the Start Menu and click on "Settings." Within "Settings," click on "Time & language."
  2. Within "Time & language," click on "Region & language" in the left sidebar. In the main part of the screen, click "Add a language."
  3. This will bring up a list of all the languages you can install on your system. Scroll to the right until you find "Russian." Once you click on it, you’re done with the installation

Important! This is all you need to do to be able to type in Russian. You should not use "make Default" option on that screen, that is, do not choose Russian layout as your default.
As it was noted above, if you see not one but several layouts in the list of active layouts for Russian, then you must remove unneeded ones and leave only one layout active for Russian language.
The way to switch keyboard from English typing ("EN") to Russian typing ("RU") is to press Alt+Shift or to press pressing Windows logo button + space bar.
Now you can switch your keybord to "RU" and start typing Russian Cyrillic!

Note. The steps above are for your own computer where you can perform such tune-up.
But you can type Russian even if you are in the businees center of a hotel and computer there does not allow any tune-up:
there are Web pages with so called "Virtual Russian Keyboard" that emulates your "home" input to let you type as you got used to. See the information at the #v5 of this page.





Typing Russian when system tune-up cannot be done:
at work or in a hotel's business center Windows or Mac computer



If you need to write in Russian, but you are not using your own PC, say you are in an Internet-cafe or in the library, where you can read Russian but can not write - can not use Windows Control Panel to enable regular keyboard tools for Russian, then it's still Ok, there is an easy work-around:
you can use special Web page with a Virtual Keyboard where you can input Cyrillic text (using mouse or physical keyboard) and then copy it to the place where you need it.
That is, even in that case you should not send a transliteration, latin text such as "privet" or "schast'ye" that will bother the readers of that message - no, you can send normal Cyrillic text.
Virtual Keyboard allows you to input via regular keyboard (though mouse can be used, too) and - important! - you can type "as at home", choosing, in the menu below the image, same layout that you use at home (Standard or Phonetic explained in a parent page of this one)
Please see for yourself:   "On-screen, virtual Russian keyboard"
While in Internet-cafe, you can use a short address of that Virtual Keyboard:
Obviously, it's not as handy as typing with regular Windows or Mac keyboard tools, so you should use such special Web page only in such 'corner case' as Internet-cafe or library (or if you need to type Russian not too often).
That is, if it's your own computer at home then you should spend 20 minutes - one time! - to read the instruction on this page, below - for regular Windows keyboard tools activation via Control Panel.


 

Official Royale Blue, Royale Noir, Zune and Embedded Themes for Windows XP

Today we are going to share 4 official Windows XP themes released by Microsoft.
The most important and impressive thing about these themes is, the themes don't require any kind of patching. So you can easily install and apply themes without worrying about patching uxtheme.dll file in your system.
So here are the themes:

1. "Embedded" Theme

"Embedded" theme was taken from "Windows Embedded Standard CTP Refresh" edition. Its a modified version of "Royale" theme.


You can download it using following link:

Download Link

Run the installer and apply the theme using Desktop Properties.

Tweak XP


Description


As a long time Windows user you might have heard about registry. The registry is a special file in your hard disk that hold most of Windows settings data. Wish to improve your internet speed or display message at Windows logon? No problem, those tasks can easily be done by simply editing the registry value. Unfortunately registry is not a friendly place for most people. Changing a wrong value in the registry may cause an unpredictable problem to your Windows. This is why novice users should not edit registry value directly using a registry editor by them self.
In TweakNow WinSecret, we have gathered the most popular Windows XP/Vista registry settings and provide them for you in an easy and safe user interface. All settings are divided in the following sections:

  • Applications
  • Control Panel
  • Desktop
  • Miscellaneous
  • Network & Internet
  • OEM Info
  • Special Folders
  • Start Menu
  • User Accounts
  • Windows Core
  • Windows Explorer




Product Comparison



TweakNow WinSecret vs TweakNow PowerPack




What's New



TweakNow WinSecret v4.2.7

  • Quick Optimizer: added support for Microsoft Office 2013.
  • General: remove year from the application title.
  • General: minor improvements and bug fixes.

TweakNow WinSecret v4.2.6

  • Windows Secret -> Windows Logon: disable Lock Screen (Windows 8 only).
  • Windows Secret -> Applications: turn off the uppercase menu in Visual Studio 2012.
  • General: improved support for Windows 8.
  • General: minor improvements and bug fixes.

TweakNow WinSecret v4.2.5

  • Windows Secret -> Windows Logon: added option to login directly to classic desktop (Windows 8 only).
  • Windows Secret -> Windows Explorer: hide items from the right-hand "New" Context Menu.
  • Windows Secret: fixed "Cannot focus a disabled or invisible window" error.
  • System Information -> Operating System: added Task Scheduler module.
  • General: improved support for Windows 8.
  • General: minor improvements and bug fixes.

TweakNow WinSecret v4.2.1.2

  • System Information: now report can be saved in HTML file format.
  • Windows Secret->Search: fixed problem search query failed to show correct results.
  • General: minor improvements and bug fixes.

TweakNow WinSecret v4.2.1

  • Windows Secret->Miscellaneous:Added option to change registered owner and organization.
  • General: minor improvements and bug fixes.

TweakNow WinSecret v4.2.0

  • System Information: Added Optical Drive module.
  • System Information -> Video: Added OpenGL Driver module.
  • System Information -> Operating System: Added Startup Items module.
  • System Information -> Operating System: Added Audio and Video Codec module.
  • System Information: Added Environment Variables, Special Folders, and Windows Services module.
  • General: Added support for Windows 8 Release Preview.
  • General: minor improvements and bug fixes.

TweakNow WinSecret v4.0.0
  • General: Added support for Windows 8 Consumer Preview.
  • General: minor improvements and bug fixes.

TweakNow WinSecret v3.6.0
  • System Information: Added support for the latest hardwares (AMD A-Series, AMD FX, Intel Sandy Bridge, etc).
  • General: minor improvements and bug fixes.

TweakNow WinSecret v3.5.2
  • Windows Secret -> Windows Core : Added option to prevent Windows Update from forcibly restarting your computer.
  • Windows Secret -> Windows Core : Added option to prevent Windows Update changing default shutdown option in the Start Menu.
  • General: minor improvements and bug fixes.

TweakNow WinSecret v3.5.1
  • Windows Secret->Applications->Internet Explorer: Added option to personalise Internet Explorer 9 Title Bar.
  • Windows Secret->Miscellaneous: Added option to disable AutoPlay feature.
  • Windows Secret->Miscellaneous: Added option to disable Aero Peek feature.
  • Windows Secret->Miscellaneous: Added option to modify delay time for Aero Peek.
  • Windows Secret->Miscellaneous: Added option to disable Aero Shake feature.
  • Windows Secret->Miscellaneous: Added option to disable Aero Snap feature.
  • General: minor improvements and bug fixes.





Senin, 22 Mei 2017

Update and Organise your CV with Windows

Four Steps to a New Job

 

1 Update and Organize your CV

What have you done? Look at how your job or responsibilities have changed over the last year. This includes those all-important (but easy to overlook) transferrable skills. All the skills and experiences you acquired may be useful in your new CV. Did you take a sabbatical, did you run a charity campaign, did you learn a language, and were you given new responsibilities at work? Analyse all of these things and highlight them in your new CV – especially if they show career development and ambition.


REMOVING/KEEPING CONTENT

You CV should be concise and compelling. It is there to make employers want to meet you; to get another look at you. We all know how recruiters and employers only spend a few seconds scanning a pile of CVs so the first thing that has to go is waffle. Get rid of anything that doesn't have a direct bearing on the jobs you are seeking or which doesn't tell the reader something about you and your qualities. Equally importantly. Don't be sentimental about keeping the old material.

Sometimes you have to let something go which you think is good. The guide here is to ask yourself “is this good ‘thing' really relevant to the job or career I am going for?” In other words try to keep your CV relevant at all times.

You only have so much room on a CV – usually it's one or two very well-written, compelling pages. Everything on there needs to be tightly edited and earn its place on your CV. Obviously, if you only have a few skills and experiences you have to ‘point them up' but avoid repetition as this looks clumsy and desperate.

LAYOUT
 
You've got the content and you've edited your words carefully to make them interesting and powerful. So what about layout? A poorly laid out CV, with information is a visual turn-off. Not only that but having a poor layout means that your reader has to go looking for information about you. So no matter how good your story, your CV is hard to read and takes time to digest - time which, unfortunately, most employers won't take.

If you are unsure how to layout a CV, take a look at some of Monster's CV templates which can really help you get your information in order. Remember, Monster also has cover letter templates which show you in a few clear words how to write the perfect cover letter to accompany your CV.

TIME FOR A TEST DRIVE

Send your CV to some friends, colleagues or even old college tutors
for some brutally honest feedback. Try and segment it into
categories and see what worked and what didn’t.
• Did it grab you?
• Was it interesting?
• Did it take too long to get to the point?
• Was the information easy to read?
• Was the information relevant?
• Did your CV reflect your best points?
• What was the tone of the CV - confident/over confident/arrogant?

2. Plan your Job Search

PLAN LIKE A PROJECT

If you want your job search to be successful you should treat it as
a project. The key elements of successful projects are:
Setting goals - Detail the job, the company, the location, the
salary, the working hours or anything else that might be important
to you.

Setting schedules - It's impossible to know exactly how long your
job search is going to take, but you certainly don't want it to last
forever. Set a few milestones, such as having your CV completed
within one week, having contacted ten recruitment agents within
two weeks and having been to five job interviews within a month.
Gathering resources - You're not going to need many resources
to conduct a job search, but you will need some. Regular access
to the Internet to check responses to applications is one.

Acting quickly - if you see a vacancy you want, don't sit twiddling
your thumbs, get your application over to them Obviously don't skip
the important step of tailoring and your CV.

Adjusting often - if your job search isn't going to plan, don't just
keep knocking on the same old doors. Be prepared to switch
strategies and try different avenues towards employment.

MAKE A CHECK-LIST HELPFUL LINKS

• Why do I want a job?
• What type of company do I want to work for?
• Where will the jobs I want be advertised?
• Do I have the skills I need to do the job I want?

EXPLORE ADDITIONAL AVENUES

As well as uploading your CV and conducting and online job search,
be prepared to cast your net further to attract the widest audience
possible.

Attending career fairs is an efficient investment of time and effort
during your job search because you can directly approach a great
number of employers in one day, handing out your CV to company
representatives .

If the companies you're targeting aren't at the fairs, don't worry, get
in touch with them directly to make a prospective application. Find
out the name of the hiring manager and get in touch with them
directly, explaining why you think you're worth a chance at their
company.

PATIENCE WITH A DOSE OF PERSISTENCE

It's easy to get discouraged if you don't get interviews right away
but it's important to remain positive.
Keep track of all your applications, all your contacts and all your
communications so you know at the drop of a hat exactly where
you are with each. If you don’t hear back after a week, ask them
how the process is coming along and if you can provide any more
information that would help them make a decision.
Often in life, opportunities, like buses, all come along at the same
time. You may find that two or even three openings will come your
way after a period of getting no responses at all.

3. Interview Prep


ONLINE SEARCH

The company’s website is the best place to start. It shows the
company as it would like to be seen and the products and services
they offer. You’ll get a feel for the corporate style, culture and tone
of voice. Check out the annual report and look for a press or
company news page.

As you filter all this information, consider how the role you’re
applying for relates to the company’s mission. You may also be able
to use the site’s search facility to discover more about the person or
people who will be interviewing you.

INDUSTRY SOURCES

It’s not just information about the company you need – you should
also have a good background knowledge of the industry so you can
impress at the interview. Browse through business publications and
websites to see what they are writing about your potential employer
and their industry. Go through top stories by market trends on sites
like BBC and the Guardian. Google News is also excellent at
aggregating multiple sources to bring you relevant stories.

If you’re already in the same industry as your potential employer, it
may be possible to discreetly ask colleagues or your suppliers if they
know anything about the company you’re interested in.

PREP TIME HELPFUL LINKS

This is the bit most people forget to give enough time to, so don’t
get caught out. Just like when you’re going into an exam, feel
confident that you can field any question they throw at you, and
try to feel as good about yourself as you can. It shines through.
Here are a few top tips:

• Have a mock interview with a friend
• Be sure you know the time, date, location and interviewer names
• Decide how you will get there and anticipate delays
• Prepare wardrobe the night before
• Take only the essentials with you
• Ready all CVs, certificates and references the night before

GRAB A HIGHLIGHTER

Sit down with your CV and make notes, just as if you were
preparing for an exam. Study your work record and what you have
achieved. How do you see yourself? What have you done? What
ambitions do you have? Make notes and prepare and rehearse
sound bites about yourself. Do this out loud, even if it makes you
feel weird.

Try to relate specific areas of your CV back to the job description. It
will make it clear to the interviewer why they should hire you.
Remember, one of the most common interview questions is “Tell
me about yourself.” Prepare a balanced and succinct answer to this
question, not a life history. Keep it business like and don’t stray into
personal feelings or family relationships. Avoid anything to do with
politics or religion like the plague.

4. In the Workplace


INTEGRATE INTO A NEW TEAM

After you've survived day one in a new job, you're next task is to
make sure you become a valuable member of the team.
Get off on the right foot and it's going to be peaches and cream -
foul it up and you could find yourself back on the job market sooner
than you thought. No newcomer is bigger than a happy and efficient
team, even if you came in with top billing and a salary to match. It's
your job to get on with them and fit into their way of working, not
the other way round.

GET TO KNOW THEM

It may be useful to try and get some information about your new
colleagues during the process of accepting a job offer. As ever,
information is power.

Try and find out how long each team member has been at the
company, what positions they've held, where they've worked in the
past and what are some of their interests. You never know, even
your higher ups could share your love for music and movies -
making that “click” instantaenous.

You may also want to know if there are any romantic links between
any members of the team so you don't put your foot in it.
Socialise and build your reputation without over-doing it. You’re still
the new guy and it will take some time for everyone to warm up to
you.

KNOW YOUR LIMITS HELPFUL LINKS

No one goes into a new job aiming to fail, but it's easy to make life
difficult for yourself if you don't keep an eye out for a few common
errors.

Top of the list is going in with too many expectations. Be realistic in
what you aim to achieve, especially in the early months, and don't
set yourself up for a fall. By the same token, if your new boss
expects unrealistic results from you, address the issue quickly
before it becomes a problem.

Don't be tempted to think you have all the answers. You may be
coming in to sort out a problem, but take your time to get to know
the operation properly first before making a snap judgement. You
also don’t want to come across as an arrogant “know-it-all”.

Cara Membuat Aplikasi Client Server dengan Visual Basic 6 & MYSQL


Pada tutorial ini anda akan belajar bagaimana membuat aplikasi client server menggunakan visual basic & MYSQL Untuk lebih memperjelas pemahaman anda akan digunakan studi kasus program KASIR. Dimana pada implemantasinya nanti, aplikasi yang dibuat akan terpisah dengan database. Database akan ditempatkan pada sebuah server dan aplikasi dapat ditempatkan pada beberapa komputer client. Untuk pengembangan / pembuatan aplikasinya sendiri dapat dilakukan di komputer lokal terlebih dahulu. Adapun yang anda perlukan pada tutorial ini, yaitu visual basic, MYSQL, dan Mysql Connector-ODBC. MYSQL dan MYSQL Connector ODBC dapat anda download di www.mysql.com. MYSQL Connector ODBC dibutuhkan agar dapat melakukan koneksi database MYSQL dari VB

Setelahnya semuanya terinstall mulailah membuat database MYSQL beserta tabel - tabelnya. Buatlah sebuah database dengan nama kasir, dan buat 5 tabel seperti di bawah: 


Tabel user_login

Field
Tipe Data
user_login_id
varchar(50) *
user_name
varchar(100)
user_psw
varchar(20)


Tabel product
Field
Tipe Data
product_id
varchar(40) *
product_name
varchar(100)
price
double
stock
integer


Tabel transaksi
Fields
Tipe Data
no_transaksi
integer (auto increment) *
tgl_transaksi
datetime
total_barang
integer
total_harga
double
kasir
varchar(50)


Tabel detail_transaksi
Fields
Tipe Data
no_transaksi
integer
product_id
varchar(40)
jumlah
integer
harga_satuan
double


Tabel transaksi_temp
Fields
Tipe Data
no_transaksi
integer
product_id
varchar(40)
jumlah
integer
harga_satuan
double


* Primary Key
Tabel user_login digunakan untuk menyimpan data pengguna aplikasi, tabel product digunakan untuk menyimpan data product yang dijual. Tabel transaksi untuk menyimpan data transaksi dan tabel detail_transaksi untuk menyimpan detail dari transaksi yang dilakukan. Sedangkan tabel traksaksi_temp digunakan untuk mencatat secara sementara detail traksaksi yang dilakukan, setelah transaksi selesai dilakukan baru dipindahkan ke tabel transaksi.


Setelah database dan kasir selesai dibuat tambahkan data (insert data) pada tabel user dengan data berikut:
 
user_login_id
user_name
user_psw
admin
Administrator
admin


langkah selanjutnya adalah mempersiapkan koneksi ke database. Ikutilah langkah-langkah di bawah ini :

  1. Buka control panel, double klik pada Administrative Tools, kemudian double klik pada Data Sources (ODBC). Dan akan muncul window kurang lebih seperti berikut:
  2. Klik pada System DSN, dan klik tombol Add, dan akan muncul window seperti berikut:
  3. Pilih MySQL ODBC 3.5.1 Driver, dan klik tombol Finish, dan akan tampil window berikut :
  4. Kemudian isi form di atas dengan data seperti berikut:
  5. Klik tombol Test, jika muncul kotak dialog yang menyatakan sukses, tekan OK dan tekan OK sekali lagi.
Setelah selesai sekarang anda telah siap untuk membuat Aplikasi KASIR..

Membuat Form Utama Administrator dan Form Login

Buka microsoft visual basic anda dan buat Standar EXE project. Setelah project dibuat akan langsung terbentuk sebuah form. Tambahkan label dan tombol serta atur propertiesnya seperti berikut :

Komponent
Properties
Form1
Name : main_form
Caption : Administration
Label1
Caption : Welcome,
Label2
Name : label_user
Caption : User
Command1
Name : btn_user
Caption : User
Command2
Name : btn_product
Caption : Product
Command3
Name : btn_trans
Caption : Transaksi
Command4
Name : btn_report
Caption : Report

Setelah diatur propertinya maka hasilnya adalah seperti berikut:

Admin Form
Kemudian Buat Form baru dengan cara, klik Menu Project, Add Form. Akan tampil window Add Form dan pilih Log In Dialog serta klik tombol open. Hasilnya seperti di bawah:

Form Login
Sekarang buka notepad dan ketik kode di bawah:
[Data]
DB=kasir
SERVER=localhost
Uid=root
Password=root
Kemudian simpan di direktori c:\windows dengan nama koneksi.ini, file koneksi.ini berfungsi untuk menyimpan data yang diperlukan untuk koneksi ke database. Pada bagian DB berisi nama database yang akan digunakan, SERVER berisi IP address Server tempat database disimpan (untuk sementara gunakan lokalhost). Uid berisi database user name dan Password adalah password database.
Sekarang Kembali ke Editor Visual Studio. Pilih Menu Project, Add Module untuk membuat module. Pada window Add Module klik Open. Download File berikut ini, kemudian copy dan paste isi file tersebut pada module yang sedang dibuat. Setelah selesai simpan module tersebut. Kemudian Klik menu Project, References dan akan muncul window project reference. Centang pada bagian Micosoft ActiveX Data Objects 2.0 Library dan tekan tombol OK.
Sekarang beralih ke form login, double click pada tombol OK, Hapus script yang telah ada dan ganti dengan script di bawah:
Private Sub cmdOK_Click()
Call Koneksi
Dim RS As ADODB.Recordset
Set RS = New ADODB.Recordset
Dim SQL As String
'query untuk login
SQL = "select * from user_login where user_login_id='" & txtUserName.Text & "'"
'membuka koneksi ke databse
RS.CursorLocation = adUseClient
RS.Open SQL, conn, adOpenDynamic, adLockOptimistic
'cek kebenaran user_login_id
If (RS.RecordCount > 0) Then
'cek kebenaran password
If (RS!user_psw = txtPassword.Text) Then
user_login_id = txtUserName.Text
user_name = RS!user_name
Load main_form
main_form.Show
Unload Me
Else
MsgBox "Maaf Password Salah"
End If
Else
MsgBox "Maaf User Name Salah"
End If
End Sub
Kemudian double click pada tombol Cancel, hapus script yang telah ada dan ganti dengan script berikut:
Private Sub cmdCancel_Click()
Dim pil As VbMsgBoxResult
pil = MsgBox("Anda Yakin untuk keluar?", vbQuestion + vbYesNo, "Exit")
If (pil = vbYes) Then Unload Me
End Sub
Setelah selesai pilih menu Project, properties. Pada window Project Properties di bagian Startup Object pilih frmLogin. Kemudian tekan tombol OK.
Sekarang beralih ke admin_form, double click pada form dan ketik script berikut :
Private Sub Form_Load()
label_user.Caption = user_name
End Sub
Setelah selesai simpan project anda dengan nama kasir dan coba untuk menjalankanya dengan menekan tombol F5 pada keybord.

Speech Recognition with Windows Xp, 7, 8, 10



Published:2017

By Jeremy Moskowitz, Windows XP Expert Zone Community Columnist

Description: *
Description: *
Related Links
Description: *
Description: *

Editor's Note: Past articles by members of the online community are archived for your use. The information may become outdated as technology changes. For the most current information, please search the Web site or post a question in the newsgroups.
Personal computing in the past decade has exceeded our expectations in many ways.


But in a few specific ways, PC technology struggles to fulfill expectations set way back in the 1950s and 1960s. 

One example is speech recognition. Forty years ago, scientists predicted the new millennium would see us all going home at night, tucking the kids in, putting the cat out, and speaking aloud to a PC: "Computer, turn out the lights and close the garage doors. Wake me at 7 with my favorite song. Make my coffee. And call my boss by 8 to remind him of our meeting. 

"Goodnight computer."
"Goodnight sir."

Sorry. Windows XP can't make your computer do that. However, once your expectations are adjusted for present day reality, you might be impressed with how much you really can do by talking to your computer.

The speech recognition capabilities in Windows XP, especially when combined with Office XP productivity software, can enhance computing in such areas as gaming, data entry, or editing. Further, third-party software vendors are taking the speech recognition capabilities of your PC into new areas, including things like home automation and telephony.


How did we get here?


Microsoft has been working on speech recognition technology as a product for several years. You can learn more about the current state of speech recognition products on the Microsoft .Net Speech Technologies Web site. At the same time, Microsoft continues to invest in speech recognition research. Groups in Redmond and in China are working to solve some of the shortcomings that still nag speech recognition. One research project, known as the Dr. Who project, aims to solve the problem of noise and allow your computer to recognize your voice if you're not in a quiet office, but outside, in a car, or in a crowded restaurant.


Hooking into Windows XP Speech


So what can you do now?
Tapping into the speech recognition technology within Windows XP can be a little tricky, but after reading this, you'll be a pro.
The magic of speech recognition happens when three pieces come together. First, you need Windows XP Service Pack 1. Next, you'll need the Microsoft Speech Recognition Engine v5.0. Finally, you need an application that's ready to accept your speech input, these include Notepad, Outlook Express, and others in Windows XP.
There is no Speech Recognition Engine (SRE) built directly in to Windows XP. You need to install a compatible engine, and in most cases, you'll install it from one of two sources.
The Microsoft SRE for Windows XP is available in Office XP applications, such as Microsoft Word 2002, or Microsoft Excel 2002. If you have Office XP, or one of these programs on your computer, then you probably already have access to the SRE. You simply need to install the SRE as explained below.
A third option is available for advanced users. The SRE is provided for free as part of the Microsoft Speech Software Development Kit 5.1. Microsoft provides no technical support for this software and it is not generally recommended for end users.

Microphone is the most important component

Before you go any further, we need to take a minute or two to talk about the most important component in your Speech Recognition system: the microphone. You will need to get the right microphone for the job. This isn't very easy. 

If you head on over to your local computer store, you'll see lots of headphones with microphones attached to them. Even the packaging says things like "Great for speech recognition." But this is generally not true, for multiple reasons. 

First off, the quality of these microphones is questionable, which leads to decreased word recognition. More importantly, none of these microphones is "powered." Why is this important? Because either the microphone, or the sound card's microphone input must be powered or speech recognition won't work. Few sound cards have powered microphone inputs, and almost none of the microphones is powered. So, how do you know if your microphone is powered or not? First, check the package for a "batteries included" or "batteries required" notice. Or, you can get a USB microphone, the best way to go. These are usually powered. They're also Plug and Play, virtually guaranteeing success. 

Once you have the microphone and the SRE software, you're ready to get started. In this column, I'll explain how to load the SRE from Microsoft Word in Office XP. 

If you are first installing Office XP
1.
Choose the Custom installation type.
2.
In the Features to Install section, expand Office Shared Features and select Alternative User Input as seen below in Figure 1.
3.
Click Update, and the SRE will install.

If you previously installed Office XP, but still need to install the SRE component
1.
Put the Office XP CD-ROM into the drive.
2.
Click Start, click Control Panel, click Add/Remove Programs, select Microsoft Office XP, and click the Change button.
3.
Click Add or Remove Features and then click Next.
4.
This will reveal the installation options dialog show above in Figure 1.
5.
Expand Alternative User Input, click Speech, and then click Update

After you have installed the SRE, you should open Microsoft Word and enable speech recognition.
To enable speech recognition in Microsoft Word

On the Tools menu, click Speech as shown in Figure 2 below.

When you do, you may or may not be prompted for the Office XP media again to finish the loading of the SRE. If you are, Word will load the rest of the SRE.
Once this is finished, you should close Word, and, even though not expressly directed to, you should reboot your machine. When you do, you'll be ready to explore how Windows XP and the SRE integrate.
The steps to install the SRE from the Speech SDK are different than installing it from Office XP. In either case, however, the installation is relatively easy. The steps for training the SRE, configuring Windows XP, and using speech recognition as described below are the same, regardless of the source for your SRE software.
In addition to Microsoft Word, you can use speech recognition in almost any text field in any Windows XP program. You can control Windows Media Player, Internet Explorer 6, dictate into Notepad, or dictate e-mail into Outlook Express.
 
Training the Speech Recognition Engine

You're now ready to show the SRE who's boss. You do this via a little training of the SRE to make it recognize your personal vocal characteristics.
To train the SRE
Click Start, click Control Panel, click Sound, Speech and Audio Devices, and then click the Speech icon. The Speech Properties dialog box will open as shown below.

Figure 3
Each user of the SRE has his or her own unique profile. Chances are that you have different speech patterns than your sister. Windows XP and the SRE should take note of that fact. Theoretically, you can set up a different profile for everyone in the house, but, for this example, we'll assume you're the only user.
1.
Ensure that your microphone is working by clicking the Configure Microphone button.
2.
Click the Train Profile button to start the process. The Speech Recognition Training Wizard will open.
3.
Click Next, and follow the wizard instructions to train the SRE.
Windows XP and the SRE
Now you're ready to start using speech recognition via a tool in Windows XP called the Language Bar. At this point, you should configure the Language Bar, and other Windows XP speech settings.
To configure the Language Bar and Windows XP Speech Settings
1.
Open Control Panel.
2.
Click Date, Time, Language, and Regional Options, and then click Regional and Language Options.
3.
Click the Languages tab.
4.
Click the Details button.

Figure 4
The Text Services and Input Languages dialog opens, as seen above.
Clicking the Language Bar button allows you to configure how you want the Language Bar to appear. You can choose from four options such as having it float or having it docked at the toolbar.
You may change the recognition behavior of the SRE by clicking the Speech Recognition entry, then selecting Properties. For more about this, see the speech recognition documentation in Microsoft Word.
To enable the advanced speech recognition in Windows XP
Click the Advanced tab, which exposes how Windows XP can interface directly with the SRE as shown below.
Check the box beside Extend support of advanced text services to all programs.
Click OK, then, if required, restart your machine.

This option allows Windows XP to accept dictation-style input anywhere there is a box that can be filled in with text — including Notepad, Internet Explorer's Address bar, and Outlook Express. However, this does not enable Windows XP to respond to commands for the operating system shell. You cannot use speech recognition to open the Windows XP Start menu, or the Windows XP Help and Support Center, for example. This is known as Voice Command mode, and while Office XP programs have this capability, Windows XP has it only in the Tablet PC Edition of Windows XP.

Now Try Talking to Your PC

To test out your Speech Recognition capabilities, you should run two exercises. First, while running Word XP, locate the Language bar and click the Microphone icon as seen below.

Say "dictate" then say a sentence or two, and see that Word responds and enters in your text. In Word, you can also change the mode of input by saying "voice command." This lets you navigate the menus by saying "menu," or you can open Word Help by saying "help." You can explore a lot of other intuitive voice-command features.
For your second exercise, start Notepad, and on the Language Bar, click the Microphone again and say "dictate." You should be able to dictate into Notepad, which shows that Windows XP is interfacing with the SRE. You're now ready to conquer any text-box and dictate your next e-mail message.

Final Thoughts

Now that solid speech recognition technology is available in Windows XP, I predict that we'll see more third-party programs take advantage of the hooks that Windows XP provides. By setting up speech recognition now, training the SRE, and getting used to the interface, you'll be ready to enjoy it when the next wave of integrated software arrives.
Expert Zone Columnist Jeremy Moskowitz is a Microsoft Certified Systems Engineer, and Microsoft Certified Systems Administrator, and the Chief Propeller-Head for Moskowitz, Inc. He is an independent consultant, and trainer for Windows technologies. He can be reached at jeremym-ms@Moskowitz-inc.com. Note that he cannot respond to all e-mail messages.

Face Future: Manfaat Jus Tomat Campur Kacang Panjang Untuk Diab...

Face Future: Manfaat Jus Tomat Campur Kacang Panjang Untuk Diab... : Manfaat Jus Tomat Campur Kacang Panjang untuk kesehatan terutama bagi p...