Friday, July 5, 2013

IF Statement Syntax

If logicalcondition Then
Compound Statement
End If

Sample Program that best illustrate the use of IF Statement in Visual Basic 6.0.

Interface

Object Properties

Source Code 


Private Sub cmdclose_Click()
If MsgBox("Are you sure you want to end this program?", vbQuestion + vbYesNo, "Comparing Two Numbers using IF Statement") = vbYes Then
    End
End If
End Sub

Private Sub cmdIF_Click()
If cmdIF.Caption = "Co&mpare" Then
    If Val(txtnum1.Text) > Val(txtnum2.Text) Then
        MsgBox "The highest number is Num1: " & txtnum1.Text & """", vbInformation + vbOKOnly, "Comparing Two Numbers using IF Statement"
    End If
    If Val(txtnum1.Text) = Val(txtnum2.Text) Then
        MsgBox "The inputted numbers are equal."
    End If
    If Val(txtnum1.Text) < Val(txtnum2.Text) Then
        MsgBox "The highest number is Num2: " & txtnum2.Text & """", vbInformation + vbOKOnly, "Comparing Two Numbers using IF Statement"
    End If
    cmdIF.Caption = "Cle&ar"
Else
    txtnum1.Text = ""
    txtnum2.Text = ""
    cmdIF.Caption = "Co&mpare"
End If
End Sub

Private Sub Form_Load()
    Me.Top = (Screen.Height - Me.Height) / 3
    Me.Left = (Screen.Width - Me.Width) / 2
End Sub


Download the Full Project by clicking here.

Tuesday, July 2, 2013

Create the following interface by utilizing the simple concepts discussed by your instructor.


Graphical User Interface:


Source Code:


Private Sub cmdClose_Click()
If MsgBox("Are you sure you want to end this program?", vbQuestion + vbYesNo, "Hello World Application") = vbYes Then
    End
End If
End Sub

Private Sub cmdPrint_Click()
If cmdPrint.Caption = "&Print" Then
    txtPrint.Text = "Hello World!"
    cmdPrint.Caption = "&Clear"
Else
    txtPrint.Text = ""
    cmdPrint.Caption = "&Print"
End If
End Sub

Private Sub Form_Load()
'Setting off the form on the center of the monitor.
    Me.Top = (Screen.Height - Me.Height) / 3
    Me.Left = (Screen.Width - Me.Width) / 2
End Sub

Download the Full Project by clicking here.

Monday, June 24, 2013

iDroid Kata Smart Phone powered by Anroid version 2.3.5

 If we have reached the maximum patterns allowed in opening iDroid Kata smart phone, we can access our  phone by signing in to the Email Account provided during the mobile phone first use.

If ever we have not set Email Account on our smart phone. We need to perform hard reset on iDroid. I would like to share this solutions on how I solve this problem.

Few single steps to Hard Reset.
1. Press and hold Power and Volume Down button while opening your iDroid phone.
2. Factory Mode Screen will display.
3. Use Audio controls button to navigate selection.
4. Select Clear Flash to reset iDroid.
5. Wait your iDroid to Restart and apply the factory settings.
6. Follow on-screen instructions on iDroid Phone First Use.
7. Set-up or Skip the process to add account on your mobile phone. Presto!

Manual Reset on iDroid:
1. Access Settings
2. Select Privacy
3. Open Factory data reset
4. We can erase all content from the SD card by selecting the checkbox erase sd card, or ignore to still view the contents of our SD card.
5. Click reset phone
6. Confirm action by selecting erase everything.
7. Wait your smart phone to restart. Presto!  Your smart phone factory default settings.

I've attached the video on the actual iDroid Reset solutions of Hannah smart phone.
Credits to Hannah for the problem of her phone. :D

Wednesday, June 19, 2013

If you miss to play your favorite Games from an Old Game Console like SEGA Genesis, it is now possible without your Dirty Old Game Console but through your Smartphone.

First thing to do is to download a Game Console Emulator for Smartphones:

Download Nintendo Family Computer Emulator (NES Emulator 1.5.7)
Download SEGA Genesis Emulator (Gensoid)

After installing your Favorite Game Console Emulator, you can download hundreds of ROMS available at Free ROMS.
To use sim card from other network to network locked Java Enabled Samsung Phones, just follow this few simple easy steps:

Step 1:
Remove the battery from the phone and insert the sim card half way to the sim card slot.

Step 2:
Insert the battery and provide space so that you can push the sim card later. Turn on the cellphone.

Step 3:
When the phone turns on and display Insert Sim Card, you can select one of this two option to restart your phone.
- Dial *2767*2878#
or
- Go to Settings -> Time and Date -> Automatic time update. When your phone prompts to restart, just click Yes.

Step 4:
When the phone is in off condition, push the sim card using any pointed object to fit it in sim card slot.
Push it before the phone starts up.

When the phone starts and display the Network Provider in your phone, you have successfully bypassed the network lock setting from your phone.

Enjoy!
To access Free mobile internet, you should be a Globe subscriber and download Opera Mini with editable server. You can find it by searching through Google. The best modified Opera Mini is Torque Speeder OM 4.2.

In your mobile phone internet setting, just select MyGlobeConnect as your default Connection.

Manual Setup

Name: myGlobe CONNECT
Home URL: http://www.globe.com.ph/globe.asp
Proxy: On
Proxy Address: 203.177.42.214
Port: 8080
Access name: www.globe.com.ph

In Opera Mini, just type the text below:

HTTP Server
http://www.globe.com.ph/globe.asp.server4.operamini.com:80

Socket Server
socket://www.globe.com.ph/globe.asp.server4.operamini.com:1080

Front Query
www.globe.com.ph/globe.asp.80.239.242.113

Remove String from URL
global-4-lvs-colossus.opera-mini.net

Save the settings and wait until it successfully installed.

Your sim card should have at least have a minimum Php 5.00 prepaid load.

After successful installation of the modified browser, you can access the internet even though you don't have any remaining prepaid balance.

Enjoy!

Sunday, June 16, 2013

With basic knowledge on input-output function of C. We can now perform simple arithmetic programs, like in this example Division Program.

Source Code:
#include<stdio.h>
main()
{
int num1, num2;
float quotient;
clrscr();
printf("Enter two numbers to perform Division:");
scanf("%d %d", &num1, &num2);
quotient=num1/num2;
printf("The quotient of two numbers is: %.2f",quotient);
getch();
}

Output of the Program:




With basic knowledge on input-output function of C. We can now perform simple arithmetic programs, like in this example Subtraction Program.

Source Code:
#include<stdio.h>
main()
{
int num1, num2, diff;
clrscr();
printf("Enter two numbers to perform Subtraction:");
scanf("%d %d", &num1, &num2);
diff=num1-num2;
printf("The difference of two numbers is: %d",diff);
getch();
}

Output of the Program:



With basic knowledge on input-output function of C. We can now perform simple arithmetic programs, like in this example Multiplication Program.

Source Code:
#include<stdio.h>
main()
{
int num1, num2, product;
clrscr();
printf("Enter two numbers to perform Multiplication:");
scanf("%d %d", &num1, &num2);
product=num1*num2;
printf("The product of two numbers is: %d",product);
getch();
}

Output of the Program:

With basic knowledge on input-output function of C. We can now perform simple arithmetic programs, like in this example Addition Program.

Source Code:
#include<stdio.h>
main()
{
int num1, num2, sum;
clrscr();
printf("Enter two numbers to perform Addition:");
scanf("%d %d", &num1, &num2);
sum=num1+num2;
printf("The sum of two numbers is: %d",sum);
getch();
}

Output of the Program:

C programming language provide functions that can be use in creating programs.
scanf is the function use to accept data from user either of data type used.

Source:
#include<stdio.h>
main()
{
int num;
clrscr();
printf("Enter number to display:");
scanf("%d", &num);
printf("This is the number you type: %d.",num);
getch();
}

Output of the Program:




Ever wanted to save that classy video from Facebook but the pain of downloading and installing a software has stopped you from downloading that video? There are many services and apps available which can help you in downloading videos from Facebook. But if you don’t want to use any third-party tool or service to download videos then you can simply use our very own Internet Explorer.

Open IE, go to Tools / Internet Options, Click on Delete, check Delete Temporary Internet Files and Delete.

Now open the Facebook page of the video you want to download and wait till it buffers completely. Return to Tools, Internet Options, Settings (under Browsing History area) and click on “View Files”. This will open a folder on your computer where you will find the video file, just sort them by size and you’re done.

In most cases the videos are of larger size than the rest of the files and should have icon of your default media player. Simply copy this file and store it somewhere else and you are done.

If you are using Google Chrome then you can try ChromeCacheView to see cached files on your drive.


Source: 
https://www.facebook.com/LibreMagShare/posts/200754853412742

Tips and Tricks to modify the Date and Time settings on your computer makes one user unique over the other.

I remember back when I repair other laptop or desktop pc, I always make a signature by displaying my nickname on their System Date and Time which later displayed on System Tray on their desktop.

Here are the simple tips in performing this:

Customizing Date and Time Format:
  1. Open Control Panel


  2. Access Clock, Language, and Region

  3. Under Region and Language, select Change the date, time, or number format
  4. Select Additional Settings, then click Time
  5. Under Time Formats, the AM and PM symbol can contains up to 12 characters. As we notice it only contain 2 characters AM and PM, thus it allow us to add few characters of our own or modify the symbol character.
  6. Click Apply to adopt the changes. Click OK on both Customize Format and Region and Language dialog box to apply changes.
  7. Presto your Customized System Time Format!

Saturday, June 15, 2013

CISCO has been the leading IT Professionals Certification. CISCO Certifications comes in various level: Entry, Associate, Professional, Expert and Architect. Subject areas may fall into seven  categories: Routing and Switching, Network Security, Service Provider, Design, Storage Networking, Voice and Wireless.

With all these different career opportunities, one common question to ask, how would I learn CISCO?

CISCO now offer The Games Arcade: Have fun while you learn. Interested individuals who wants to progress in CISCO career opportunities can access and download different games to learn the CISCO WAY!

The CISCO Learning Network

Friday, June 14, 2013

Resetting mobile phones is like formatting a computer and will tend to lose all of your data on your specific storage device.

Steps to consider before reformatting your mobile phone.

Back-UP
Data back-up allows the user to save his/her important data saved on his device like contacts, email accounts, username and password on the internet, captured moments like photos, videos, audio recordings.

Battery Power
Be sure to use a charge battery on resetting your mobile. Technicalities might occur if during reformatting your battery ends up and will lead your phone operating system to be corrupted or will brick your phone.

Reformatting Samsung Galaxy Y

If you are still able to access your phone graphical user interface, you can choose from either of the two steps below.

Using the Magic Code
You just need to dial the following keys.
*2767*3855#

Press Dial button to see the MAGIC.

Using the Settings Menu
1. Open Settings
2. Scroll down to Privacy
3. Under Personal data, Select Factory data reset
4. Select Reset Phone
5. Select Erase everything

If you are unable to access the phone graphical user interface, perform the following procedure below:
Hard Reset
1. Press and Hold the Volume Up and Menu button
2. While holding the two buttons, power on your mobile phone. (This usually lasts 8-12 seconds to open up the screen.)
3. Factory Reset screen will display. You can navigate the screen using the Volume Up and Down.
4. Select Wipe data/factory reset. Press Menu button to select.
Presto! Your Samsung Galaxy Y, newly reset mobile phone.

Disclaimer:
The author of this article will not be liable for any damages or losses from the display or use of this information.



Thursday, June 13, 2013

Adopting the concepts of C programming, a train individual can perform simple programming in Visual Basic Studio 2010.
A simple console application printing hello world on screen.

Hello World Console Application

  1. Open Visual Basic 2010 Express
  2. Click New Project
  3. Select Console Application 
    Type the name of application. Hello World
  4. Click OK
Coding the Console Application
  1. In the module1.vb, we can directly type the code below:
  2. Code:
Console.Writeline("Hello World")
Console.Readline()

Press Function Key F5 to run your first vb.net console application.

Enjoy your programming skills in Visual Basic Studio 2010 Express.


Tuesday, June 11, 2013

The programs presented here illustrate best practices in C programming primer. Writing C programs helps learner to simulate other programming language that he/she may encounter in the future like C++, C#, Java and PHP.

Hello World Program

#include<stdio.h>
main()
{
printf("Hello World!\n");
getch();
}

Output of the Program:
Hello World!