'Option Strict On disallows late binding' problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John

    'Option Strict On disallows late binding' problem

    Hi

    I am trying to create a Microsoft.XMLHT TP object via below code;

    Dim oHttpPost As Object
    oHttpPost = CreateObject("M icrosoft.XMLHTT P")
    oHttpPost.Open( "POST", "www.myurl.com" , False)

    The problem is that I am getting an error on the statement oHttpPost.Open.
    What type of variable do I need to declare oHttpPost as?

    Thanks

    Regards


Working...