hi ive an activex made in vb6. Am new to .net and attempting to use it in vb2008. i made a reference to it and added the following code to my form_load
Code:
but when the form loads it gives the error,Code:Dim mycon As New Axpass.Axiepass TextBox1.Text = mycon.GetIE()
i also tried to add it as a control and call the method but it returns "" as the result, though the same method if called from a vb program works fine.. plz help and guide me..Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown.


Reply With Quote