what is Option Implicit

Answers were Sorted based on User's Feedback



what is Option Implicit..

Answer / anna

Option Explicit has 2 values ON and OFF
deafult value is ON
-Option Explicit means - All the variables should be
declared before its use.
Else it shows error..it is a good practice to use this..

Is This Answer Correct ?    15 Yes 2 No

what is Option Implicit..

Answer / rupa

Option Explicit means - All the variables should be
declared before its use.
Else it shows error

Is This Answer Correct ?    11 Yes 0 No

what is Option Implicit..

Answer / dinesh

can i able to change my vb6 form style

Is This Answer Correct ?    4 Yes 0 No

what is Option Implicit..

Answer / prashant verma

it should be noted that implicit declaration is by default
you can change implicit deceleration to explicit deceleration
by typing "option explicit"
bt vice verse is not true
ie.. you cannot write "option implicit" in the code
it will raise error

Is This Answer Correct ?    4 Yes 0 No

what is Option Implicit..

Answer / senthilg

Instance of specific copy of a class with its own settings
for the properties defined in that class. Note: The
implicity defined variable is never equal to nothing.

Is This Answer Correct ?    4 Yes 1 No

what is Option Implicit..

Answer / dhanasekar

Option Explicit is set to On, to declare the variable
compulsarily.
if u set it to off, the user who is going to read your
coding won't find it easy to know what type of variable it
stores. i.e int, float, string, var, etc.,

Is This Answer Correct ?    5 Yes 2 No

what is Option Implicit..

Answer / shital

option explicit means declare variable name before use it,
if we not give variable name that can show error .

Is This Answer Correct ?    4 Yes 1 No

what is Option Implicit..

Answer / prashant verma

suppose we have declare X as a character.
now if we use x instead of X(capital letter) accidentally
then vb will not raise any error because x get declared as
variant(a default data type) implicitly
option implicit is used for that
bt if we want vb not to declare implicitly then we use
Option explicit
ie.. the vb will raise error

Is This Answer Correct ?    3 Yes 0 No

what is Option Implicit..

Answer / arka

Option Explicit On
-> x=X+1 'error

Option Explicit Off
-> x=X+1 'no error


option explicit off = option implicit (don't need to write that)

Is This Answer Correct ?    3 Yes 1 No

what is Option Implicit..

Answer / narendra chauhan

Variable declaretion is not required before use.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Visual Basic Interview Questions

How do I make an animated icon for my program?

0 Answers  


How to find size of the file. Which method or function is used to occomplish this?

1 Answers  


What is view Port?

1 Answers  


List out controls which does not have events?

1 Answers  


1.What are the Feactures visual data manager 2.Short note on visual data manager 3.What is data control,its work,properties,methods 4.Needs for OLEDB in vb 5.LIst steps involved in generating christal report 6.What is a recordset 7.Diffrence between RDO and ADO 8.What is an Activex control 9.Advantages of ADO over data control 10.Diffrence between model and modeless form 11.What is the significance of debug window 12.Diffrence between single document and multiple document 13.Explain data report

0 Answers   Microsoft,






Explain Get, Let, Set Properties?

5 Answers  


List out controls which does not have events ?

1 Answers  


How would you find out the value property in Slider Bar Control?

1 Answers  


1s it posible to Create Tables Through Querydef?

0 Answers  


How do I get the Tab key to be treated like a normal character?

0 Answers  


What is Centralization Error Handling?

1 Answers  


How would you find out the value property in Slider Bar Control?

0 Answers  


Categories