Posts

Showing posts from 2017

Advertisement.

TransHimalaya.in

Everest Helicopter Tour for a day

Book exciting packages at www.transhimalaya.in

ASP.Net VB Facebook SDK Post on User Wall or Any Page

Dim app_id AsString = "654674765764" Dim app_secret AsString = "dgfdgy465yfhy675" Dim scope AsString = "publish_actions, manage_pages, publish_pages, public_profile"
If Session("code") IsNothingThen             Response.Redirect(String.Format("https://graph.facebook.com/oauth/authorize?client_id={0}&redirect_uri={1}&scope={2}", app_id, Request.Url.AbsoluteUri, scope)) ExitSub EndIf Dim tokens AsNewDictionary(OfString, String)()

Dim url AsString = String.Format("https://graph.facebook.com/oauth/access_token?client_id={0}&redirect_uri={1}&scope={2}&code={3}&client_secret={4}", app_id, Request.Url.AbsoluteUri, scope, Session("code").ToString(), app_secret) 'Dim url = "https://graph.facebook.com/oauth/access_token?client_id=" & app_id & "&redirect_uri=" & Reque

True or Real Random Generator Class in VB.Net

Create a Class file as shown

Imports Microsoft.VisualBasic
Imports System.Collections.Generic
Imports System.Linq
Imports System.Text
Imports System.Threading.Tasks

Namespace vbRand
    Public Interface IRandomizer
        Function Generate(max As Integer) As Integer
    End Interface

    Public Class RealRandom
        Implements IRandomizer
        Public Function Generate(max As Integer) As Integer Implements IRandomizer.Generate
            Return (New Random()).[Next](0, max)
        End Function

        'Private Function IRandomizer_Generate(max As Integer) As Integer Implements IRandomizer.Generate
        '    Return 0
        'End Function

    End Class
End Namespace


Import this class to your code where you wanna generate unique random number.

Imports vbRand


Private Sub btnPost_Click(sender As Object, e As EventArgs) Handles btnPost.Click
        Dim Randomizer As IRandomizer = New RealRandom()
        divMsg.InnerHtml = Randomizer.Generate(100).ToString
    End Sub


Now you will get ran…

How to File ITR2 for Salary form16, Home Loan Interest and Short Term Capital Gains

Image
How to File ITR2 for Salary form16, Home Loan Interest and Short Term Capital Gains
The ITR-1 is a simple form and you can fill it easily following the due process. But, this form is only for the salaried people. You may be also a salaried person, but there is a greater probability of some other earnings as well.

ITR-2 is the income return form for the people who have taxable income from the investments. This investment can be of shares, bonds, gold or property. The profit from these investments is called capital gains. The ITR-2 is required when there is a capital gain.


In the ITR-2 you can fill the following income.
Income from salary or pensionIncome from house propertyClaim Interest on Home LoanIncome from capital gains.Income from other sources including lottery or race horse.

ITR-2 can’t be efiled online, rather you are required to download it, fill it and upload it. There are two utilities to download the ITR-2. The Java utility and excel utility. If you can implement the java utili…

Polycom Realpresence The gatekeeper did not grant permission to place the call.

Image
Polycom Realpresence The gatekeeper did not grant permission to place the call.

Known Issue: The gatekeeper did not grant permission to place the call. Contact your network administrator for assistance.


Reason : Your endpoint has been quarantined. One or more endpoints are sending too much signaling traffic. They have been temporarily blacklisted and may have been quarantined. At least one device, in violation of protocol standards, is sending too much of the specified type of signaling traffic (H.323 or SIP) to the RealPresence DMA system. If there are many such ill-behaved devices, it could affect the RealPresence DMA system’s ability to provide service, so the system temporarily blacklists any such device (ignoring all signaling from it until it stops sending messages more frequently than the specification permits). If the device is or was registered, it’s also quarantined, and it remains so until manually removed from quarantine

Solution: Click the link to go to the Network > End…

SEO How to add a new website in Google Analytics

Image
SEO How to add a new website in Google Analytics
Once you’ve built your website, developed content and given each page a unique title tag and meta description, it’s time to install Google Analytics. Google Analytics is free tracking software that lets you monitor how people use your website, as well as how they find it. From an SEO perspective, Google Analytics is a great tool for spotting opportunities to further optimize your website for specific keywords. Installing Google Analytics as soon as you launch your website gives you data right from the beginning, helping you further optimize later.
Installing Google Analytics is simple. Just visit Google.com/Analytics and sign up using your Google account. Once you’ve configured your website in Analytics, you’ll need to paste your unique Analytics tracking code onto your website.
If you use WordPress, you can add the code using the Google Analytics by Yoast plugin. If you have a static HTML website, you can add the Analytics tracking co…

Create a auto popup Modal Popup Window in Blogger with close button

Image
Create a auto popup Modal Popup Window in Blogger with close button.

If you want to show some welcome popup or advertisement on your blog or website then you can do it easily by pasting the following code in body section of your page. To do this in blogger follow the steps.

1. Go to Layout section of your Blogger.

2. Add "html/Javascript" widget and drag it to Post section.

3. Enter following code as shown in the widget.


<dialog style='z-index:10000;'> <div><button id="close">X</button>    <p style='font-size:8px; color:grey;float:right;'>Advertisement.</p> </div>    <h1>TransHimalaya.in</h1>  <a href='http://transhimalaya.in/Default.aspx?refcode=vinblog' target='_blank'><img src="http://www.transhimalaya.in/images/tid10.jpg" alt="Everest Helicopter Tour for a day" /> </a> <h4>Book exciting packages at <a href='http://transhimal…

Mt Everest Base Camp Solo Trek

Image
Mt Everest Base Camp Solo Trek


I did the solo trek to Mt Everest base camp (EBC) and Kala Pathar in Solukhumbu region of Nepal from 24 April to 10 Th May. Lukla-EBC-Kala Pathar-Phaphlu trek is part of Great Himalaya Trail and it's about 200 KM. I started by doing a warm-up trek of 11 km with my 5 yr old daughter at Indradaha in outskirts of Kathmandu situated at 2000 mtrs. After collecting my TIMS card and permit for Trek I took a thrilling  ride on a turboprop plane from Kathmandu to Lukla airport having just 500 mtrs of airstrip for landing on mountain-side. Started the trek of 6km to Phakding on the same day. On day two, i had to make my way to the well-known Namche Bazaar, one of the biggest rest areas and full of markets, restaurants, and cafes – but reaching this haven at 3,440 metres requires extreme effort. It involved 13 km and six hours of high climbing and steep steps through rhododendron forest, elegant waterfalls, crossing rivers via long, swaying suspension bridges. H…

Google+ Followers