Define the limitations of vb-script

Assignment Help Computer Engineering
Reference no: EM1333052

Make a class called student where the properties are name, age, and school.

A. Develop a Contact Manager application that includes at least five of your friends or classmates.

B. Try inserting correct and incorrect dates into the application when age is a public variable. Switch age to a private variable and try inserting both correct and incorrect dates again. What differences do you see? Would you make age a private or a public variable? Why?

Use Visual InterDev as an editing tool to create the application. Visual InterDev is available as part of the MSDN.

Help & Directions

Thinking OOP - Object Oriented Programming

OOP is not about programming as much as it is about thinking in a specific way. When you think of an object, you should see it as a set of properties and methods. Properties are the data, and methods are what you do to the data.
What is empowering about OOP is that once you have made a class, the specific instances of that class can be customized to create an object. Your text suggests that you think of a class as a template or pattern, and that you think of an object as what you actually build or make with the template.

Some Advice: There are a lot of fancy terms used in this chapter like class, method, object, variable, etc. I sometimes find it easier to sketch out the words or create a little cheat sheet for myself when learning new terms. This could be done in a traditional manner with a glossary or as a diagram where the words are grouped and relationships are drawn in.

In order to make a class, you use the class-end class syntax that appears as follows:

Class classnamehere
'Class statements
End Class

This is all it takes to make a simple class. However, there are properties of the class that you have to consider when making the class. An unlimited number of properties can be part of the class.

When setting the properties of the class, you can set the scope of the data as either private or public. By creating encapsulated code, you can control what information in your script is available to the outside world to see.

As you can see, creating and defining class gives you a powerful way to create and exchange information using ASP and vb-script. However, there are limitations to what you can accomplish using vb-script.

When you hit the limitations of vb-script, there are two ways around it.

One is to create custom classes using either VB or C++.
The other is to take advantage of the add-on objects known as ActiveX Components that reside in the ActiveX DLLs and ActiveX EXE object libraries. You can use these components to extend the functionality of vb-script.

These components contain some of the most common things that a web developer would want to create on a web site ... things such as having an advertisement rotator, or a page counter, or even a logging utility. All you need to do is install the components and register in the server's Windows NT registry.

Reference no: EM1333052

Questions Cloud

Emerging issues which are critical for hr : Explain What are five emerging issues you think are critical for HR and a company to address and How does HR assess these issues when they are in flux
Find out the utility with full insurance for the treatment : Find out the utility with full insurance for the treatment also how much would the individual be willing to pay to obtain such insurance than the fair premium.
Overall evaluation of the medium twitter : A summary of your experiences and your overall evaluation of the medium "Twitter".
Decision making process in business organizations : What is the decision making process or processes in business organizations?
Define the limitations of vb-script : OOP is not about programming as much as it is about thinking in a specific way. When you think of an object, you should see it as a set of properties and processes. Properties are the data, and methods are what you do to the data.
Discussing basic elements of 4th amendment search : You are part of an investigative unit that has been monitoring a drug operation. You know that in the near future, your group will need to search the house and car of the person who has been a key figure in the operation.
To finance this subsidy every pair of stilts purchased : To finance this subsidy every pair of stilts purchased by someone who is tall is taxed at a rate of T percent.
Metrics and measurement in the strategy process : Discuss the role of metrics and measurement in the strategy process?
Cost behavior important in managerial decision making : What do managerial accountants mean when they speak of cost behavior? Why is it important in managerial decision making?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Why some companies may avoid beta releases

Cross (2007) discusses the benefits for a software company to release beta versions instead of final versions of products. What is Cross's reasoning? Do you agree with it? Explain why some companies may avoid beta releases from software companies.

  Developing the constants

You will require to set up the constants within your program for the following: number of square feet per square yard (9), inches per foot (12), price per square yard of saxony carpet (15.62).

  Consider an adt called squarematrix

Consider an ADT called 'SquareMatrix'

  Flow chart in modular approach

Design an algorithm in order to prepare a daily hotel charge report. Input comprises of the series of records that consists of the room number, the customer name, cost of room.

  What is the output of the statements

What is the output of the following statements. assume a and b are int variables.

  Write down a not so bad cardiac simulator

The user has to be prompted to type in a 3 digit number, and then the program should print to the screen whatever the CARDIAC Instruction Decoder box would show had that been the instruction.

  Generate and show all power-of-two numbers

show an arbitrary user-input integer.generate and display all power-of-two numbers in the range +128 to -128.

  Determined through default conventions

An advantage of dynamic scoping is that access to nonlocal variables is considerably faster than accesses to nonlocals when static scoping is used.

  What is the history of osi model and benefits

Why you will recommend either asymmetric key encryption, symmetric key encryption, or no encryption at all for the Email correspondence.

  Is it right that rbac functionality is complicated

Is it right that RBAC functionality is complicated

  Program to calculate salary of family members

Suppose that your family has 10 members. Suppose further that every family member has the particular amount of the savings. Your task is to find: The total amount of savings that the family has, as a whole and To find who has the largest savings.

  Designing an e-r diagram

Assume that at PVF, every product (explained by Product No., Description, and Cost) is composed of at least three elements (explained by Component No., Description, and Unit of Measure). Design an E-R diagram for this situation.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd