I will show you today how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages.

All you need to do is Create a ASPX page, that ASPX page will have a content type of image/jpeg, then within the code-behind file of that asp page we will be using system.drawing namespace to create a dynamic image.

System will generate 2 Random numbers, and then it will store the result of these 2 numbers into a Session Variable.

For Example

a = 2 + 3 (where 2 and 3 are 2 random numbers)

Session("Answer") = 5

then we will create a image using System.drawing namespace with the text " 2+ 5 = " within it.
We will store the result into a session variable, so later on our webpage we can use this session variable to compare with what user types.

Lets see the code of Captcha.aspx:

Imports System.Drawing

Partial Class Captcha
    Inherits System.Web.UI.Page

 

    Private Sub returnNumer()

        Dim num1 As New Random
        Dim num2 As New Random

        Dim numQ1 As Integer
        Dim numQ2 As Integer
        Dim QString As String


        numQ1 = num1.Next(10, 15)
        numQ2 = num1.Next(17, 31)

 

        QString = numQ1.ToString + " + " + numQ2.ToString + " = "
        Session("answer") = numQ1 + numQ2


        Dim bitmap As New Bitmap(85, 35)
        Dim Grfx As Graphics = Graphics.FromImage(bitmap)
        Dim font As New Font("Arial", 18, FontStyle.Bold, GraphicsUnit.Pixel)
        Dim Rect As New Rectangle(0, 0, 100, 50)

        Grfx.FillRectangle(Brushes.Brown, Rect)
        Grfx.DrawRectangle(Pens.PeachPuff, Rect) ' Border
        Grfx.DrawString(QString, font, Brushes.Azure, 0, 0)

 


        Response.ContentType = "Image/jpeg"
        bitmap.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg)


        bitmap.Dispose()
        Grfx.Dispose()

 

    End Sub

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load


        Call Me.returnNumer()

    End Sub


End Class

 

So the Page_Load event Generates an Image.

 

now we can use this Page within any aspx page for verification. For Example here is form2.aspx

now you can create a TextBox, have users enter some text into it, and then create a ANSWER button, upon clicking of ANSWER button compare the value of textbox with the Session variable Session("answer"), if both are same then Verification passed.

if you have any questions, please reply to this post.

Thanks for reading

 - Saqib

 

I took few screens of Shava tv today (october, 2012). You can see how the Menu on Shava Tv looks like and few provided channels.


please note, I could not capture all the shava channels after the scrollbar, there is a sports category too for Cricket fans, if you want this box to watch any other sports besides cricket, then please dont buy. there is arabic & bengali category as well.

if you need to see more screens then let me know.

Thanks

Do you want to enjoy desi channels on your Tv,iPhone/iPad or PC? Then guess what, you can do it ABSOLUTELY FREE. you dont need to buy jadoo tv or shava tv or anything, simply watch them on PC OR buy a Apple Tv & watch on TV, OR enjoy them on ipad/iphone.

In order to watch desi channels on your Apple Tv (Which connects with TV), Computer, iPhone, iPad or iPod you need to install a software called XBMC, once installed you can DO many things with it., Like watch Live Tv, recorded tv shows, sports, movies & much more.

For Your Apple Tv / iPhone or iPad you have to make sure your Apple product is jailbroken and you have Cydia installed. for PC you can simply install the software and you are good to go.

UPDATE: Want to watch Pakistani Live Tv & Tv shows for FREE on your Android Device without installing XMBC/KODI? then you can download our Android App Called "Desi Tv". Please Download  our Free  Desti Tv App , Click here to see whats in the app

Download the app from Amazon App Store


OR, if you do not want to download from the Amazon App Store then you can directly download our App by clicking on the Android Icon Below. Make sure you have Unknown Sources Checked within your Android Device (Settings > Security > Unknown Sources)



Step 1: Install XBMC/Kodi

Pc/Mac users     : Download XBMC from http://kodi.tv/download/
iPhone/iPad users: Download From Cydia (http://wiki.xbmc.org/index.php?title=How-to:Install_XBMC_on_iPad/iPhone/iPod_touch)

Step 2: Install Fusion

Step 1: Launch XBMC Software.


Step 2: Navigate to “SYSTEM” and then open “File Manager.”


Step 3: Select “Add Source” on the Left Side of the Screen.


Step 4: Click on the text box that says <None> to open up the keyboard.

 

Step 5: Type “http://fusion.xbmchub.com” (without quotations) on the keyboard and then choose the “Done” button on the left side of the keyboard.

 

Step 6: You’ll now see the site address that you just typed at the top is listed, next click the empty text box at the bottom under “Enter a name for this media Source.”


Step 7: You’ll now have a keyboard pop up, type “fusion” (without quotations) then press the “Done” button again.


Skip Step 8,9


Step 10: From the Main Menu, choose “Settings” under the “SYSTEM” menu listing.


Step 11: Choose the “Addons” menu from the left side of the window.


Step 12: Select the “Install from zip file” option from the list.


Step 13: Choose the “fusion” folder listed on the right side of the popup. You can choose "start here" and then click on "Add on Installer". Add-on Installer is a app store just like you have apple app store. it gets installed under "Program > Addons" menu within Kodi. So go to programs and open up Add on Installer. once opened search for "Zem Tv". Zem tv has alot of desi channels. if you just want desi channels then you are done at this step.


Step 14: Browse through the Fusion folder and select whichever files you want to install, one by one, and they’ll be instantly available within your XBMC installation.


Step 15: You’ll now need to click a “Get Add-ons” button.


Step 16: Choose the repository that was just installed from the ZIP file. In this case, we’re using “Bstrdsmkr’s Repository” as an example.


Step 17: Select the “Video Add-ons” option.


Step 18: Click the name of the plugin you wish to enable.


Step 19: Choose “Install” on the left side to enable the selected video addon.


Step 20: Return to the main menu, and go into the category which your addon was installed to (most likely either VIDEOS, MUSIC or PROGRAMS). In this case, we installed a Video Addon, so it’ll be in “Add-ons” under the “VIDEOS” menu. You’ll now be able to access and use the addon at your convenience.


You’ll now want to repeat the procedure from Step 10 onwards in order to install additional repositories and addons. Repeat as necessary.

if you are not willing to do it all by yourself then contact the person who made this video below (mgreen07080@gmail.com). He has Kodi installed on jailbroken Amazon Fire Tv, You can connect Fire Tv  
to your TV and enjoy it. He will ship out the jailbroken box with all the stuff that you see in the video below.


did anyone bought jadoo tv 4 reviews, how is it, what channels does it have? does it pay to buy it for desi channels?


Jadoo tv channel list - About Jadoo TV

Update: As most of you know, As of March 19,2011 mostly all content providers issued a lawsuit against Jadoo tv & almost all the channels have been removed. please DO NOT BUY JADOO TV OR JALVA TV or any other IPTV box, they all are ILLEGAL. In order to help community if you know any working channels for jadoo tv then please share them under Working Jadoo Tv Channels section. Please check back for latest updates.
 
** UPDATE **
 
Jadoo Tv is back with Jadoo tv 3 & Jadoo Tv 4, however we cant promise about the list of channels they have.
 
Let me start by saying, jadoo tv is a useless device. you will not see any Pay Per View's or premium channels by buying this device. you can watch few Indian channels on it (not all of them), with poor quality and they go up and down constantly with allot of buffering. This product is totally overpriced. if it was around $20 then it’s worth buying (maybe).
 
How to Watch Free TV
 
if you just want to watch few channels online, then you don’t need this device, you can watch Indian channels live on many websites c. or just Google it, you will see 100z of sites. You can also visit on demand section on this website to watch dramas.
 
How Jadoo Tv Works
 
Basically it uses your internet connection, so you must have a Fast Internet ISP. then it connects itself to its server(which streams channels) and streams them for you, which is same as if you were watching these channels on your computer. You can buy yourself a PS3 and have Ps3 stream internet for you (at least you getting a blu-ray player and gaming console for this price).
 
You are also running into a risk where a device connects itself to internet, and your computers IP address could be saved and reported back to legal authorities. My advice is to stay away from this device, its overpriced, it's not 100% legal, it lags alot and offers only few useless channels.
 
I can’t really provide a list of 100% valid channels, since every other day they are been taking down (upon legal notice). Sooner or later all channels will disappear from their server.
 

Read about Jadoo2 Tv

UPDATE: MOST SOUTH ASIAN CHANNELS ARE DOWN ON JADOO TV. THEY ARE BEEN SUED., they are trying to find more illegal ways to stream channels on their device... which i am sure will last for another couple of weeks. please save your money.

UPDATE: Jadoo Tv officially signed a contract with HUM TV USA.

Currently only few news channels are working on jadoo 1 and jadoo 2 (Update as of September 2012). Also Follow Jadoo Tv list of Working Channels Blog for updates.

here is an image of channels screen on jadoo tv.

jadoo tv


Live HUM TV Channel Blog.

Do you want to watch Desi Tv for Free on TV/iPhone/iPad? Then read this blog about watching desi channels on tv

Please note, you can also use a universal remote control as a replacement to your Jadoo Tv remote. HDMI cables are also relatively cheap these days

 Buy Cheap HDMI Cables for your Tv |  Universal Remote Control for Jadoo Tv

Watch The video below, This guy will jailbreak the Amazon Fire tv for you and put alot of kool stuff. his email is mgreen07080@gmail.com. I believe you can get this box from him.