
Search In
We can convert the string to an int by using following methods:
1. Convert class
2. Parse method
3. TryParse method
4. A custom method
1.Convert class
This method is used to convert one datatype to another datatype.
Convert class contains
Over the last decade, Google has become synonyms to search engine. I guess, every person, who has a computer with working internet connection, must have used Google for day-to-day activities. If you are going to calculate the price of informati
Changing Permissions At Command Prompt
This is accomplished by using the "chmod" command. The chmod is followed by a 3 digit number used to indicate the permissions required. The first 3 digit indicated the owner's permission,
As we know that we can't change the place holder color of the Text Fields but sometimes if we need to change it then we can do it by using following code.
UIColor *color = [UIColor grayColor];
self.myTextField.attributedPlaceholder = [[NSAttrib
Hello readers,
This post is about cordova insomnia plugin. Which prevent the mobile screen from turn down and locking while user is not touching the screen.
This feature used in applications when we read a lengthy document or watching a video in ap
We can use browsernizer gem to restrict an application to open on old version of browsers or we can notify user to upgrade browser.
Add gem to Gemfile
gem 'browsernizer'
Run
bundel install
rails generate browsernizer:install
This will be crea
When we migrate the code from odoo7 to odoo 8 or 9 then we change only few import classes and some specifics field, rest will remain same, this will helps to migrate code successfully.
In below example I have written Python script to Include
If you want to generate the barcode for product in openERP .Then you will need the following kind of python code declaration in your .py file and run in Odoo server.
from openerp.osv import fields, orm
from openerp.tools.translate import _
def i
When we present the viewcontroller it slides from bottom to top but, if we want to change the slide position then we have to use the animation for the UIView. By using animation we just change the frames of UIView.
If we want to present the co
Hello Reader,
In Visual Studio, while you are working on a project. Many files i.e. source files and visual studio generated files etc are present in the directory of project on your machine. If you want to use source control, there is always
