25/05/2013

How to deal with error" invalid argument = value of 0 is not valid for selectedindex" ?

In the process of developing a code for my one of form I come on cross with this error, which wasted my lost of precious time and energy. I  did lots of experiments to sort out this error but not succeeded, even I googled it but  all in vain . 
Then my sixth sense told me that have I added any data in database to show it through combobox, when I checked, I found there is no data in that column which is attached with combobox, so I added some data in that particular column and my error got vanished and my code start working perfectly. So if you got error like " invalid argument = value of 0 is not valid for selectedindex"  first thing you should do is to check your database for data and  if there is no data in that particular column with is linked with your combobox  because this error only generate when combobox is not getting any data from database and you are setting value for selectedindex for combobox control.

08/05/2013

How to add memo type data in MS Access database? VB.Net Code for beginners

For last one week I was also in search for the way to add memo type data in MS Access database. And I got success after so many Google . I got the solution  for my problem, the solution was, I just made following changed in my database and my problem was solved. The changes which I made in my database was . I just changed my Memo filed general property :
Field Name:      -        Event
Data type          -        Memo
Required           -        Yes
AllowZeroLength  -     Yes
 after importing and inheriting following code in very begning of form code
     Imports System.Data.OleDb
     Inherits System.Windows.Forms.Form




The detail code which I use in My form can be downloaded from here


06/05/2013

How to recover unintentionally deleted data from memory card or from your computer's hard disk?


Many times we try to do something else or try to save our data but by mistakenly it got deleted. or there are many mistake which we unintentionally commit  and get our data deleted.  There are some instance where one delete his data unintentionally and when he realizes his mistake then run from one site to another to get some tips to recover the deleted data. so now I am going to tell you one software which is quite cheap and  will provide best reply for all your questions like:.

  • How to recover data from Mistakenly format or reformatted  hard disk of memory card?
  • How to recover data from recycle bin data which mistakenly  empty?
  • How to recover data which was deleted due to virus infection ?
  • How to recover data from mistakenly  pressed factory reset  button.
Reply for all the such question is only one software click here to know more.