In addition to the VB code, there are a few property settings that are also critical in making CalcPad work. Each number key and operation key (except Clear and Clear Entry) have the Tag property set to a value used in conditional logic in the code. We'll deal with these later.
The first task in re-creating CalcPad is to open a new project in Visual Studio using the ASP.NET Web Application template. We did a trial run application in the previous lesson and this should work exactly the same way. It's a good idea to change the default name to something that will work for you later.
Ordinarily, we would add components directly to the form but in this case, we want to create a Web User Control. From the Project menu, select Add Web User Control. You might want to give your control a meaningful name at this point. A new "name.ascx" window will open for your use in building your control now. The file identifier ".ascx" means that it's a Web User Control. This new window warns you that components can't be placed in specific locations as easily since we're building a component that can be placed in other web pages. The illustration shows you what you should be seeing in Visual Studio.


