Information générale
Catégorie:
Applications Internet
>>
>Jerry
>Are you passing y to the dll or getting y from the dll?
>If you are trying to get mymethod to execute then it should be just ox.mymethod.
>
>Maybe I'm not following...
>
>Jeff
Jeff,
Thanks for your response. I could pass something to mymethod but I'm not in this example and I have tried it without the quotes.
Basically, my ASP blows up on the CREATEOBJECT("myproject.myclass").
However, from I try this from VFP3,5 and VB5 and it works fine. What could I be missing.
Also, from Visual Interdev, I try this and then view the page in Interdev's viewer and the values are returned alright. The page works inside of Interdev. It just doesn't work when I copy that same code into a ASP page and run it. And I have named my ASP file many different names.
I'm using IIS3 on NT4 Server with IE4.
Basically, shouldn't this work as is? I must be missing something.
Thanks,
Jerry
>>Here is what my ASP looks like. I left the brackets out.
>>***Test.asp.
>>SCRIPT LANGUAGE=vbscript runat=server
>>set ox = createobject("myproject.myclass")
>>y = ox.myproperty
>>z = ox.mymethod
>>SCRIPT
>>***
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement