2
I have a dll that I want to consume, developed in c#, and I want to upload this dll to VB6. How can I do this? What steps should I follow?
Inside the VB6 code below you already have a call to this dll:
Dim mail As New MamMail
Body = Replace(Body, vbCrLf, "</BR>")
mail.SendMail smtpServer, smtpPort, smtpSsl, userName, Password, fromAddress, toAddress, cc, Subject, Body
Set mail = Nothing
Exit Sub
But when I compile in vb6 I get: compile error.User defined type not defined
.
Here’s a step by step: http://answall.com/questions/47254/com-interop-com-client-e-server/47328#47328
– rubStackOverflow