Dynamic message with Alert popup window?

I'm using the simplest form of Alert popup window. Is there a way I can put a dynamic alert message in the window? For example,
the Alert shows the "XYZ" at beginning, and then change to "ABC" by an event before the OK button is clicked.

First you need to create a refernce to the Alert window.
alert  = Alert.show("Hello");
To change the text
alert.mx_internal::alertForm.mx_internal::textField.text = "New Text";
( had to use mx_internals because the following code is not updating the text alert.text = "New text"; )

Similar Messages

  • Internet Explorer message "refer to popup window"

    Hi everyone,
    Value some help please. When visiting my work's website with Internet Explorer on a new Lumia 625, the message "refer to popup window" appears after I log in. Unfortunately, unlike using a desktop or laptop, no new tab appears. A new tab does appear when I log on with an Android device, so I know it is possible for a mobile phone. Grateful in advance for ideas.
    Andrew

    Hi Andrew29,
    Welcome to Nokia Support Discussions.
    You can try changing the website preference from the mobile version to desktop version under settings> swipe left to applications and select Internet Explorer. Also, try downloading another web browser from the Store and see if it works.

  • Just downloaded Foxmarks new version (3.7.8) it freezes Firefox 3.6.6 with a popup window error notification - something about NoScript

    Just updated Foxmarks to the latest version (3.7.8). I'm running Firefox 3.6.6. It freezes Firefox with a popup window notifying me of some error with NoScript, I can't do anything except close Firefox with Windows (service pack 3) alt-ctrl-del

    http://forums.informaction.com/viewtopic.php?p=19671#p19671
    http://getsatisfaction.com/foxmarks/topics/update_3_7_8_breaks_xmarks_with_firefox_3_win7

  • Retaining BSP page chages with Javascript popup window

    Hi Experts
    We are using a customized BSP application for our performance
    Management. To propmt users for saving their appraisal documents
    before a session timeout,we used an Javascript popup message(alert
    window). This window doesnot affect the BSP page in any way.(code
    provided below)
    Per changed requirement,we now have to retain the BSP page values once
    the user clicks 'OK' on this javascript popup window. I used the page
    refresh option with script. But this is erasing the earlier values.
    Can anyone tell me,how i can holdback the BSP page values after the
    user action on the popup window. If a piece of code is provided,it
    would be greatly appreciated.
    Thanks in Advance
    Alan
    Existing code for timeout popup
    javascript code
    function remind (){
    var msg = "Your Session will expire in the next 10 minutes. Please
    save your data.";
    alert the msg(using alert box)
    <%
    data: v_rem type string.
    DATA: port TYPE STRING.
    data: l_timer type string.
    port = request->get_header_field(
    if_http_header_fields_sap=>server_port ).
    DATA: services TYPE TABLE OF ICM_SINFO.
    CALL FUNCTION 'ICM_GET_INFO' TABLES SERVLIST = services.
    FIELD-SYMBOLS: <service> TYPE ICM_SINFO.
    DATA: wait TYPE STRING.
    READ TABLE services ASSIGNING <service> WITH KEY service = port.
    wait = <service>-KEEPALIVE - 10.
    CONDENSE wait.
    ****Start Changes: Timeout
    **l_timer = wait * 60 * 1000.
    l_timer = 1 * 60 * 1000.
    ****End Changes
    concatenate `'remind(` wait `)',` l_timer into v_rem.
    %>
    <htmlb:content design = "DESIGN2002+DESIGN2003"
    sessionManagement = "TRUE"
    controlRendering = "SAP">
    <htmlb:page title = "<%= otr(ZPMDGL/TITLE_DOCUMENT) %>"
    disableBackspaceNavigation = "TRUE" onLoad pass v_rem as a parameter to setTimeout

    duplicate post locked.
    Raja

  • Retaining BSP Page values with Javascript popup window

    Hi Experts
    We are using a customized BSP application for our performance
    Management. To propmt users for saving their appraisal documents
    before a session timeout,we used an Javascript popup message(alert
    window). This window doesnot affect the BSP page in any way.(code
    provided below)
    Per changed requirement,we now have to retain the BSP page values once
    the user clicks 'OK' on this javascript popup window. I used the page
    refresh option with script. But this is erasing the earlier values.
    Can anyone tell me,how i can holdback the BSP page values after the
    user action on the popup window. If a piece of code is provided,it
    would be greatly appreciated.
    Thanks in Advance
    Alan
    Existing code for timeout popup
    javascript code
    function remind (){
    var msg = "Your Session will expire in the next 10 minutes. Please
    save your data.";
    alert the msg(using alert box)
    <%
    data: v_rem type string.
    DATA: port TYPE STRING.
    data: l_timer type string.
    port = request->get_header_field(
    if_http_header_fields_sap=>server_port ).
    DATA: services TYPE TABLE OF ICM_SINFO.
    CALL FUNCTION 'ICM_GET_INFO' TABLES SERVLIST = services.
    FIELD-SYMBOLS: <service> TYPE ICM_SINFO.
    DATA: wait TYPE STRING.
    READ TABLE services ASSIGNING <service> WITH KEY service = port.
    wait = <service>-KEEPALIVE - 10.
    CONDENSE wait.
    ****Start Changes: Timeout
    **l_timer = wait * 60 * 1000.
    l_timer = 1 * 60 * 1000.
    ****End Changes
    concatenate `'remind(` wait `)',` l_timer into v_rem.
    %>
    <htmlb:content design            = "DESIGN2002+DESIGN2003"
                   sessionManagement = "TRUE"
                   controlRendering = "SAP">
    <htmlb:page title = "<%= otr(ZPMDGL/TITLE_DOCUMENT) %>"
                  disableBackspaceNavigation = "TRUE" onLoad pass v_rem as a  parameter to setTimeout
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:32 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:34 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:35 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:36 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:36 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:37 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:38 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:39 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:40 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:40 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:44 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:46 AM

    If the BSP page is refrehed, all the user input it sent back to the server. If you don't do anything special, the input is lost and not sent back to the client again. You can go to your controller class' DO_HANDLE_DATA to read the user input, and store it in the controller class to send it back to the client.
    If you don't use controller classes, the equivalent would be onInputProcessing. A more advanced alternative would be to use MVC model binding, which would do most of the stuff automatically for you.

  • Need help with a popup window problem

    I have this code within my certAppB.js page :
    function AppSubmit() {
         str1 = "Submitting this form will begin the approval process.";
         str2 = "You will not be able to come back to this form to edit it again.";
         str3 = "Do you want to continue submitting this form?";
         if((confirm(str1 + "\n" + str2 + "\n" + str3))){
              document.forms[0].status.value="Submitted";
              document.forms[0].submit();
    Which produces a popup windows that says:
    Submitting this form will begin the approval process
    You will not be able to come back to this form to edit it again
    Do you want to continue submitting this form?
    OK Cancel (these are 2 buttons)
    I want to change this to say:
    Submitting this form will begin the approval process. You will not be able to change this form once submitted. You also agree that the following statement is true and correct to the best of your knowledge and belief:
    "I, [User Name], hereby certify and state on behalf of [Company Name] that the energy use data contained on this form are accurately determined and stated in accordance with federal test procedures set forth in 10 CFR Part 430 or 431, or 42U.S.C.�6314, as applicable, including authorized waivers, as they currently exist on [Date]."
    Do you want to continue submitting this form?
    OK           Cancel
    So I have to pull the users [User Name], [Company Name], and the [Date].
    On the approverView.jsp login page ( which is the first login page users see after loggin) it shows
    the users full name, so I nabbed the code from that page:
    <body>
    <jsp:include page="logo.jsp" />
    <jsp:include page="unav-navigate.jsp" />
    <table width="100%" border="0" cellspacing="0" cellpadding="5" class="info">
    <tr>
    <td width="25%" valign="top">
    <logic:present name="UserContainer" property="userView" scope="session">
    <span class="welcome">Welcome
    <bean:write name="UserContainer" property="userView.firstName" scope="session"/>
    <bean:write name="UserContainer" property="userView.lastName" scope="session"/>
    !</span><br>
    </logic:present>
    <span class="sm">If you are not this person, please click <html:link styleClass="norm" href="/fake_name/logoff.do">here</html:link>.</span></td>
    <td width="2%"> </td>
    <td width="73%" valign="top"><jsp:include page="instruction.jsp" /></td>
    </tr>
    </table>
    and made this code out of it to pull the username,companyname:
    <logic:present name="UserContainer" property="userView" scope="session">
    <span class="User"> User
    <bean:write name="UserContainer" property="userView.firstName" scope="session"/>
    <bean:write name="UserContainer" property="userView.lastName" scope="session"/>
    !</span><br>
    </logic:present>
    <logic:present name="UserContainer" property="userView" scope="session">
    <span class="Company">Company
         <bean:write name="UserContainer" property="userView.companyName" scope="session"/>
    !</span><br>
    </logic:present>
    This is the userView.java page that is referanced :
    * Created on Mar 28, 2003
    * To change this generated comment go to
    * Window>Preferences>Java>Code Generation>Code Template
    package org.fake.name.view;
    import java.io.Serializable;
    import java.util.List;
    import org.gama.cafs.businessobjects.TorqueDb;
    * @author chris
    public class UserView implements Serializable {
         private int userId;
         private int memberId;
         private int companyId;
         private String role;
         private String firstName;
         private String lastName;
         private String companyTitle;
         private String emailAddress;
         private String phoneNumber;
         private String companyName;
         private String address1;
         private String address2;
         private String address3;
         private String city;
         private String state;
         private String province;
         private String postalCode;
         private String countryName;
         private List productTypes = null;
         private List productTypeAcronyms = null;
         private List productTypeIds = null;
         private List tradeNameIds = null;
         private List tradeNames = null;
         private TorqueDb torqueDb = null;
         public UserView() { }
         * @return String
         public String getAddress1() {
              return address1;
         * @return String
         public String getAddress2() {
              return address2;
         * @return String
         public String getAddress3() {
              return address3;
         * @return String
         public String getCity() {
              return city;
         * @return String
         public String getCompanyName() {
              return companyName;
         * @return String
         public String getCompanyTitle() {
              return companyTitle;
         * @return String
         public String getCountryName() {
              return countryName;
         * @return String
         public String getEmailAddress() {
              return emailAddress;
         * @return String
         public String getFirstName() {
              return firstName;
         * @return String
         public String getLastName() {
              return lastName;
         * @return int
         public int getMemberId() {
              return memberId;
         * @return String
         public String getPhoneNumber() {
              return phoneNumber;
         * @return String
         public String getPostalCode() {
              return postalCode;
         * @return Set
         public List getProductTypes() {
              return productTypes;
         * @return String
         public String getProvince() {
              return province;
         * @return String
         public String getRole() {
              return role;
         * @return String
         public String getState() {
              return state;
         * @return int
         public int getUserId() {
              return userId;
         * Sets the address1.
         * @param address1 The address1 to set
         public void setAddress1(String address1) {
              this.address1 = trimString(address1);
         * Sets the address2.
         * @param address2 The address2 to set
         public void setAddress2(String address2) {
              this.address2 = trimString(address2);
         * Sets the address3.
         * @param address3 The address3 to set
         public void setAddress3(String address3) {
              this.address3 = trimString(address3);
         * Sets the city.
         * @param city The city to set
         public void setCity(String city) {
              this.city = trimString(city);
         * Sets the companyName.
         * @param companyName The companyName to set
         public void setCompanyName(String companyName) {
              this.companyName = trimString(companyName);
         * Sets the companyTitle.
         * @param companyTitle The companyTitle to set
         public void setCompanyTitle(String companyTitle) {
              this.companyTitle = trimString(companyTitle);
         * Sets the countryName.
         * @param countryName The countryName to set
         public void setCountryName(String countryName) {
              this.countryName = trimString(countryName);
         * Sets the emailAddress.
         * @param emailAddress The emailAddress to set
         public void setEmailAddress(String emailAddress) {
              this.emailAddress = trimString(emailAddress);
         * Sets the firstName.
         * @param firstName The firstName to set
         public void setFirstName(String firstName) {
              this.firstName = trimString(firstName);
         * Sets the lastName.
         * @param lastName The lastName to set
         public void setLastName(String lastName) {
              this.lastName = trimString(lastName);
         * Sets the memberId.
         * @param memberId The memberId to set
         public void setMemberId(int memberId) {
              this.memberId = memberId;
         * Sets the phoneNumber.
         * @param phoneNumber The phoneNumber to set
         public void setPhoneNumber(String phoneNumber) {
              this.phoneNumber = trimString(phoneNumber);
         * Sets the postalCode.
         * @param postalCode The postalCode to set
         public void setPostalCode(String postalCode) {
              this.postalCode = trimString(postalCode);
         * Sets the productTypes.
         * @param productTypes The productTypes to set
         public void setProductTypes(List productTypes) {
              this.productTypes = productTypes;
         * Sets the province.
         * @param province The province to set
         public void setProvince(String province) {
              this.province = trimString(province);
         * Sets the role.
         * @param role The role to set
         public void setRole(String role) {
              this.role = trimString(role);
         * Sets the state.
         * @param state The state to set
         public void setState(String state) {
              this.state = trimString(state);
         * Sets the userId.
         * @param userId The userId to set
         public void setUserId(int userId) {
              this.userId = userId;
         * @return List
         public List getProductTypeAcronyms() {
              return productTypeAcronyms;
         * Sets the productTypeIds.
         * @param productTypeIds The productTypeIds to set
         public void setProductTypeAcronyms(List productTypeAcronyms) {
              this.productTypeAcronyms = productTypeAcronyms;
         public List getProductTypeIds() {
              return productTypeIds;
         public void setProductTypeIds(List productTypeIds) {
              this.productTypeIds = productTypeIds;
         private String trimString(String str) {
              String tmp = null;
              if (str != null)
                   tmp = str.trim();
              else
                   tmp = str;
              return tmp;
         public List getTradeNameIds() {
              return tradeNameIds;
         public List getTradeNames() {
              return tradeNames;
         public void setTradeNameIds(List list) {
              tradeNameIds = list;
         public void setTradeNames(List list) {
              tradeNames = list;
         public TorqueDb getTorqueDb() {
              return torqueDb;
         public void setTorqueDb(TorqueDb db) {
              torqueDb = db;
         public int getCompanyId() {
              return companyId;
         public void setCompanyId(int i) {
              companyId = i;
    Question:
    How do I insert the code I assembled:
    <logic:present name="UserContainer" property="userView" scope="session">
    <span class="User"> User
    <bean:write name="UserContainer" property="userView.firstName" scope="session"/>
    <bean:write name="UserContainer" property="userView.lastName" scope="session"/>
    !</span><br>
    </logic:present>
    <logic:present name="UserContainer" property="userView" scope="session">
    <span class="Company">Company
         <bean:write name="UserContainer" property="userView.companyName" scope="session"/>
    !</span><br>
    </logic:present>
    INTO the function:
    function AppSubmit() {
         str1 = "Submitting this form will begin the approval process.";
         str2 = "You will not be able to come back to this form to edit it again.";
         str3 = "Do you want to continue submitting this form?";
         if((confirm(str1 + "\n" + str2 + "\n" + str3))){
              document.forms[0].status.value="Submitted";
              document.forms[0].submit();
    So that the popup window will show the [username], [CompanyName], [Date]. I can�t find any doc�s on how to insert logic into a function with str�s.
    Any help would be very much appreciated. Thanks in advance.
    Applications used by me: Sun solaris 8 server, Tomcat 4.1.24, pulling from postgresql 7.3, and I edit in Eclipse 2.11.

    These two tags:
    <logic:present name="UserContainer" property="userView" scope="session">
    </logic:present>
    surround things you only want to happen if there is a userView object present.
    This tag:
    <bean:write name="UserContainer" property="userView.firstName" scope="session"/>
    is replaced with the value of userView.getFirstName().
    So:
    <logic:present name="UserContainer" property="userView" scope="session">
    <span class="User"> User
    <bean:write name="UserContainer" property="userView.firstName" scope="session"/>
    <bean:write name="UserContainer" property="userView.lastName" scope="session"/>
    !</span><br>
    </logic:present>
    becomes:
    User Jim Steinberger !
    if the userView object is present and firstName == Jim and lastName == Steinberger.
    To insert those values into your JavaScript function:
    <logic:present name="UserContainer" property="userView" scope="session">
    function AppSubmit() {
    str1 = "Submitting this form will begin the approval process.";
    str2 = "You will not be able to come back to this form to edit it again.";
    str3 = "You also agree that the following statement is true and correct to the best of your knowledge and belief:";
    str4 = "";
    str5 = "I, <bean:write name="UserContainer" property="userView.firstName" scope="session"/>
    <bean:write name="UserContainer" property="userView.lastName" scope="session"/>, hereby certify and state on behalf of <bean:write name="UserContainer" property="userView.companyName" scope="session"/> that the energy use data contained on this form are accurately determined and stated in accordance with federal test procedures set forth in 10 CFR Part 430 or 431, or 42U.S.C.?6314, as applicable, including authorized waivers, as they currently exist on " + new Date().getDate() + "/" + new Date().getMonth() + "/" + new Date().getFullYear() + ".";
    str6 = "Do you want to continue submitting this form?";
    if((confirm( str1 + "\n" + str2 + "\n" + str3 + "\n\n\n" + str4 + "\n" + str5 + "\n" + str6 ))){
    document.forms[0].status.value="Submitted";
    document.forms[0].submit();
    </logic:present>
    Should become:
    function AppSubmit() {
    str1 = "Submitting this form will begin the approval process.";
    str2 = "You will not be able to come back to this form to edit it again.";
    str3 = "You also agree that the following statement is true and correct to the best of your knowledge and belief:";
    str4 = "I, Jim Steinberger, hereby certify and state on behalf of Dynamic Edge, Inc. that the energy use data contained on this form are accurately determined and stated in accordance with federal test procedures set forth in 10 CFR Part 430 or 431, or 42U.S.C.?6314, as applicable, including authorized waivers, as they currently exist on " + new Date().getDate() + "/" + new Date().getMonth() + "/" + new Date().getFullYear() + ".";
    str6 = "Do you want to continue submitting this form?";
    if((confirm( str1 + "\n" + str2 + "\n" + str3 + "\n\n" + str4 + "\n" + str5 + "\n\n" + str6 ))){
    document.forms[0].status.value="Submitted";
    document.forms[0].submit();
    after being processed by Tomcat and Struts. (Note: the function will not appear if userView is missing)
    By the way, you might be missing the closing bracket to function AppSubmit() { which might throw a JavaScript error. Just FYI :)
    Good luck!
    Jim Steinberger
    [email protected]

  • Styling the Alert popup window

    In Flex 3, you could style the popup window produced by Alert.show with the Alert selector:
    Alert
      background-color:aqua;
    This appears not to work any more in Flex 4, even with the appropriate namespace prefix:
    mx|Alert
        background-color:aqua;
    I've confirmed that the selector is correct, because it can be used to modify the fonts within the Alert popup, but any colors, corner radius settings, etc. are ignored. I also tried switching to the Halo AeonGraphical theme with no success.
    Are there any new tricks to know about in this area?
    Thanks,
    David

    Hello,
    Does this article help?
    http://www.adobe.com/devnet/flex/articles/flex3and4_differences_02.html
    This code seems to work:
    <fx:Style>
        @namespace mx "library://ns.adobe.com/flex/halo";
        mx|Alert   
            contentBackgroundColor:aqua;
    </fx:Style>
    - Rob

  • WDPortalNavigation : Hiding Dynamic Nav Panel in popup window

    Hello,
    I am using Absolute Navigation - Portal - SAP Library to open a specific page on Portal from my Web Dynpro Java application.
    Platform:
    Portal : EP CE7.3 Ehp1 SPS9
    NWDS: CE7.3
    In target Portal page that I am trying to open in new window, there is some content added as "Dynamic Navigation". And this Dynamic Navigation panel is by-default expanded in this popped up window.
    Is there any way I can set it to 'collapsed' by-default in this popup window?
    I tried using all navigation modes available. But couldn't find any option to do this.
    Code extract:
    WDPortalNavigation.navigateAbsolute(
      actionURL,
      WDPortalNavigationMode.SHOW_HEADERLESS_PORTAL,
      "height=700,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,titlebar=no,toolbar=no",
      taskWindowName,
      WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
      targetTitleText,
      null,
      null,
      null,
      true,
      true
    Please help.
    Thanks & Regards,
    Amey Mogare

    Yes. I'm using a classical frameworkpage. I opened it >Desktop Inner page > Dynamic Navigation iView > set "Initial State of navigation panel = closed".
    Saved everything and retried opening the page via WDPortalNavigation.
    Navigation panel was still expanded when this window opened.

  • How to put the messages getting in popup window on statusbar facet:

    In panelcollection i dragged a table.in toolbar i have createinsert and committ buttons.
    i am able to display the messages like "*Dupliacte rows not allowed* " using customErrorhandler by ovveriding the getdisplaymessage() when JBO,SQl exceptions occured.
    and also able to display message like "*record saved successfully* " using managed bean method.
    i am getting these messages in popup window.but i want to get these messages in statusbar of panelcolletion.
    please anyone help me what i need to do.
    Thanks
    Sailaja.

    Hi,
    Check the below sample code
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Style>
            @namespace s "library://ns.adobe.com/flex/spark";
            @namespace mx "library://ns.adobe.com/flex/mx";
            s|BorderContainer {
                background-image:Embed(source="image/wheres_the_green_rez.jpg");
                background-image-fill-mode:clip;
        </fx:Style>
        <s:TitleWindow width="100%" height="100%">
            <s:BorderContainer width="100%" height="100%"/>
        </s:TitleWindow>
    </s:Application>
    Regards,
    Anitha

  • Show some text messages in a popup window.

    I have a requirement to show some text in a pointed popup window (similar to a pointed tooltip) when a commandLink is clicked. The text consists of 2-3 lines. What can I use?
    I guess <af:popup> doesnt show up as a pointed tooltip.

    Use an ad:popup and put an af:noteWindow in there.
    Check out http://docs.oracle.com/cd/E21764_01/apirefs.1111/e12419/tagdoc/af_popup.html
    Timo

  • Vba to dismiss an IE8 or IE9 "message from webpage" popup window

    In excel or word, paste the following code into a vba normal module and run it.   The code goes to a public web site and tries to lookup a school.  The website pops up a "message from webpage" dialog that warns me that the the school
    number is not valid.
    My program can detect that popup, but how can I reliably and automatically dismiss it?
    I have a workaround that uses sendkeys but about 10% of the time the popup remains.
    Does anybody have a solution that does NOT require sendkeys? The ideal solution would also work when objie.visible = false.
    option Explicit
    Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
    Sub t1022()
    Dim objie As Object
    Dim i As Long
    Dim htmlTable As htmlTable ' set reference to microsoft html object library
    Set objie = CreateObject("InternetExplorer.Application")
    objie.Visible = True
    objie.navigate "http://www.slforms.universalservice.org/Form471Expert/471StatusCheck.aspx"
    Do: Sleep 100: Loop While objie.busy
    Set htmlTable = objie.Document.getElementsByName("txtBenId")(0)
    htmlTable.Value = 12345
    With objie.Document.getElementById("txtFundingYear")
    .Click
    .Value = 2013
    End With
    objie.Document.getElementById("btnSearch").Click
    For i = 1 To 10
    Sleep 100
    If Not objie.busy Then Exit For
    Next i
    If objie.busy Then
    MsgBox "popup detected"
    End If
    End Sub

    Hi,
    If there is a will, there is definitely as way. The following definitely works!
    Copy and paste the following code in a module.
    Option Explicit
    Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
    'Sends the specified message to a window or windows. The SendMessage function calls the window procedure
    'for the specified window and does not return until the window procedure has processed the message.
    Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" _
    (ByVal hWND As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
    'Retrieves a handle to the top-level window whose class name and window name match the specified strings.
    'This function does not search child windows. This function does not perform a case-sensitive search.
    Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" _
    (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
    'Retrieves a handle to a window whose class name and window name match the specified strings.
    'The function searches child windows, beginning with the one following the specified child window.
    'This function does not perform a case-sensitive search.
    Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" _
    (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, _
    ByVal lpsz2 As String) As Long
    Public Const BM_CLICK = &HF5&
    Sub t1022()
    Dim objie As Object
    Dim i As Long, hWND As Long, childHWND As Long
    Dim htmlTable As htmlTable ' set reference to microsoft html object library
    Set objie = CreateObject("InternetExplorer.Application")
    objie.Visible = True
    objie.navigate "http://www.slforms.universalservice.org/Form471Expert/471StatusCheck.aspx"
    Do: Sleep 100: Loop While objie.busy
    Set htmlTable = objie.Document.getElementsByName("txtBenId")(0)
    htmlTable.Value = 12345
    With objie.Document.getElementById("txtFundingYear")
    .Click
    .Value = 2013
    End With
    objie.Document.getElementById("btnSearch").Click
    For i = 1 To 10
    Sleep 100
    If Not objie.busy Then Exit For
    Next i
    If objie.busy Then
    'MsgBox "popup detected"
    DoEvents
    hWND = FindWindow(vbNullString, "Message from webpage")
    If hWND <> 0 Then childHWND = FindWindowEx(hWND, ByVal 0&, "Button", "OK")
    If childHWND <> 0 Then SendMessage childHWND, BM_CLICK, 0, 0
    End If

  • When I run RSPCM gives error in PC and message error, alert, popup

    When I run the transaction RSPCM gives error in process chains and appear several popups, messages, alerts. what can be?

    Symptom
    The job log of a job contains message 00 517 (Job finished) and message BT
    608 (Job status was manually set to 'cancelled').
    Reason and Prerequisites
    There is a program error in the function BP_JOB_ABORT.
    Previously, the function BP_JOB_ABORT did not call the job status check
    correctly. As a result, BP_JOB_ABORT may still have set a job that had
    already finished correctly to 'cancelled'
    Solution
    Import the Support Package or implement the correction instructions

  • Help with a popup window displaying info from a record set

    Hi I am working on a Shopping cart web site I have set up my
    database and I have created my page to display items from the
    database. The fields in my database table are auto_id, category,
    sub_catagory, manufacture, style, descripition, descripition2,
    price, image, image2, fc_id, link_id
    What I am trying to do is to display this part of the info in
    one record . manufacture,style,descripition , image and price there
    will be a link from this page (link_id)to display a popup and in
    that pop up I want to display
    manufacture,style,descripition2,Image2
    basicly I want to now how to put a link in database so when
    all of the data is displayed on the page I want to click on a link
    (link_id) from any record that opens a popup to display a larger
    image and a longer descripition of the product. and anything else I
    may need from that record.
    I hope this maks sence
    Cheers
    Dave

    In your product insert form or however you are adding these
    products to the store add a feild called image link2 or
    large_img_link
    in your code for the pop up window you would wrap your PHP
    recordset like this
    <a href="
    http://yoursite.com/images/large_images/<?php
    echo $row_image_rs['large_img_link']; ?>"><?php echo
    $row_image_rs['large_img_link']; ?></a>
    This will produce a link like this
    http://yoursite.com/images/large_images/myLargeImage.jpg
    the hot spot will be your second php tag which is the
    thumbnail image itself that is now wrapped with the larger image
    link.
    Hope this is helpfull
    JM

  • Problem with applet, popup window and focus loss

    Hi all !
    I've got a problem when my applet lose the focus. Let me explain :
    I've got an applet embed in a jsp page. There are several buttons in it that allow the user to open modal windows.
    The problem comes when the user gives the focus to another application whithout closing the modal window first.
    When he tries to come back to the web page owning the applet (using the task bar), then the modal window stays behind it and blocks any action on the applet.
    Does anyone know how to force the modal window to be displayed in front of the applet, even when the user plays with focuses ?
    Thank's in advance.

    thank you for your help, sils.
    I've written that code :
    * Cr�� le 31 ao�t 05
    package com.scor.apricot.web.rpc.ltnp.applet.listener.ldf;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.swing.JDialog;
    import javax.swing.JPanel;
    public class AppletWindowListener extends WindowAdapter {
         private JPanel panel;
         private JDialog dialogWindow;
         public AppletWindowListener(JPanel panel, JDialog dialogWindow) {
              this.panel = panel;
              this.dialogWindow = dialogWindow;
         public void windowActivated(WindowEvent e) {
              if (dialogWindow!=null && dialogWindow.isShowing())
                   dialogWindow.toFront();
    }Is that right ?
    I don't know how to add the listener, where must I put the addWindowListener method ? It seems that this method cannot be used with a JApplet object.

  • Error message with QT for Windows Vista

    I have an error message from Windows Vista...
    Microsoft Visual C++ Runtime Library
    Buffer overrun detected!
    Program: C:\Program Files\QuickTime\QuickTimePlayer.exe
    A buffer overrun has been detected which has corrupted the program's internal state. The program cannot safely continue execution and must now be terminated.
    ....and it just close Quick Time, it happens to me all the time, can anybody please help me?

    I just answered this problem, so you arent the only one. As I said in the other post, I am only running XP Pro SP2...but I also had the same problem, and it just started recently. I fixed it by going into my Quicktime Preferences....and going to Advanced tab, and upping my Download cache to 300MB, and then clicking on Empty Cache. I also upped by Audio from 16bit to 24bit. Dunno which really fixed it, but those were the 2 things I changed, and it works no problem now.

Maybe you are looking for

  • ITunes Match will sync my music from all the stores?

    Hey! I want to get iTunes Match, but I still have doubts about how it works. I have songs that are not available on the USA store only on the France store (for example), will iTunes Match sync the song even if it is not available on my store? and wil

  • How do I create a duplicate card in Address Book?

    I have searched and found plenty of posts on how to FIND, MERGE or DELETE duplicate cards in Address Book... - But I want to CREATE a duplicate card. In other words, if I want to create separate cards for 2 married people with the same last name, add

  • OpenFile fails in Word for Mac: "helper application missing"

    The OpenFile command in Word 2004 for Mac stopped working on my machine: it threw up am error message "Helper application not present" and froze Word. This was occasionally a real problem, since the same thing happened when trying to download a Word

  • Creative cloud desktop keeps signing me out

    Ever since the update it seems like everytime i go to click on the creative cloud desptop I am signed out. I sign in and then work for a few minutes... I go back to my creative Cloud desktop connection and it is signed out again. It will not keep me

  • How to download Adobe Pro Student

    Hi. I have purchased Adobe Acrobat XI Pro student edition as a card with a code, and have sent my details for verification (the site www.adobe.com/go/eduverify does not go anywhere, so i had to search for a different portal). My questions are (1) how