I have a dll that I wrote for reference in my project. I have registered the dll. I have created a reference to it from within my project. However, when I compile my project I get "User defined type not defined" at the statement:
Dim var As dllname.class. To me this means that the project is not recognizing or seeing the dll even though it's referenced. Can anyone think of a reason the project doesn't recognize my dll? Thanks in advance for your help.

May 24th, 2013, 04:12 PM

dglienna

Re: dll not being recognized

How about AS New dllname.class

otherwise, if you used POINTERS it won't work.

May 24th, 2013, 04:50 PM

docjump

Re: dll not being recognized

I have used this:

Dim var AS dllname.classname and Set var = New dllname.class name.

This isn't correct?

Thanks for your response.

May 24th, 2013, 06:47 PM

dglienna

Re: dll not being recognized

Dim var AS NEW dllname.classname

May 24th, 2013, 07:29 PM

docjump

Re: dll not being recognized

Thanks for the tip, but the result was the same error, i.e., "User defined type not defined".