Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Sep 04, 2009 06:18 PM|LINK
I'll start off by saying I'm a bit of a noob with ASP.NET I do know a bit of vb from the old days though.
Using Visual Web Developer 2008 express I've written a dll in vb.net that interfaces with another COM dll called CybersourceWSLib
In my class, called cybersource I interact with a few of the Interfaces inside the CybersourceWSLib COM dll.
My problem is that when I attempt to use one of the properties of the interface from my web page like so:
Partial Class registration
Private Shared oCyb As New Cybersource.cyber1.cyb
oCyb.EnableLog = "0"
"System.NullReferenceException: Object reference not set to an instance of an object."
I've declared the interfaces inside the dll but I'm guessing they are not initailized??? I dunno
Here is where I declare them in the class inside my vb.net dll
Private Shared oClient As CyberSourceWSLib.IClient
My web page access the properties in my dll through :
Public Shared Property LogDirectory() As String
Set(ByVal value As String)
objMerchConfig.LogDirectory = value
That is when I get the error.
What do I need to do to make this work.