vb.net - Classic ASP Type Mismatch using .NET DLL -


I have a problem trying to access the data drawn from VB.NET DLL as an array.

The DLL is properly registered and is working on the web server which serves asap classic pages.

I have tested DLL using a vb6 program and I hope that data will be retrieved. Here is the code that I used for it Dim CommItems commItems = c.GetCommTypes I = Ubound for commItems (commItems) Me.Label2.Capttion = "Item:" & amp; ; Cometized (I). "-" & amp; ComTap name doiventes sleep (1000) Next

The error message I am getting is, when it is trying to do the same thing then the asp clicic

  

Here is my ASP code

  The slow core set core = Server. ("Advantage.Dealer.Email.CoreClassLibrary.CoreClass") Dim CommItems commItems = Core.GetCommTypes I = Ubound (commItems) for LBound (commItems) Response Write commItems (i) .comTypeID next   

I'm not sure what I'm doing, but if I run this code

  slow core Set core = server Createbase ("Advantage.Dealer.Email.CoreClassLibrary.CoreClass") for slow commItems commItems = Core.GetCommTypes i = LBound (commItems) for UBound (commItems) feedback. Type I   

get me

  0123   

So something is working, but how do I do it Fan

Please note that it should return 4 rows of data

& lt; InsiderKnowledge & gt;

COM interfaces are not declared in the Advantage.Dealer.Email.ModelClassLibrary.Commype class.

This does not match your VB6 client successfully with the ability to consume your properties

& lt; / InsiderKnowledge & gt; Have you modified your assembly / assemblies while executing your VB6 and VB script tests?

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -