Pages

Showing posts with label video. Show all posts
Showing posts with label video. Show all posts

Saturday, February 14, 2015

Working With Error Provider in VB Net Video Tutorial

What is Error Provider?

Error provider is a control that alerts the user that something is wrong in his input. Or simply it just helps in validating data entered from user.

In this example, we will see how to display a warning icon when user enter some wrong or unacceptable input.


Working With Error Provider in VB.Net [Video Tutorial]


How to Use Error Provider in VB.Net

1. Simply drag a label & textbox control on your windows application form.

2. Change its Label text to ID or whatever you want.

3. Add a button & change its text to "Submit" on your windows form application.

4. Search for error provider in your toolbar & add it to your windows form application.

5. Double click Submit Button.

6. First we will check if the text in the textbox is numeric or not. If it not numeric then it will throw an exception else display confirmation message.

7. So the code to check if input is numeric is not is:

If Not IsNumeric(Me.Textbox1.Text) Then
Me.Errorprovider1.SetError (Me.Textbox1,"Enter Numeric Input")
Return
Else
MsgBox("Accepted")
End If

8. Now, we will check for Null Values. Code to check Null Values is:

If Not IsNothing(Me.Textbox1.Text) Then
Me.Errorprovider1.SetError (Me.Textbox1,"Please enter some values")
Return
Else
MsgBox("Accepted")
End If
Read more »

Tuesday, February 10, 2015

Remove WaterMark from Video LightBox 2 5 and latest version



Hi Users, Today Im telling you the way to remove watermark from video light box in any version. Dont take tension that how to remove it. Take it easy and you can also remove water mark from video lightbox....!

1. Download and Install Video Lightbox from here: Download

2. After installing create your project and publish it and you can see the water mark like this:


3. After publishing go to your publish project folder and find "videolightbox.js" which is locate at "your publish project folder/index_videolb" and open it with notepad.

4. Open "videolightbox.js" with notepad and press Ctrl+F search for "display" after searching change the code of "block" to "none" and save it by pressing Ctrl+S. After saving open your project and watermark have been gone.




5. Congratulation you have successfully remove the watermark.
6. Enjoy and i hope you have like it.........!

Read more »