How to open a url from a desktop application

Hi this may seem like a very easy question but all the topics online point to the following code....
var url = "http://www.adobe,com";
    var urlReq = new air.URLRequest(url);
    air.navigateToURL(urlReq);
However when I try to use this I keep getting an 1120 error saying that a definition for air could not be found.
Can someone please give me some fast direction?

I tried your suggestion...
Then after hitting myself in the head multiple times I came to say thanks
I really appreciate the help.

Similar Messages

  • How to open an URL from Forms in blocking mode?

    Can anyone tell me if it is possible to open a website from within forms in blocking mode? The reason why I have to use blocking mode is that the user has to take some action in the website and has to end that session explicitly with a button on the website. After that, a file is written on the server that is needed for further action. Without that file the process can't go on.
    I use Forms (32-bits) versie 10.1.2.0.2.

    Thanks for your answer.
    Your suggestion is only possible with a timer-trigger (correct me if I'm wrong). And that's the point.... The time the user can act in the website is unlimited. So, how to set up a timer-trigger? Another work around is to make a process that works at some time and searches for the files on the server. But that's not what we want to do.
    Does anyone have another idea?

  • Opening an URL from a JAVA application

    hi,
    iam new to Java.
    Currently iam designing a simle GUI which takes input(URL) from user in a test field and has a button.Upon clicking button i want to open the webPage specified by that URL in a default webBrowser.
    How can i do that(opening webPage)?
    advanced thanks for your help.
    vd.rach

    getting an error on that line as follows: "unreported
    exception; must be caught or declared to be thrown".exec() throws IOException so catch it.
    try {
    Runtime.getRuntime.exec(...);
    catch(IOException e) {
    System.err("Cannot launch the browser: " + e.getMessage());
    }On the side note: I found javaworld's [url http://www.javaworld.com/javatips/jw-javatip66_p.html]solution most useful in serving this purpose in a project, even though its a little bit platform specific.

  • How to open browser window from standalone Java Application???

    Is it possible to start Internet Explorer from non-applet application?

    Something like that could maybe help:
    Runtime.getRuntime.exec("iexplore http://www.google.com");
    but it's not platform independent + I couldn't let it work in that way. It only worked with Runtime.getRuntime.exec("c:\\windows\\....\\iexplore.exe http://www.google.com");
    But it's surely not platform independent.
    So the answer is in fact 'I don't know'.
    And if you ask why am I writing all that then, the answer is 'I don't know' too.
    And if you ask why...

  • How to open JSP session from a java application or an applet?

    Hi,
    My problem is a bit challenging (at least for me) and its not about JSP but it is about a web application..
    I couldnt find a better place to post this question I am sorry if this is not the right place to post it..
    I need to enable users log into my website by checking username and password and reading and checking the data from a usb device located in client computer.
    I can read from the device thorough JNI using the third party DLL file for the device... I have no problem with that..
    Since I need to make native calls I am planning to develop a java application so I let the users open the application using web start.. Once my application is running on client side after reading the device and getting login password information (assuming login information correct), How can I open a web session for the that spesific user and a web browser and let the user browse the web site on his/her own session?
    I would appreciate any guidance..
    Thanks..

    add the values in the header using...
    response.addHeader("userNmae","XXXX");use it in all ur pages like say..
    if(!request.getHeader("userName")!=null && request.getParameter("userName").equlas(""))
    String username=request.getParameter("userName");
    }

  • Can't Open "Lightroom 5" from CC Desktop Application

    The CC Desktop shows my "Lightroom 5" application with check mark as "Up to date".  However, it does not have link to open the application form there...is it common?  or something needs to be set?
    As I roll over on Photoshop or Bridge, the cursor pointer turns to 'Hand' and on clicking it opens the application.  That does not happen with "Lightroom 5"!

    What - exactly - does the message say?
    What do you find when you search the site for the message?

  • I have two excel files I cannot open or delete from my desktop.  One is titled 6ACAD200 and the other file is titled 8D73A700.  How can I get these off of my computer?

    I have two excel files I cannot open or delete from my desktop.  One is titled 6ACAD200 and the other file is titled 8D73A700.  How can I get these off of my computer?

    From the names I'd guess they are temporary files. If excel is running, quit and try again. If they still won't move or delete reboot. If they still won't move or delete...kill a chicken at midnight under an oak tree?

  • How can I delete icons from the desktop? every time I open a application (e.g. skype) the icon goes to the desktop

    how can I delete icons from the desktop? every time I open a application (e.g. skype) the icon goes to the desktop

    to remove the HD icon
    In Finder's Preferences pane, in the General tab, uncheck "Hard disks" under "Show these items on the Desktop" to clear away the icon.

  • How to open web pages from japplet??

    Hi
    Does anybody know how to open web pages from java japplet??
    Any help is apreciated!
    zick

    the getAppletContext() method of the Applet class will get you an AppletContext, with which you can call the ShowDocument(URL url) or ShowDocument(URL url, String target) method...
    check it out at http://java.sun.com/j2se/1.4/docs/api/java/applet/AppletContext.html
    have a good one :)
    Jay

  • How to open the Url type in Attachments Table

    Hi All,
    If we attached the any files, files are stored in the fnd_lobs table, pickup the data from the fnd lobs table and stored in the local system but if attached the url type how to open the url type.is there any standard ?
    Thanks,
    Venkat

    You can do it one of two ways:
    1. Insert some CSS that will change the target to "_new".
    2. Change the field that the user enters information in to a single line of text, then create a calculated column that is:
    =CONCATENATE("<a href=",[URL Field]." target=new>Click here</a>")
    Format that as a number.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • How do I keep URLs from printing after Events?

    Version 3.0.8 (1287) - How do I keep URLs from printing after Events?

    Open the Pages preferences > uncheck Automatic detect email and web addresses

  • How to down load pictures from my desktop

    How do I download pictures from my desktop computer to my IPad please. If I go to Itunes I can find now way of doing this, is there a special ITunes site? I have my Ipad connected to my computer but nothing happens???

    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    Another way. You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
    Secrets of the iPad Camera Connection Kit
    http://howto.cnet.com/8301-11310_39-57401068-285/secrets-of-the-ipad-camera-conn ection-kit/
     Cheers, Tom

  • How do I move files from my desktop to a flash drive?

    How do I move files from my desktop to a flash drive?

    Welcome to Apple Support Communities
    Open a Finder window by pressing the Finder icon in the Dock, and choose the flash drive in the Finder sidebar, under "Devices". Then, drag the file from the Desktop to the Finder window, so it will be copied to the flash drive.
    Note that the file won't be copied if your flash drive is formatted in NTFS, so you will have to install an application like Paragon NTFS or you will have to format the flash drive in a different filesystem

  • How to open "All Tabs" from previously shown pages history?

    Hi,
    How to open "All Tabs" from previously shown pages history. I am not asking about "Reopen from last session". I am asking about how to open all tabs from previous webpage links from a past date from history, currently its allowing me to select each page link manually by clicking it.
    Thank you!

    Select the first item you wish to open, scroll down to the last, Shift-click that one & all those between should be selected too. Double-click on them & they should all start to open... or you can copy & then drag/paste into a new or existing bookmarks folder.

  • How to open a URL without session ID and reuse the current browser session?

    Hi All,
    I have a question about HTMLDB 2.0
    How to open a URL without session ID and reuse the current browser session?
    That was the behaviour in HTMLDB 1.6 ...
    My usecase for this is the following:
    We have written an issue tracking application, which sends e-mail to the interested users, when something happens.
    In these email we've put a link to some page, with some parameters in the URL.
    The idea is for the user to be easy to click on the hyperlink and to see the details of the ticket.
    When the user clicks on such a link he is directed to a login screen (page 101) and he enters his Username and password, and is then forwarded to the details for the ticket.
    Then he receives another email (e.g. for another ticked). He clicks on the link and :
    a) in HTMLDB 1.6 he goes to the details as he didn't close his browser and session is remembered
    b) in HTMLDB 2.0 he is prompted to enter username, password with the username populated
    Please tell me how can I achieve the same behaviour in HTMLDB2.0 as it was in HTMLDB 1.6.
    I understand this change is somehow security related, althogh I don't understand how. If you can explain this either I would be very happy?
    Best regards,
    Mihail Daskalov

    Mihail - I detailed a couple of approaches here: Re: Application Link
    Scott

Maybe you are looking for

  • Probably an obvious answer, but...

    Hi, I am on a steep learning curve since I went from block by block building, to the Adobe Suite. I have managed a flash document with 3 images fading in and out, a menu bar that works in Fireworks but not in dreamweaver, and a template from Firework

  • Windows 7 install failure - hardware configure problem

    Installing windows 7 64-bit using boot camp onto newly formatted drive giving it a 200gb partition in drive bay 1. Gets through most of the windows setup install then says: 'windows setup could not configure windows to run on this computer's hardware

  • Outlook integration-addon error

    Hi, Following is the error message encountered when we try to start the outlook integration. After configuration  of outlook, when tried to start the add-on exe, following error message was displayed. " CLR error:8007000b. The program will now termin

  • Why does JFileChooser.setSelectedFile behave this way?

    Hello, I'm trying to ovverride the setSelectedFile() method. However in doing so I've discovered the following: Every user selection (single-click on a file/folder) results in two calls: one with the file null, and another with the selected file. Why

  • How to get text Opacity?

    I am able to get the object opacity, but I can not find the way to do the same for the text opacity,can anyone guide me? thank you