31/01/2013

How to create help file in VB.net code for beginners?


Help files are also play very important part in success and smooth working of software. Once a software is developed and send to the user for use, it is responsibility of developer to train the user about “ How to use the software” and also provide a help facility to user, if he trucked he can take help from the help file and run the software smoothly. Once you have developed a software then you have to write a detailed help file. Creating a help file in VB.Net is very easy. How to create a help file in VB.Net is very simple. Just follow the following steps:

·         Create a Ms-Office file and details about your software keeping in mind what are the problems an user can face in the course of using your software and what will be the solutions for that problems which will arise while using. Once you created a word file just while saving just select save type as htm or html from dropdown list and save your ms word file.

28/01/2013

How to make the MS-Access database password protected?


Freelance programmer like me always use MS-Access database while creating database software. Why we use MS-Access because it is easily and freely available with all the computers which are having MS-Word software because MS-Access comes free with MS-Word software package. So if you are using MS-Access as you database then it is very important to make you database password protected otherwise anyone can see or modify you data. For data security point of view all the database must be secured.

24/01/2013

How to retrieve mobile number from a SIM? Specially from BSNL SIM.

In the era of online recharge, it is very difficult to get the recharge coupon in market when you are away from your computer and you need to get your mobile easy recharge from local market. The vendor will ask you to tell the mobile number which you need to get recharge,Now days we are so dependent to mobile that we save all the contact number in mobile and whenever we need to dial somebody we go to search contact after searching the name we just press the the dial button every thing completed neither you remembered your friend or near & dears numbers nor your friends or near & dears remembers your numbers, where earlier days when there was no mobiles we have to either use our own land line to make a call or have to go to PCO booth and make call from there.  

20/01/2013

How to Generate Random Number? VB.Net Code

Random Numbers have its own importance in any type of computer programming. It play very important role in video game development or animation creation or for doing some software development for lottery result etc. Therefore in VB.Net also we can generate a random number very easily and can utilize as per our requirement. Place following control on your Windows form
  • List box- to display the random number
  • Command Button to execute the command
And write down following VB.Net code on the click even of Command Button

Private Sub BtnRndGenerator_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnRndGenerator.Click
        Dim Generator As New Random
        Dim myrandm As Integer
        ListBox1.Items.Clear()
        Do
            myrandm = Generator.Next(0, 25)
            ListBox1.Items.Add(myrandm.ToString())

        Loop While myrandm <> 5

For more clarification please see this video.



19/01/2013

How to check BSNL Broadband usage?BSNL Broadband connection and Tarriff

Government of India has taken a pledge to provide BSNL Broadband connection to all the Panchayat in India and in first they have chosen 3000 Panchayat and rest will follow in coming years. BSNL is being a government PSU will be the main service provider for the broad band scheme. BSNL is a leading broadband provider in India and it is providing Broadband on very cheap and attractive tariff and also having very vast range of broad band tariff by keeping the need of  vast categories of users. The BSNL broadband  post paid or prepaid tariff list  and promotional scheme can be seen from BSNL site. And If you have land line telephone connection and want to know " How to get a BSNL broadband connection?"  the BSNL Broad band can be booked by going online 

Once you have taken broadband connection and want to know " How to check BSNL broadband usage ?" that is also very easy just do the following:
  • Just click here to go to the broad band site
  • Click here and fill up the necessary data in the form to create a user id and password.
  • Once User Id and Password is created just visit  http://selfcare.wdc.bsnl.co.in/irj/portal and open your account by entering the user id and password.
  • Then go to My services section on the BSNL page and click on View broad band Usages. and enter the necessary details to see the total usages. and you can also see your previous payment made or payment due.

18/01/2013

How to display all odd numbers from given range of numbers? VB.Net Code

Loop structures allow you to execute one or more lines of code repetitively. VB.Net support the following loop statements:
  • Do.....loop
  • While.....End While
  • For.......Next
So we can use any one of the loop statement given above to find out the odd number  between the given range of numbers. for example, if you want to display all the odd numbers between two given numbers then you can create a Windows forms like this:
The use any one below mentioned code on the click event of the button.
1 .  Private Sub BtnFind_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnFind.Click
        Dim num1, num2 As Integer
        If Val(txtfirst.Text) Mod 2 = 0 Then
            num1 = Val(txtfirst.Text) + 1
        Else
            num1 = Val(txtfirst.Text)
        End If
        num2 = Val(txtlast.Text)
        Do While num1 < num2
            ListBox1.Items.Add(num1)
            num1 = num1 + 2
        Loop
      End Sub
2  .  Dim num1, num2 As Integer
        If Val(txtfirst.Text) Mod 2 = 0 Then
            num1 = Val(txtfirst.Text) + 1
        Else
            num1 = Val(txtfirst.Text)
        End If
        num2 = Val(txtlast.Text)
        Do Until num1 > num2
            ListBox1.Items.Add(num1)
            num1 = num1 + 2
  Loop
3  .  Dim num1, num2 As Integer
        If Val(txtfirst.Text) Mod 2 = 0 Then
            num1 = Val(txtfirst.Text) + 1
        Else
            num1 = Val(txtfirst.Text)
        End If
        num2 = Val(txtlast.Text)
        For num1 = num1 To num2 Step 2
            ListBox1.Items.Add(num1)
           
        Next




10/01/2013

How to file a complain against Police officers? Daman & Diu and Dadra and Nagar Haveli.

        The Administration of Daman & Diu and Dadra and Nagar Haveli after obtaining permission from GOI  Ministry of Home Affairs, has  vide notification No. 1/95/Home/2011-12/418 dated 10 Aug 2011 established a Police Complaint Authority for UT of Daman & Diu and  Dadra and Nagar Haveli.
  
       The authority  will inquire  into allegation of serious misconduct against police personnel on following account either suo moto or on complaints:
  • Custodial death
  • Grievous hurt, as define in section 320 of the penal Code
  • Rape or attempt to rape
  • Arrest or detention without due process of law
  • Extortion
  • Land/House grabbing
  • Any incident involving serious abuse of authority: provided that the authority shall inquire into complain of such arrest or detention, only if it is satisfied prima-facie about the veracity of complaint
  • The authority may also inquire into an other case referred to it by the Administrator/ Central Government.
Therefore if any one having any complaint regarding misdeed and unnecessary harassment by Police can approach the police Complaint Authority of following address;

 Police Complaint Authority
Secretariate, 2nd Floor,
Village Amli
Silvassa:396230
Email Address: pca.dd.dnh@gmail.com
                  pca.dd.dnh@nic.in
Telephone Number: 0260-2630028

05/01/2013

How to create a standalone page in blogspot? How to group all the blog post?

www.Blogger.com is a free blog posting site, where any one can registered himself and write a blog of his choice. When we start our blog, we have very specific target of subject but when blog developed we deviate from our target subject and start writing on various other topics or subjects. so to group the posts topic-wise so that the readers of that particular topic can read your blog post without going here and there. So  how to grouped all the post of a particular topic or subject for that we need to create a label just similar to standalone page. The basic difference between standalone page and  label is that in standalone page we can write a standalone post where in label we can group the entire post of a particular subject. for creating a standalone label we need to follow the following steps.

What & How