Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 558671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:09:24+00:00 2026-05-13T12:09:24+00:00

I know how to open an Internet explorer from within an VBA application. But

  • 0

I know how to open an Internet explorer from within an VBA application. But how to I get “return” values from the running explorer to the VBA application. E.g let us assume I try to access
http://page_not_there
and got back an Error 400

How can I get this value in my VBA Application and act accordingly. Any hints or links or programming examples would be very welcome

Of fine editing is possible. So the order is:
Information is send, and i get back an HTML string which can be used from within IE to sign a document. Of course for that one has to click a bit around in IE but at the end I get a sort of “feedback” if signing was successfull and I need this “feedback” to know if I can proceed.

I’ve close my windows boxes so take his with some caution. I start IE like this

set ie = CreateObject("InternetExplorer.Application")
ie.navigate2 "to_where_I_want"

That’s all.

I then get a page where a Java applet is running for signing the URL choosen
above (“to_where_I_want”) I have few buttons there and after hitting on signing I have to type in my PIN and then I’M interested in the output of the IE Explorer.

As I understand you post I better create a form with a Web control and use this for browsing and Signing

Regards
Friedrich

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:09:24+00:00Added an answer on May 13, 2026 at 12:09 pm

    Here are some notes on one way to get the status of a page.

       Dim http As Object
       Dim xmlhttp As Object
    
           Set http = CreateObject("MSXML2.ServerXMLHTTP.4.0")
           Set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
    
           On Error Resume Next
    
           xmlhttp.Open "GET", url, False
           ''This alternative can return status 405 in some cases
           ''xmlhttp.Open "HEAD", url, False
           xmlhttp.Send ""
    
           ''You can get the status of the page
           Status = xmlhttp.Status
    
           If Err.Number <> 0 Or Status <> 200 Then
               IsLink = False
           Else
               IsLink = True
           End If
    
           Set xmlhttp = Nothing
    

    EDIT: Some Notes re Comments

    Assuming that there is a form called WBForm with a control called WB, which is a Microsoft Web Browser control:

     ''Navigate to a non-existent page 
     Forms!WBForm!WB.Navigate "http://lessthandot.com/somepage.htm"
     ''Title of the page
     MsgBox Forms!WBForm!WB.Document.Title
    

    The title will contain “HTTP 404 Not Found” in the case above. The document can also be read using the various elements.

    The document object model
    Scripting with Elements and Collections

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

They seem to open in an internet explorer type window, does anyone know: How
I have a web application that has been running just fine in Internet Explorer
I know there is built-in Internet explorer, but what I'm looking for is to
I know how to open an URL from app in Safari using [[UIApplication sharedApplication]
I just want to know how to open webCam in Js but i don't
i'm using the following code to open site in internet explorer ProcessStartInfo startInfo =
I am experiencing a very strange problem with Internet Explorer 7. When I open
I embed the default Internet Explorer in my win32-C Application via COM/OLE. I display
I need to open a webpage using Internet Explorer even if it is not
I know that the <video> tag doesn't work well in Internet Explorer 8, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.