Using NetworkCredential

I am trying to integrate some new software with our existing Lotus Notes system, but am having a bit of trouble with one line that just does not compile:Set DefaultCredentials = New NetworkCredential(UserName, Password)

When I try to save, I get `Class or type name not found’ for NetworkCredential. As far as I can tell, I have the .NET Framework installed and set up correctly on my machine, and I believe that line should be correct. Are there any steps required that I may have forgotten?

Subject: Using NetworkCredential…

It’s not very clear for me.

In which development environment are you ? Notes Designer or .Net ?

Where does the “network credential” class come from ?

As far as I know, it’s not a Notes native class, so if you use this code in the notes designer, it’s quite normal you get this error.

If your in the .Net development environment, I will not be able to help you further, as I don’t have any knowledge of .Net. :wink:

Renaud