Author name: SKB

Android Simple Menu Application

Menu application using Android Following example shows that how to create menu application using Android. Follow the below steps to create. a) copy the following code to “activity_main.xml” <RelativeLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:tools=”http://schemas.android.com/tools” android:layout_width=”match_parent” android:layout_height=”match_parent” android:paddingLeft=”@dimen/activity_horizontal_margin” android:paddingRight=”@dimen/activity_horizontal_margin” android:paddingTop=”@dimen/activity_vertical_margin” android:paddingBottom=”@dimen/activity_vertical_margin” tools:context=”.MainActivity”> <TextView android:text=”@string/hello_world” android:layout_width=”wrap_content” android:layout_height=”wrap_content” /> <ImageView android:layout_width=”fill_parent” android:layout_height=”wrap_content” android:src=”@drawable/save” android:layout_centerInParent=”true”/> </RelativeLayout> b) Now copy the follwoing code …

Android Simple Menu Application Read More »

Share

Android program SUM of 2 Numbers

Addition of 2 numbers Step 1. in activity_main.xml file copy the following code. <RelativeLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:tools=”http://schemas.android.com/tools” android:layout_width=”match_parent” android:layout_height=”match_parent” android:paddingLeft=”@dimen/activity_horizontal_margin” android:paddingRight=”@dimen/activity_horizontal_margin” android:paddingTop=”@dimen/activity_vertical_margin” android:paddingBottom=”@dimen/activity_vertical_margin” tools:context=”.MainActivity”> <TextView android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:text=”Enter First number” android:id=”@+id/t1″ /> <EditText android:layout_width=”103dp” android:layout_height=”wrap_content” android:id=”@+id/n1″ android:layout_alignParentTop=”true” android:layout_centerHorizontal=”true” /> <TextView android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:text=”Enter second number” android:id=”@+id/t2″ android:layout_gravity=”center_vertical” android:layout_below=”@+id/n1″ android:layout_toStartOf=”@+id/n1″ android:layout_marginTop=”39dp” /> <EditText android:layout_width=”92dp” android:layout_height=”wrap_content” android:id=”@+id/n2″ android:layout_gravity=”center_vertical” …

Android program SUM of 2 Numbers Read More »

Share

Macros in Excel

Excel Macros A macro can be defined as the recording of a series of tasks. It’s the simplest form of automation – show a software program the steps you follow to get something done, and the software will follow along. When used right, macros can save you hours by automating simple, repetitive tasks. A macro …

Macros in Excel Read More »

Share

Creating an Excel form with Macros

This tutorial teaches you how to create an excel forms with Macros with step-by-step approaches. Step1 :  Open MS Excel Application and then click on “Developer” Tab  then click on “Visual Basic” option as shown in following screen shots. Step2: Click on “Insert” menu then select “UserForm” as shown in below image Step3: Drag and …

Creating an Excel form with Macros Read More »

Share

Pivot Table using Excel

Pivot table is used to sort, count or give the average of the data stored in a spreadsheet, Pivot tables are also useful for converting rows to columns etc. Here are the steps to create a pivot table. Step 1:  Start MS Excel Application Step 2: Enter some data as following screen shot. Step 3: …

Pivot Table using Excel Read More »

Share

COBOL Programs

1. COBOL program on Arithmetic Operation *PROGRAM TO PERFRM ARITHMATIC OPERATIONS USING COMPUTE VERB. IDENTIFICATION DIVISION. PROGRAM-ID. AOP. ENVIRONMENT DIVISION. DATA DIVISION. WORKING-STORAGE SECTION. 01 A PIC 9(4). 01 B PIC 9(4). 01 SUM PIC 9(4). 01 SUB PIC 9(4). 01 MUL PIC 9(4). 01 DIV PIC 9(4).99. PROCEDURE DIVISION. START-PARA. DISPLAY “ENTER THE VALUES …

COBOL Programs Read More »

Share

SPEED UP YOUR PC

To speed up your windows XP/7/8/8.1/8.2 PC, Just follow the below steps to make your PC running faster and reliable. 1. Defragment your hard drive: After accessing and storing lots of files on your computer hard drive it is common that files or folders get scattered in memory. Click->Start->Accessories->System tools->Disk Defragmenter [follow below image] 2. Uninstall …

SPEED UP YOUR PC Read More »

Share

Clear Excel Sheet using VBA

To clear the entered data in the current sheet of MS-Excel application follow the below simple steps. 1. Click on ” Developer” tab in MS-Excel as shown in below image. 2. Click on “insert” and select “command Button”, follow image. 3. Drag the button on the sheet and right click on it, select properties->Caption->Enter text …

Clear Excel Sheet using VBA Read More »

Share

Data validation in Excel

Data Validation with MS – Excel Data validation is an important for entering specific values in the column with size or length. Here are the steps. 1. Prepare the sheet as shown in following screen shot. 2. Select the cloumn “Employee code” then Go to “Data” menu tab in the excel. 3. Select Data validation. …

Data validation in Excel Read More »

Share

Searching Images using PHP

To search images using PHP from MySQL Database, follow the examples. First of all create a table in MySQL database with following fields. Now, insert some images by clicking on “insert” tab in MySQL. Now, create a HTML page as following tags. <html> <body> <h1> Image searching………</h1> <form name=f1 action=”image.php” method=”GET”> Enter image Id: <input …

Searching Images using PHP Read More »

Share
Share
Scroll to Top