Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User-defined interfaces

Status
Not open for further replies.

sherlock1305

Programmer
Jul 10, 2001
21
0
0
CA
Hi,

first, sorry for my bad english, I'm from Quebec, CANADA and my first language is french!

So, my question is...I want to make a user-defined interface(I'll name this one IClass) to my original class(I'll name this one MyClass)...The question is, what's the setting for the instancing property of MyClass and IClass and when I use CreateObject in my Web Page, I use MyClass or IClass???

Thanks a lot!

Sherlock, programmer
 
In fact, I found that instancing IClass and MyClass MultiUse is ok...and when I call my component like that...

Code:
Private Sub Command1_Click()
 Dim x As MyProject.IClass
 Set x = CreateObject("MyProject.MyClass")
 x.Execute
End Sub

...from an EXE, it works!
But now, my question is "How to call it from my ASP page?"

Thanks a lot!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top