simple question

Results 1 to 2 of 2

Thread: simple question

  1. #1
    Join Date
    Dec 1969

    Default simple question

    there are two ways to create object.<BR><BR>&#060;object id="..." classid=" "&#062;<BR>&#060;param&#062;&#060;/param&#062;<BR>.<BR>.<BR>&#060;/object&#062;<BR><BR>or<BR>set somename=server.createobject("projectname.class")< BR><BR>my question is if i want to take instance of calender or DTpicker<BR>or any vbcomponent,how to find "projectname.class". How to <BR>find its methods & properties.<BR><BR>Thanks,<BR>Anita<BR><BR>

  2. #2
    Ravi Kanth S Guest

    Default RE: simple question

    You have to register Your component on the webserver(eg. if it is WinNT then with regedit32), any how You are using VB just create Your dll by clicking make projectname.dll from project menu. After that if You are Using editor like Visual Interdev(Hope You are..) You simply create the instance with Server.CreateObject... if You are editing on the webserver itself then after creating the instance if you type your componane variablename (somename ) and a dot(.) it automatically shows the methods and properties in the auto list...<BR><BR>try it<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts