• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Creating a WSC Component

The first step in creating a WSC component is, of course, deciding what you want your object to do. You should spend some time thinking about what its properties should be and what its methods should do. You may even have some script programs already written that do most of the work that the object will be doing. Once you've made your design, the next step is to create the WSC file that will contain your object's property and method definitions, and the script program itself.

Setting up even a simple WSC object is pretty tricky; there's a lot to type, every tag has to have its proper end mark or end tag, and every i has to be dotted and t crossed. Thankfully, Microsoft has a wizard program that gives you correctly formatted WSC files for your objects; all you have to do is fill in the program steps for the methods and procedures.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint