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 223519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T19:13:44+00:00 2026-05-11T19:13:44+00:00

This is a weird one. I am using the ExecWB method to create a

  • 0

This is a weird one. I am using the ExecWB method to create a PrintPreview window. Most of the time the print preview appears correctly. But sometimes it shows a blank page and that is all. Has anyone seen this before? The problem appears to be isolated to IE6. The problem is very hit and miss so it is difficult to determine what is going wrong.

 function onBodyLoad() {
    if (document.getElementById("contentPanel") != null) {
        var editCloseCell = document.getElementById('editCloseCell');
        editCloseCell.style.visibility = "hidden";


        var OLECMDID = 7; // 7 == Print Preview
        var PROMPT = 1; // 2 == DONTPROMPTUSER

        document.getElementById('webBrowser').ExecWB(OLECMDID, PROMPT);
        editCloseCell.style.visibility = "visible";

The ‘webBroswer’ element is an object. The contents of the control seem to be displaying correctly. Could it be that the execWB method is being called before the control is populated??

Any insite on this would be helpful.

Thanks!

  • 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-11T19:13:44+00:00Added an answer on May 11, 2026 at 7:13 pm

    The problem appears to be JQuery.. believe it or not. On the same page where I am using the ExecWB() method I am also including the JQuery library to do some non-related POSTS to my webservice. I tried removing the JQuery from this page and it seems to have fixed the issue. My first thought was that there must be some conflict with the $. So I included the jQuery.noConflicts() and changed my POST method to jQuery.Ajax. The same issue arises. So I reluctantly had to remove my JQuery reference and refactor the Ajax call. IE6 is not cool… not cool at all.

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

Sidebar

Ask A Question

Stats

  • Questions 143k
  • Answers 144k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Open a good text editor (I'd recommend TextMate, but the… May 12, 2026 at 8:33 am
  • Editorial Team
    Editorial Team added an answer SELECT GROUP_CONCAT(CONCAT_WS(' ', col1, col2) SEPARATOR ' ') FROM mytable… May 12, 2026 at 8:33 am
  • Editorial Team
    Editorial Team added an answer No it can't. Emma writes out the result of instrumentation… May 12, 2026 at 8:33 am

Related Questions

I needed a method to give me all but the last item in a
This is kind of a weird question and more of an annoyance than technical
I am working on a project using Drupal 6 (6.11 at the moment, haven't
I have been given the task of adding functionality to an existing IIS 6.0

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.