How do I use components implemented...

Results 1 to 2 of 2

Thread: How do I use components implemented...

  1. #1
    Join Date
    Dec 1969

    Default How do I use components implemented...

    I am having a VB component(cEmployee) which uses the &#039;Implements&#039; keyword. Thus when I look at the signature of these components the functions have &#039;Private&#039; access specifier.<BR>For example<BR>----------<BR>Implements IEmployee<BR><BR>Private Function IEmployee_GetSalary() as Single<BR> IEmployee_GetSalary=456.89*89<BR>End Function<BR><BR>-----------<BR><BR>How do I provide invoke the function GetSalary() from ASP?<BR><BR>Thanks in advance,<BR>Siva<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default Im not 100% clear about this

    BUT, if your Private Function IEmployee_GetSalary() is in an external VB component, you are opening up a can of worms.<BR><BR>1) you cant get private info from a Component<BR>2) you probably shouldnt make it a public function<BR>3) you gotta do lets... if you dont know what this means, i can email you a sample VB component... its a Dll, but youll get the idea.

Posting Permissions

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