Hello,

I am sure this has been done but help any way I have this

Set OutProg = CreateObject("outlook.application") 'open out look
Set OutM = OutProg.CreateItem(olMailItem) ' create a mail
With OutM 'send the fax
.subject = "I am trying"
.To = "@blah Blah"
.body = "This is the latest information on these most due
patients"
.Importance = Outlook.OlImportance.olImportanceNormal
.Display
.Send
End With

This works fine Can I write the same thing for faxing instead instead of the outlook email.

I have vista Ultimate with a LAN-Fax which works.

Thanks in advance and if there is a better way to fix it so it works even
better will be appreciated

With system internal tools we found out that this might come from the
cryptnet.dll.
Any ideas?


This is the VB.net code:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs

...
bla()
...

End Sub


...
Sub bla()
Dim myOlApp As Microsoft.Office.Interop.Outlook.Application
Dim myNamespace As Microsoft.Office.Interop.Outlook.NameSpace
myOlApp = New Microsoft.Office.Interop.Outlook.Application
myNamespace = myOlApp.GetNamespace("MAPI")
End Sub