what is used of Property........End Property loop ? how to
write the script for it?



what is used of Property........End Property loop ? how to write the script for it?..

Answer / Soni Rawat

The 'Property' statement in VBScript sets the value or returns the value of a property in an object. The 'End Property' statement signifies the end of a custom property definition. A property procedure contains the code that is executed when the property is accessed (read or written). To create a custom property and write the script for it, follow these steps:n
1. Define the custom property using the 'Property Get' and 'Property Let' statements.
2. Implement the property procedures, which contain the code to retrieve or set the property value.
3. Use the custom property by accessing it like a regular property of an object.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB Script Interview Questions

Which is the default Data types in VBScript?

7 Answers   AppLabs,


Explain the asc function?

1 Answers  


Explain about constants in vb script?

1 Answers  


What purpose does ‘on error resume next’ serves?

1 Answers  


write a vb script to open a text file and write into it

2 Answers  


1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)

1 Answers   iFlex,


Is vbscript a case-sensitive or case-insensitive?

1 Answers  


Which operator can be used to do an xor operation in vbscript?

1 Answers  


explain with example primitive data types of vb script.

1 Answers  


Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.

1 Answers  


What is the difference between VBScript and JavaScript?

1 Answers  


what do you mean .ota mobile format

1 Answers  


Categories