Open HTML page from the stage

How can I open a HTML page by pressing a button on the stage?
I've created a rollover button and I'm trying to make it open
an existing html page from the local disk (not an internet URL).
But I can't make it open with Lingo or behaviour.
Please help.
Thanks a lot.
Gideon.

goToNetPage "
http://somewhere.html" is the
typical form for a page on
the web, director must use the address format the system's
browser uses
for local files, this is somewhat platform dependant, a
practical
aproach is to open the file in question from within your
browser then
copy and paste the displayed address into your lingo code.
Some report the goToNetPage counterpart provided by the
buddyAPI xtra
works more reliably, the xtra can be used for free if limited
to a
couple of functions.
An alternate approach buddyAPI can use is to have the browser
directly
access the html file as if it were double clicked in the file
manager
using the same form commonly used to open PDF files with
acrobat.
(sorry I don't have example code handy)

Similar Messages

  • May by anyway view Local Network files[e-book] or videos or html pages, from the main PC

    In ipad 3 upgraded to 4 ios, may by anyway view Local Network files[e-book] or videos or html pages, from the main PC if, this main has local host[php/mysql] or, from the local network itself: eg //user/downloads/pdf/ebook1.pdf?

    In ipad 3 upgraded to 4 ios, may by anyway view Local Network files[e-book] or videos or html pages, from the main PC if, this main has local host[php/mysql] or, from the local network itself: eg //user/downloads/pdf/ebook1.pdf?

  • How to extract HTML page from the internet

    i am new to java, i wish to know how to extract Html page from the internet and also how to identify the differences between the images and text information?

    You can create a java.net.URL that points to the file you want to "extract" and read the HTML code (or what ever that file contains) from there using the inputstream given by URL.openStream().
    The difference between images and text... well, images are embedded in html using the img-tag. example: <IMG src="http://forum.java.sun.com/images/reply.gif" alt="Reply">. Attributes width, height, alt are sometimes left out and there may or may not be quotes around the values and everything is case insensitive... you'll be having hard time trying to parse the input so I'd suggest using existing parsers.
    What are you trying to do anyway? You can load a URL directly to a JTextEditorPane with the setPage(URL page) method...

  • Creating a HTML page from the J2ME application

    Hi,
    I am developingan application in J2ME. Can anyone of you out there, help me whether there is any way I can generate a HTML page from the application.
    I have the data but I don't know ho to create a HTML page from a J2ME application.
    Any document or any code will prove handy.
    Thanking in anticipation.
    Ashish

    When you say that "you have the data" you mean that you have HTML code data(<html><body>Hello World</body></html>)? If yes you should create an algorithm that "read" html tag and display text in the appropriate layout/font/size/color...
    A solution could be simplify your HTML code (server side), so you can easly "decode" and display text.
    Giovanni
    Italy

  • How to populate a table in the html page from the java script

    Hi all,
    I have doubt in populating a table in the html page. my application is as follows
    I have a html page in which i have a combo box and a table following the combo box.
    i have to populate the table depending on the item selected in the combo box.
    for this i am using javascript to get the value of combo box onClick
    then i have to call some function thru jsp to get the data and then i have to populate the table with thst into from java script
    how can i do this, i.e populating html table from java script
    Thanks in advance
    satya

    Hi Mihai,
    You can populate data in DO_INIT_CONTEXT method of ur impl class in your Z component.
    data:
    lv_struct_ref type ref to YOUR_STRUCTURE,
    lv_value_node type ref to cl_bsp_wd_value_node,
    lv_bo_coll type ref to if_bol_bo_col.
    Data: current type ref to if_bol_bo_property_access.
    data: dref type ref to data.
    data: lv_guid_h type crmt_object_guid.
    data: lt_attr type table of YOUR_STRUCTURE.
    data: ls_attr type YOUR_STRUCTURE.
    data: lr_entity type ref to cl_crm_bol_entity.
    create object lv_bo_coll type cl_crm_bol_bo_col.
    lt_attr is ur internal table.
    Loop at lt_attr into ls_attr.
      create data lv_struct_ref.
      create object lv_value_node
           exporting
                iv_data_ref = lv_struct_ref.
    call method lv_value_node->if_bol_bo_property_access~set_property
    exporting
    iv_attr_name = 'YOURFIELDNAME1'
    iv_value = ls_attr-firstname.
    call method lv_value_node->if_bol_bo_property_access~set_property
    exporting
    iv_attr_name = ' YOURFIELDNAME2'
    iv_value = ls_attr-lastname.
    lv_bo_coll->add( lv_value_node ).
    typed_context->YOURCONTEXTNODE->set_collection( lv_bo_coll ).
    endloop.
    Regards,
    Raghu

  • Open HTML pages in the same Browser

    HI All,
    I have a GUI with Help buttons which are required to open Help files in the default browser.
    Now i am able to acheive this using Runtime.getRuntime().exec("cmd /c start iexplore url")
    But the problem here is everytime the user clicks on the help buttons on various screens of the UI it opens a new browser instance where as i want all the help files to open in the same browser window.
    How do i acieve this?
    Also i tried using rundll32 url.dll, FileProtocolHandler url... the problem with this command is it doesnt recognize the querystring part of the url.
    For ex : http://forum.java.sun.com/post.jsp?forum=31&skldfsdkfj
    here the cmd only recognizes until http://forum.java.sun.com/post.jsp and the rest of the url is truncated when the browser opens. Do i need to escape "?" in my java application itself
    I escape & with ^& and this works..But how abt for "?"
    Anyone has any idea abt this....Pls help
    ADN

    all browsers ask you when you install them if you want that one to be the default one.
    So yes, start or run32dll.exe can be used to launch the default browser.
    No, you can't control which window to show it in, with the possible exception of Mozilla (or a derivitive (sp?)) might have some command-line options to do that. But you can't know that it's a Mozilla browser that will run with start or run32dll.exe.
    Your other choice would be: search the file system for browser, or just ask the user for the path to the browser's exe in a preferences dialog or something.

  • Won't open homepage on open, won't open web pages from the menu 'open new window', Can't open menu button

    Ok, since update to version 31.0, I have been having some problems.
    I have tried doing everything stated in the support page about resetting, reinstalling, safe mode, restarting pc etc.
    First problem, when I open Firefox no web page loads. It just says New Tab and a blank white page. If I press the home button I am taken to my homepage which is google.
    Second problem, when I right click on a link and the menu pops up, if I click open in new window, a new window opens but it just says New Tab with a blank page and no URL information, just blank.
    Third problem, the Open Menu button just doesn't work at all. You can click all you like, that thing is not opening.
    I am really stuck as to what to do. I have only been using Firefox for about a month and t was good until these problems. If I can't resolve it, I will have to use another browser as it is really annoying.
    I am using Windows 8.1 by the way and have scanned my computer thouroughly for both virus's and malware.

    Hi zenithtwc, to test whether this is a settings issue, could you do a three-minute experiment?
    '''Create a new Firefox profile'''
    A new profile will have your system-installed plugins (e.g., Flash) and extensions (e.g., security suite toolbars), but no themes, other extensions, or other customizations. It also should have completely fresh settings databases and a fresh cache folder.
    Exit Firefox and start up in the Profile Manager using Start > search box (or Run):
    firefox.exe -P
    ''Don't delete anything here.'' Any time you want to switch profiles, exit Firefox and return to this dialog.
    Click the Create Profile button, assign a name like Test731, and skip the option to change the folder location. Then start Firefox in the new profile you created.
    Can it reach the internet?
    When returning to the Profile Manager, you might be tempted to use the Delete Profile button. But... it's a bit too easy to accidentally delete your "real" profile, so I recommend resisting the temptation. If you do want to clean up later, I suggest making a backup of all your profiles first in case something were to go wrong.

  • Freezes when opening 2 pages from the same domain

    Using version 15.0.1
    Having a constant problem.
    I am accessing php pages on my web server.
    Each of 2 different scripts (same domain) can take up to 20 seconds to complete and display the result to the browser. This is expected and working as expected.
    What I don't understand, is that while the first tab is opening the first page ( eg. page1.php ) the second page ( page2.php ) that I am trying to open in another browser tab, is completely unresponsive until after the first tab has completed.
    I have tested in I.E. and this problem appears to be unique to firefox.
    Problem has been an irritation for at least the last month. I cant confirm if it was present before that.
    Suggestions please.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • Opening multiple pages at the same time

    Hi.
    We are currently developing a few custom pages which we are calling from Oracle Applications responsibility. The pages are registered as individual functions and we call them from the applications menu structure. However when we have more than 1 page open from the menu structure, we are getting the following errors:
    " Error: Stale Data
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example).
    Cause:
    The number of displayed records, 2, exceeds the actual number of records, 0, in view object ClaimEstimationAM.EstLinesVO2. Some of the displayed records may have been deleted.
    To proceed, please select the Close Window link at the top of the application page to return to the main menu. Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward. "
    We normally get this error after we have committed/saved from one of the open pages. The error appears on the page where we didn't do the commit, and it immediately appears once we start doing something on that page.
    Does anyone have any idea why we are getting this error? When there is only 1 page open, there are no problems going through the processes in the page, but once we open up a second page (not necessarily the same page, it's a different function altogether), calling it from the menu, then one of the open pages start to get this error. Any help is very much appreciated.
    Thanks and Regards,
    Narissa

    Hi Gaurav.
    Thought I'll mention how I set up the HTML page from the Oracle Apps Function setup.
    Function: COZF_PP_CLAIMS_ESTIMATION_PG
    Type: SSWA jsp function
    Web HTML: OA.jsp?page=/tap/oracle/apps/xxcozf/ppclaims/webui/EstimateSummaryPG
    Function: COZF_SERIAL_NUM_INQUIRY
    Type: SSWA jsp function
    Web HTML: OA.jsp?page=/tap/oracle/apps/xxcozf/ppclaims/webui/SerialNumberInqPG
    Both pages are for inquiry, but users can drill-down (to a new page) to see detailed information via link or button. Same thing if user wants to update the information, an image icon is provided to open up an update page.
    Again, if there's only 1 page open, no problem with processing. But once a second page is opened simultaneously, either of the page gets lost.
    Any idea?
    Thanks,
    Narissa

  • Opening a HTML page from a Navigation link

    Hi All,
           I have a requirement of adding a new link at the navigation bar of WebClient. This link will open a static html page with some contents. I have created the page required for it. But I don't know how the link will be created at Navigation bar and how to open the html page from it. I am using the SAP CRM 5.0 and I want to add the link at Default profile.
      Please help.
    Thanks
    Indranil Datta

    Hi Sujit,
        Thanks for your help. I have created a new navigation bar entity and added that in a customized profile. I have also mentioned the page name and path for that link from tran SPRO. I found that link after logging into IC WebClient. But that link is not connected with the required page. If I click on the link page, it get refreshed but without any change.
    Thanks,
    Indranil Datta.

  • I downloaded Maverick and now I can't open pages from the Dock.  The Pages icon just jumps up and down abut doesn't open.  However, I can one pages by clicking on the App. I have an iMac with iWork 08.

    Since upgrading to Maverick from Mountain Lion I am unable to open Pages from the Dock.  When I click on the pages icon in the dock the icon just keeps bouncing up and down.  However, I can open pages by clicking on the icon in the Apps folder.  No problems prior to upgrading to Maverick.

    Quit Pages. Drag its icon out of the Dock. Create a new one by dragging the application into the Dock. Test.

  • I cannot open Pages from the app or from a saved document on the desk top.  I get an error: "The application Pages cannot be opened  -1712"  Any suggestions?

    I cannot open Pages from the app or from a saved document on the desk top.  I get an error: "The application Pages cannot be opened  -1712"  Any suggestions?

    The following previous discussion has a solution that worked for a variety of people with the -1712 error on a variety of applications and may help: The application Safari can't be opened -1712

  • When I open Pages from the dock, the page comes up but immediately hangs up with the

    When I open Pages from the Dock,  the page comes up on the screen but immediately hangs up with the rainbow circle spinning.  I finally have to force quite to make it go away.  It does not ask me to choose a template.  This is sporadic, sometimes working, sometimes not.  What is going on?

    Helo,
    Did you try to delete Pages' preferences file(s) in the folder your-user-name/Library/Preferences ?
    There are one or more (depends on your OS X version) file like "com.apple.iWork.Pages.plist"
    You can also repair permissions with Disk Utility in the folder Applications/Utilities.
    Choose the hard drive were Pages is and click the button "Repair permissions".
    Or you can re-install Pages.
    Hope this will help.

  • How to open a page from a Form and pass parameters to the form on that page

    I found a similar example on this forum, but it did not work for me:
    declare
    l_names owa.vc_arr;
    l_values owa.vc_arr;
    i number;
    begin
    PORTAL.wwpro_api_parameters.retrieve(l_names, l_values);
    FOR i in 1..l_names.count
    LOOP
    htp.p(l_names(i) || ' ' || l_values(i));
    END LOOP;
    end;
    By using this method i get the parameters for the Form, like the session ID, but not the parameters for the Page that the form is displayed in.
    Another method I tried:
    To open a Form from a Form and pass parameters works fine like this:
    --In the After processing page PL/SQL event.
    declare
    v_id number;
    blk varchar2(10):='DEFAULT';
    Begin
    v_id:=p_session.get_value_as_number (p_block_name=&gt;blk,p_attribute_name=&gt;'A_ID');
    if v_id &gt; 0 then
    htp.formOpen('PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=2649500412&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=ID&p_arg_values='||to_char(v_id),'post');
    htp.formSubmit(NULL,'Upload Files');
    htp.formClose;
    end if;
    End;
    But I want to open a Page containing the Form instead of just opening the Form. Is this possible to open a Page and pass paramters to the page, and then let the form inside the Page access the passed paramters. The reason for this is that a Form cannot be based on a page template, or can it? When opening the form i want to keep the left menu, which I can if it is a page based on my template with the left menu.
    Best regards
    Halvor

    Hi,
    You can do this by calling the url of the page with the form. You can then use p_arg_names and p_arg_values to pass parameters. In the called form you can get the value from p_arg_names and p_arg_values and assign it to the form field.
    You can call this code in the success procedure of the calling form.
    declare
    v_id number;
    blk varchar2(10):='DEFAULT';
    v_url varchar2(2000);
    Begin
    v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
    v_url := <page_url>;
    if v_id > 0 then
    call(v_url||'&p_arg_names=id&p_arg_values='||v_id);
    end if;
    End;
    In the called form in "Before displaying form" plsql section write this code.
    for i in 1..p_arg_names.count loop
    if p_arg_names(i) = 'id' then
    p_session.set_value(
    p_block_name => blk,
    p_attribute_name => 'A_ID',
    p_value => p_arg_values(i)
    end if;
    end loop;
    This code picks up the value from p_arg_values and assigns it to the form field.
    Hope that helps.
    Thanks,
    Sharmila

  • How can I display the HTML page from servlet which is called by an applet

    How can I display the HTML page from servlet which is called by an
    applet using the doPost method. If I print the response i can able to see the html document. How I can display it in the browser.
    I am calling my struts action class from the applet. I want to show the response in the same browser.
    Code samples will be appreciated.

    hi
    I got one way for this .
    call a javascript in showDocument() to submit the form

Maybe you are looking for

  • Copyright Question - two ipods with iTunes Music

    I apologize if this was answered in an FAQ or some other obvious place. I have googled around and can't seem to find the answer. I have just purchased my wife an iPod for Christmas, making us a two iPod household (including mine). Until this point my

  • How do I read multiple channels at one time using labview with the Fluke Hydra Data Bucket 2620a using serial port?

    I need to take a reading of 15 channels about once a second. I can read one value at a time using the monitor function on the read values.vi driver, but this takes forever to read all the channels.

  • Skype logged me out and I cannot log back in PLEAS...

     I'm trying to log onto Skype but I cannot remember the Email I used! and I forgot the password, Usually I would log in with Facebook. But about 20 minutes ago it logged me out and will not let me log back on with Facebook! Anybody with a fix! please

  • N96 display issue?

    Hey all, I have a ten day old N96 but have some issues about its display. There are about three shiny dots on the display. One of them at about the center and a bit shiny and unpleasant specially in dark colors. Two others are at about the corners bu

  • Install Win 7 on Portege M900

    I am trying to install Windows 7 Ultimate to my Toshiba Portege M900 (MODEL NO. PSU9RL-002002/ Seral no. XXXXXXXXX).  What drivers do I install and in what sequence do I install them? I'm desperateand any help will be so so so much appreciated...