We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Network and VS 2010 problem

I have created a project in VS 2010, added my reference to Aspose.Network 6.7.0.0. I'm getting strange debug problems. Consider this code:

Module

Module1

Sub Main()

Dim a As Integer = 10

   </code></p><p><code>Stop ' goto immediate window and do ? a
    </code></p><p><code>' you expect to get 10
</code></p><p><code>End Sub

End Module

That all works as you expect. Now add a line so that the code looks like:

Module

Module1

Sub Main()

Dim a As Integer = 10

Dim lic As Aspose.Network.License

   </code><p><code>Stop ' goto immediate window and do ? a</code><p><code></code><code>' you expect to get 10</code><p><code>End Sub</code><p><code>End Module

You get the error 'a' is not declared. It may be inaccessible due to its protection level

What gives?

Doing the same thing in VS 2008 works fine. I’ve tried this on another machine running VS 2010.

Hi,

Thank you for inquiry.

We will check at our end and look into it.

Repaired Visual Studio and re-applied Service Pack 1 resolved the problem.

Thanks for assistance.