I've refferenced a VB6 OCX and I'm calling it with this code:
Partial Public Class _Default
Protected WithEvents litOne As System.Web.UI.WebControls.Literal
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim SABRE As ORDSABRE_Host.Host
SABRE = New ORDSABRE_Host.Host
Dim varResponse As Array
Dim X As Integer
SABRE.Area = ""
SABRE.ID = ""
SABRE.Suffix = "."
SABRE.Password = "SEP2008"
varResponse = SABRE.Send("RES", "G*46", True)
For X = 1 To CInt(varResponse(0))
I can dim the object and see its methods and properties but it asks me to set the object. When I set the object I get the 'Friend' Error. Whats up.