Friday, December 27, 2013

How To Mirror Your iPhone/iPad/iPod Screen To Your Computer For Free?

Airplay mirroring
Apple's airplay mirroring on ipod,ipad and iphone allows us to wirelessly stream the screen to a Tvdisplay via the Apple TV.But if you want to mirror the screen to your computer then try this trick.There are different apps for windows that allows windows to act as an airplay receiver.Mirroring your iphone/ipod/ipad screen to your computer allows you to share the screen to a group of people around you.This trick will also be helpful when you want to teach someone to do something in iphone.Without further explanation lets do that!

Things You Will Need

  • An Apple iPhone/iPad/iPod touch
  • An internet connection
  • A Mac or a PC
  • Reflector app (Ofiicial Website)

Steps To Mirror Your iPhone/iPad/iPod Touch To Your PC

  1. Free download reflector app from the below link.
  2. Install reflector app and launch it.
  3. Open  preferences and save the settings.
    Open preferences
  4. You will now see the airplay option displayed right next to the airdrop option.
    Airplay option next to airdrop
  5. Click on that and you will be taken to a new page.Choose your computer from the list again.
  6. Turn on airplay.You will now see your ipod/ipad/iphone displayed on your computer screen.
    Turn on mirroring option
Note:Make sure to run the reflector app throughout and make sure that the internet connection is active.

How To Turn It Off?

To turn it off simply close the reflector app from your computer.

Wednesday, December 25, 2013

C program for Calculation of the surface and the volume of a cone


C program for Calculation of the surface and the volume of a cone



#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
float r,h;
float sa,volume;
clrscr();

printf("Enter length of radius and height of cone:\n");
scanf("%f\n%f",&r,&h);

sa=3.141*r*(r+sqrt(r*r+h*h));
volume=(1.0/3)*3.141* r * r * h;
printf("Surface area of cone is: %.3f",sa);
printf("\nVolume of cone is : %.3f",volume);

getch();
}





OUTPUT:

Enter size of radius and height of a cone: 3 10
Surface area of cone is: 126.672
Volume of cone is: 94.248






-----------------------------------------
Write a c program to find the volume and surface area of cone
C Program to Find the volume and surface area of cone
java programe find volume and surface area of a cone
C Language And Numerical Methods
How to calculate Volume, Curved Surface Area and Total Surface
How to write a C program to find the surface area and volume of a cone
C Program to Find the volume and surface area of cone

Write a C program to calculate roots of a quadratic equation

Write a C program to calculate roots of a quadratic equation



#include<stdio.h>
#include<math.h>

int main(){
float a,b,c;
float d,root1,root2;


printf("Enter a, b and c of quadratic equation: ");
scanf("%f%f%f",&a,&b,&c);

d = b * b - 4 * a * c;

if(d < 0){
printf("Roots are complex number.\n");

printf("Roots of quadratic equation are: ");
printf("%.3f%+.3fi",-b/(2*a),sqrt(-d)/(2*a));
printf(", %.3f%+.3fi",-b/(2*a),-sqrt(-d)/(2*a));

return 0;
}
else if(d==0){
printf("Both roots are equal.\n");

root1 = -b /(2* a);
printf("Root of quadratic equation is: %.3f ",root1);

return 0;
}
else{
printf("Roots are real numbers.\n");

root1 = ( -b + sqrt(d)) / (2* a);
root2 = ( -b - sqrt(d)) / (2* a);
printf("Roots of quadratic equation are: %.3f , %.3f",root1,root2);
}

return 0;
}








-----------------------------
C PROGRAMMING SOLVING THE QUADRATIC EQUATION
How do you write a c program to solve quadratic equation
Write the C program that solve the quadratic equation problem
Searches related to write a c program to solve quadratic equation
how to write a java program that solves quadratic equations
write a c program to find the roots of a quadratic equation
write a c program to find the real roots of a quadratic equation
c programming quadratic equation roots
c program to find the roots of a quadratic equation with output
quadratic equation c programming code
quadratic equation program in c language
quadratic formula in c programming
Write a C program to to find real roots of the quadratic

write a C Program to arrange 10 numbers in ascending order

C Program to arrange 10 numbers in ascending order





/*C Program to arrange 10 numbers in ascending order*/


#include<stdio.h>

#include<conio.h>

void main()

{

int i,j,temp,a[10];

clrscr();

printf(Enter 10 integer numbers: \n);

for(i=0;i<10;i++)

scanf(%d,&a[i]);

for (i=0;i<10;i++)

{

for(j=i+1;j<10;j++)

{

if(a[i]>a[j])

{

temp=a[j];

a[j]=a[i];

a[i]=temp;

}

}

}

printf(“\n\nThe 10 numbers sorted in ascending order are: \n);

for(i=0;i<10;i++)

printf(%d\t,a[i]);

getch();

}




OUTPUT:


Enter 10 integer numbers:

2

9

7

4

3

6

8

1

5

10

The 7 numbers sorted in ascending order are:

1 2 3 4 5 6 7 8 9 10





------------------------------------------------
Answers questions like


   
Write a c program to sort 10 numbers in ascending order
Write a program to arrange a list of numbers in ascending order
How to write a program for arranging numbers in ascending order
Write a c program to arrange numbers in ascending order
C++ Arrange 10 random integers in descending order?
Write a C program to sort a string in ascending order.?
Program to sort numbers in ascending order and use integer point
Sort 10 Numbers In Ascending Order - C And C++
Write a simple program in java to accept 10 number

Sunday, December 22, 2013

ASP.NET Tutorial 8- Create a Login website-Creating Master Page and appl...






MasterPage Source Code


<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<form id="form1" runat="server">

<table style="font-family:Arial">
<tr>
<td colspan="2" style="width:800px; height:80px; background-color:#3399FF;
text-align:center">
<h1>
WebSite Header
</h1>
</td>
</tr>
<tr>
<td style="height:500px; background-color:#66FFFF; width:150px">
<h3>Menu</h3>
</td>
<td style="height:500px; background-color:#9999FF; width:650px">
<h3>content</h3>
<div>
<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">

</asp:ContentPlaceHolder>
</div>
</td>
</tr>
<tr>
<td colspan="2" style="background-color:#3399FF; text-align:center">
<b>Website Footer</b>
</td>
</tr>
</table>


</form>
</body>
</html>


Saturday, December 21, 2013

Prolific USB-to-Serial Comm Port LINUX DRIVER

Prolific technology USB serial driver Linux


When you connect USB (or serial to USB) to your Linux device and if it recognises the USB but A in a little different manner e.g usbdev1.XX and 
Not in the expected format like ttyUSB0 (ttyUSB1 , ttyUSB2 .....) . I am lising Out the the Steps which I have followed to Solve the problem.

First I checked What are the Devices are present in my dev directory by following command

# ls /dev/

and the response is as follows

usbdev1.1
usbdev1.2
usbdev1.3
usbdev1.4
usbdev1.5
ttyS0
ttyS1
ttyS2
ttyS3

Now I Give the Following command to Know the Devices specifications

# lsusb

The response is as follows 

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 1a40:0101 TERMINUS TECHNOLOGY INC. 
Bus 001 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC

So I know which device I am looking for . The Device is "Bus 001 Device 010: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port"

and its 'usbdev1.3'


Now I Give the followin command to find if the PL2303 driver is present on my kernal or not

# find /lib/modules -name *2303*

this replys me 

/lib/modules/3.2.29-00165-gd626b6d/kernel/drivers/usb/serial/pl2303.ko

So the .ko file is present .Now All I need to do is to Initialise the pl2303.ko to recognize my USB as ttyUSB*

Give the following command to initialize the pl2303.ko 

# insmod /lib/modules/3.2.29-00165-gd626b6d/kernel/drivers/usb/serial/pl2303.ko

Now once again check fot the device 

# ls /dev/

and This time I gives me the response 

usbdev1.1
usbdev1.2
usbdev1.4
usbdev1.5
ttyS0
ttyS1
ttyS2
ttyS3
ttyUSB1

Now I can Use ttyUSB1 as normar USB .


I also created the bash file with the content 

 #!/bin/bash         

insmod /lib/modules/3.2.29-00165-gd626b6d/kernel/drivers/usb/serial/pl2303.ko




and put it into the /etc/profile.d/ folder with 'chmod a+x' privlages
-----------------------------------------------------------
Following Problem 
insmod: error inserting 'pl2303.ko'
insmod error -- Invalid module format
prolific technology usb serial driver linux
Prolific USB-to-Serial Comm Port LINUX DRIVER
prolific usb serial driver linux ubuntu fedora
Fedora Hardware :: Prolific Pl2303 + Serial Modem - Dials But PPP Won't Authenticate
map usbdev1.xx to ttyusb
As a side note, I went to the root file system, there is no /dev/ttyUSB anything...
There is /dev/usbdev1.1, /dev/usbdev1.2, etc...does this help??
usb1
usb2
usb3
usbdev1.1_epXX <-Several
usbdev1.2_epXX <-Several
usbdev2.1_epXX <- Several
usbdev3.1_epXX <- Several
Bus 003 Device 009: ID 1199:6880 Sierra Wireless, Inc.
Bus 003 Device 001: ID 1d6b:001
Bus 002 Device 001: ID 1d6b:001
Bus 003 Device 001: ID 1d6b:002
USB Serial Converter support
insmod: can't read 'usbserial': No such file or directory
insmod: error inserting 'usbserial.ko': 
insmod: Invalid module format
copy linux ubuntu usb driver from one computer to another
modprobe  vendor=0x067b product=0x2303
activate PL2303 Serial Port linux
PL2303 serial port.

Friday, December 20, 2013

C# SQL Database Tutorial 1:How to Connect and Use Local Database ( sql s...


























------------------------------------------------------
Connecting to local SQL Server database (SQL Server Compact 3.5 database file) using C#
c# - Local database, I need some examples
c# windows, local database(sql server), connection
C# How to connect and use a database
Connecting to a Local database
how to connect to localDatabase C#
Can't connect to local database C#
Creating a Connection String and Working with SQL Server LocalDB
SQL Server Compact connection strings
Connecting to SQL Server instance through C#
How to create a local database file with no connection to a server
Can't Connect To Local Database
C# Local Server Example
visual studio - How to use a local database in c#
Connect to SQL Server 2012 Database with C# Visual Studio 2012
c# local database connect
how to open sdf (sql server compact edition) file
Managing SQL Server Compact Edition Databases
Searches related to SQL Server Compact database file
sql server compact edition database file
how to use sql server compact
sql ce
sql compact 4.0 management studio
sql server compact edition limitations
sql server compact edition management studio

Tuesday, December 17, 2013

ASP.NET Tutorial 7- Create a Login website - Creating Sessions and Secu...




















------------------------------------------------
Easy way to create secure ASP.NET login using Session
Session Attacks and ASP.NET
Which is More Secure? Session VS Cookies
ASP.NET Security: An Introductory Guide to Building
Simple Login and Redirect for ASP.NET and Access
Force ASPSessionID to change on login
Session Security in ASP.NET
Handling session and authentication timeouts in ASP

Monday, December 16, 2013

ASP.NET Tutorial 6- Create a Login website - Login page & Validating Use...





















-----------------------------------------------------------
asp.net login validation with database
c# - Validating username and password in a database in asp.net
Validating User Input in ASP.NET Web Pages Sites
Asp.Net Examples: Simple login form example in asp.net
How to create Login page/form and check username,password in database
Simple login form example in asp.net Check Username
How to implement form validation using ASP.Net 2.0
How to Validate User Login in asp.net using DataSet
ASP.NET Form to Database with Form Validation
ASP.NET Database Login
ASP.NET FormDecorator Demo - Validation and Login Controls


Friday, December 13, 2013

ASP.NET Tutorial 3- How to Create a Login website - Creating Database Fo...































--------------------------------------------------------------------
Setting up the Database  ASP.NET Site
Building ASP.NET Web Applications with
ASP.NET Web Pages Databases
ASP.NET Web Forms Tutorial
After creating Website using ASP.NET (c#), sqlserver(Database
SQL server DAtabase
Creating a Database
ASP.NET Web Pages Tutorial
Create a  Database Application in 15 Minutes with ASP.NET
Create a website with ASP.Net
Create an ASP.NET website
ASP.NET Web Pages Databases
ASP.NET Web Forms Database

Sunday, December 8, 2013

ASP.NET Tutorial 1 - Introduction and Creating Your First ASP.NET Web Site




















------------------------------------------------------
Good tutorials for beginners using ASP.NET/C#
A Beginner's Tutorial for Understanding and Implementing ASP.NET
Beginners Introduction to ASP.NET
asp.net tutorial for beginners
Searches related to asp .net tutorial for beginners
asp .net tutorial for beginners free download
asp .net tutorial for beginners pdf
asp.net tutorial
asp.net 2010 tutorial for beginners
asp net tutorial for beginners with examples
ajax tutorial for beginners in asp net
asp net tutorial for beginners youtube
jquery in asp net tutorial for beginners
Beginners Learn .NET and c# Csharp  Lab 1 Day 1

Saturday, December 7, 2013

How to create amazing intros for your video for free?

Flixpress
Video intros are great way to start a video.Intros are especially needed when you are starting a video series like one in youtube.Morever good intros can hook up your viewers for a longer period of time.But if you are not a good video creator then ask someone else to do it for you.If you are interested in creating one yourself then here are the ways how you can do it.

Flixpress

Flixpress is  a website which allows you to create video intros for free.This website has both paid and free templates to work with.Once completed you can download the file to your computer.This is the simplest method to create a video intro for beginners.Take a look at a sample video that I have created with flixpress.

Get Free Templates Online

If you have a basic knowledge on  using video editing software such as adobe after effects then it is better to download templates for it and then download it.You can search for adobe after effects,etc. templates on google.This way you can have further customizations than before.Youtube is also a great place to look for template files.Take a look at the video that was created using after effects template.Check it here.

Hire Professionals

If you are looking to create more professional video intros then hand this duty to others.You can find someone to do this job in fiverr.com for just 5$.
Best of luck creating video intros!

Friday, December 6, 2013

C# Tutorial 102: How to make a Live Currency Converter Using C#




















-------------------------------------------------
currency converter help c#
How best to calculate derived currency rate conversions using C#
Updating the rates in my currency converter c#
currency converter in asp.net c#
Live Currency Conversion using C#
C# Currency Example
Searches related to currency conversion using c#
how to convert currency using exchange rate
convert decimal to currency c#
how to convert currency using a calculator
currency converter using php
Currency Converter Server with C#

Thursday, December 5, 2013

QT C++ GUI Tutorial 27- How to read text file and display file to a text...





QFile file("C:/Users/9589693153/Desktop/Test111.txt");
if(!file.open(QIODevice::ReadOnly)) {
QMessageBox::information(0, "error", file.errorString());
}

QTextStream in(&file);
ui->textBrowser->setText(in.readAll());
file.close();
















----------------------------------------------------------
How to display text from a file to a text browser
Reading and Writing Text | C++ GUI Programming with Qt4
QtCreator GUI open text file
parsing - Load Text File Into Table Widget in Qt
How to read a textfile and display result in gui
Thread: how to use QtextEdit to open & read text files
How to read and display BMP image just using QT's GUI?
QT file reading example
How to load a map in QT GUI application using text file

Wednesday, December 4, 2013

Write a C program to Make Simple calculator


Write a C program to Make Simple calculator




#include<stdio.h>
int main() {
int num1,num2,opt;
printf("Enter the first Integer:\n");
scanf("%d",&num1);
printf("Enter the second Integer:\n");
scanf("%d",&num2);

for(;;) {
printf("\n\n\n\nEnter the your option:\n");
printf("1-Addition.\n2-Substraction.\n3-Multiplication.\n4-Division.\n5-Exit.\n");
scanf("%d",&opt);
switch(opt) {
case 1:
printf("\nAddition of %d and %d is: %d",num1,num2,num1+num2);
break;

case 2:
printf("\nSubstraction of %d and %d is: %d",num1,num2,num1-num2);
break;

case 3:
printf("\nMultiplication of %d and %d is: %d",num1,num2,num1*num2);
break;

case 4:
if(num2==0) {
printf("OOps Devide by zero\n");
} else {
printf("\n Division of %d and %d is: %d",num1,num2,num1/num2);
}
break;

case 5:
return 0;
break;

default:
printf("\n Enter correct option\n");
break;
}
}
return 0;
}









--------------------------------------------
 Write a program performing as calculator
Simple calculator - C Programming Examples
C Program for simple calculator
Example of C Program/Code to Simulate a simple calculator
C Program: Make a Calculator
Write c program to make calculator

QT C++ GUI Tutorial 26- Creating Digital Clock by using QTimer and QDate...
























----------------------------------------------------------------
Creating a Digital Clock
Simple digital clock by using Qt
Searches related to qt digital clock
qt 4.7 digital clock
digital clock in a phone
Unable to match current Date and time in Qt  How to take the system date time
Searches related to running date time qt
qt get date and time
qt date time widget
qt date time picker
qt datetime
qt datetime difference
qt datetime format
qt timestamp
qt timestamp milliseconds
qt timer
qt stopwatch
qt timer callback
qt timer in thread
qt timer event example
qt timer widget

Tuesday, December 3, 2013

QT C++ GUI Tutorial 25- How to run any EXE file by clicking a button in Qt
















----------------------------------------------------
Open external file with parameter
How to run exe made of Qt on a computer without Qt
Problem with QProcess when execute different kind of .exe
How to Open execute any batch file using QT
.exe files default to QT
 How to launch web browser, player, e-mail client and pdf  vlc  crome

QT C++ GUI Tutorial 24- How to use QFileDialog

















--------------------------------------------------------------
How to use QDir and QFileDialog in Qt
can the Open File dialog be used to select a Folder
c++ - In the Qt how to open QFileDialog::getOpenFileNames
Qt Toolkit - QFileDialog
 How to use QFileDialog
How to creat open/save dialog with Qt Creator

Sunday, December 1, 2013

QT C++ GUI Tutorial 23- How to open a website in a default user browser
















------------------------------------------------------
Qt: How to open a link in a default user browser?
Qt - How to open a website in a particular browser
How can I open my .html file in a browser
Open link in default browser?
Cannot open webpage with QWebView

Thread: Hyperlink text in QLabel to open web browser
Opening Web Page from Qt Application
Searches related to open website using qt
qt open web page
qt open default browser
qt open file browser
qt open external browser
quicktime player open url
how to open a browser using qtp
Thread: How to open url in default webbrowser - Qt Centre
how to open URL - Qt Centre
opening webpage using qt...

C# Tutorial 101: How to Add or Embed YouTube Videos In C# Windows Form...



















-----------------------------------------------------------------------
Embedding And Playing YouTube Videos In C#
c# - embed video using just url
c# - Play youtube video in windows form
Purify Embedding YouTube Videos method in C#
Watch Embedding And Playing YouTube Videos In C#
Embed youtube videos using .NET (C#)
Searches related to add youtube video to c#
how to add a video to you tube
how to embed you tube video
create you tube video
how to add you tube video to powerpoint
add music to you tube video
add you tube video to wordpress

C# Tutorial 100: How to embed VLC Media Player into C# Windows Forms Ap...




using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace vlc_media_player
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void Load_Click(object sender, EventArgs e)
{
OpenFileDialog openFileDialog1 = new OpenFileDialog();
openFileDialog1.Filter = "( *.mp4) | *.mp4";
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
axVLCPlugin21.playlist.add(openFileDialog1.FileName, openFileDialog1.SafeFileName,null);

}
}

private void start_Click(object sender, EventArgs e)
{
axVLCPlugin21.playlist.play();
}

private void stop_Click(object sender, EventArgs e)
{
axVLCPlugin21.playlist.stop();
}

private void pause_Click(object sender, EventArgs e)
{
axVLCPlugin21.playlist.togglePause();
}
}
}










------------------------------------------
Does VLC media player have a C# interface
How to Embed The VLC media player in Window Form using C#
I want to add VLC media player in window application
libvlc media player in C#
How to hook VLC media player using c#
VLC Player in C# window form
Searches related to vlc media player c#
videolan vlc media player
media players like vlc

Blog Archive

 

© 2013 Klick Dev. All rights resevered.

Back To Top