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


Write a Review


Computer Engineering Questions & Answers

  Explain the design for the memory subsystem

Explain the design for the memory subsystem

  How to create a set in third normal

How to create a set in third normal RESERVATION(reservation id, date of reservation, start date, end date, (( customer id, customer name, customer address, customer type, customer type description, ((customer preferences)), customer credit card n..

  Writing program for rectangle

Write down a program that asks for the length L and the width W of a rectangle, then compute the perimeter and area of the rectangle. Perimeter = (length + width) * 2

  Writing into file utilizing fileinputstream

Write down an application utilizing the FileInputStream which opens a file which consists of the name of user's favourite book and then show it to the user.

  Write down the normalized entities in the correct format

Write down the normalized entities in the correct format.

  The hard drive will the original query take

suppose (somewhat artificially) that RAM can hold 200 rows and devotes half of that to reading one table and half to reading the other table and has "other places" to store the subquery/query results.

  Producing the random permutation

Write down a program which generates ten random permutations of numbers 1 to 10. To produce a random permutation, you require filling the vector with numbers 1 to 10 so that no two entries of vector have the same contents.

  How to write a class named dayofyear that gets an integer

How to write a class named DayOfYear that gets an integer Day 2 would be January 2 Day 32 would be February 1 Day 365 would be December 31

  Give an example of an anomaly that is solved

Why are non-database approaches to data management impractical? How does the database solve these problems? Provide a specific example of an anomaly that is solved by a database.

  Reading numbers using array

Read in five numbers. Since each number is read, show it only if it is not the duplicate of number that has already been read (that is, it is unique).

  Using the models in system design

In the System Analysis and Design: Models are used extensively in the wide variety of the technical occupations beyond the information technology.

  How office applications installed on a computer

List the common interface features seen in this applications versions of each of the office applications installed on a computer.

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