com si .net

just a reminder:
E suficient sa prefixezi clasa cu
[ComVisible(true)]
[Guid(“have a new Guid from Guid.NewGuid().ToString()”)]   
public class TheClassThatYouWantVisible

si gata!
In principiu, ar trebui sa mai setezi o interfata – ca sa faci proprietatile/metodele vizibile
Dar te poti folosi de late binding si gata
ceva de genul:
Dim newclass as TheClassThatYouWantVisible
set newclass = TheClassThatYouWantVisible
newclass.Method
chiar daca nu ti-o arata, VB(A) e baiat dragut si ti-o executa …

Leave a Reply

Your email address will not be published. Required fields are marked *