I am trying to evaluate the product, but on compilation I am getting the following “Type Expected” error, on the underlined word object below. All other declarations are fine and I have imported the necessary reference.
Is your code in some namespace? I’m not sure what VB.NET does and I consider it strange. I had similar problems when I have my code in some namespace. If I remove the namespace from the code, it seems to work fine.
For example, the demo code is like this (note there is no namespace declared):