Open dialoug box by clicking on a button

I want to open the browse dialoug box by clicking on a button.
So that the user can easily browse a particular path that he need.
And by clicking on "ok" button on the dialoug box, i should get that particular path that he gone through the browse dialoug box into a textfield.
So that from the text field, i can take that wholepath into my program and use that path.

The code which u send was working fine and its ok.
But what i have to do is to restrict the user from selecting up to a directory not upto a file.
I mean the code which u send works fine and it is used to select a particular file in a particular path.
But what i need is to select some directory which is present in some other directory.
That path i need to take.
For example:
i am having a directory called data.
it is in d:\giri\test\data.
So i have to provide the user a GUI so that he should able to select that whole path from the open dialoug box and click on ok so that i can take that path( only this path d:\giri\test\data) and continue my program.
ofcourse the data folder contains some more directories and files also.
But the code which u sent is asking me to go furthur to open upto i select a single file and it is displaying all the whole path up to that file.

Similar Messages

  • How can I turn-off the apps which I have opened once in ISO 7.0.2. In previous version of ISO it was easy to turn- the opened apps by double clicking on home button and then click and hold on respective apps then click on cross sign.

    How can I turn-off the apps which I have opened once in ISO 7.0.2. In previous version of ISO it was easy to turn-off the opened apps by double clicking on home button and then click and hold on respective apps then click on cross sign but in this version I could not do so and my iPad appears slower.

    Close inactive apps
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app's windows upwards to close
    3. The app will fly off the screen

  • HELP STATES 5.Click to uncheck the Enable Web Shield box, then click the Apply button, but the AVG indicates "resident shield" ; is that the same?

    Help states 5.Click to uncheck the Enable Web Shield box, then click the Apply button when correcting Firefox. but the AVG info just has "resident Shield". Is that the same item
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; MathPlayer 2.10b; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; OfficeLiveConnector.1.4; OfficeLivePatch.0.0; .NET CLR 3.0.30729; .NET4.0C)

    Which "Help" are are you referring to?

  • Adobe reader opens "save as" box when clicking on save button rather than saving in the same file

    Hi everybody,
    I have a fillable PDF form designed in Livecycle designer and it is reader extended. When I fill that form on MAC it let me fill and save the form as many times as I like. Everytime I make any change I just click the save button it saves changes in the same form. BUT is is behaving differently on Windows. After filling the form out when I click on save button it opens up "Save as " dialogue box to save a new copy with those changes. I have Adobe reader XI and Adobe Acrobat XI installed on windows. I know I can do that with Acrobat but I want that in reader for users who dont have acrobat.
    Please help me.....
    Thanks

    What are you filling out the form with on the MAC?

  • I need help. When i open combo box and click window redrawing (flickering)

    hi,
    I am developing HTML desktop app using adobe AIR.
    Thought i can use it like browser page. Its not able to handle all jquery ,bootstrap etc.
    So removed all . just created a simple form with static combo box with many values.
    When i opened combo box and selected value whole screen redrawing( you can see it flicker). Annoying as hell.
    When i click button or type in input field its not happening.
    Anyone have clue?. I tried this same page in TideSDK ( its not flickering there).
    But i am gona go with AIR because of update feature but i need to get rid of flickering issue before i go any further.
    Anyone here done HTML form in adobe air?
    Please help. I am having headache all day on this issue.
    Advanced Thanks .

    I meant flickering means...when i open combobox and click focus is going out of air window as though combobox is in some another window. once click press mouse down...focus is in combo box but window loses focus and once releases mouse ..window back to focus.  Kinda annoying effect when u try to click on combo box and select.
    Tested with html scout sample app and load any webpage with combobox , window loses focus.
    But any combobox made using EXT it do not flicker because ext handles focus event correctly.
    My windows has set of combo box and user always select different value from combo box if keep losing focus and coming back its annoying as hell.

  • I just updated to Firefox 17.0.1 and now I can't click on a bookmark to open it or open new tab when clicking new tab button.

    In FF 17.0.1 I have several bugs to mention. I am only able to open bookmarks by right clicking them and selecting Open In New Tab from the drop down menu. I am unable to open a new tab by clicking on the new tab button or by clicking open new tab from the FF drop down menu at top of browser. Also, none button work in FF, such as Home, Back, Forward, or refresh. This is so aggravating!!

    After I posted this, I restarted with add ons disabled and it worked..deleted a cpl of addons for compatibility checking and that fixed it.

  • Tried purchasing iTunes music. Put in my apple id and password then i was directed to a 'Terms and Conditions' page. I checked the box then clicked the 'accept' button next page read 'your Session has timed out '  try again  with a Done button to click on

    Tried purchasing music from the iTunes Store. When the window popped up I put in my apple id and password. Then I was directed to a 'Terms and Conditions' page. I checked the box next to the 'Yes I agree to these terms and conditions' - then clicked the 'accept' button next page read 'Your Session has timed out. Try again.'  with a 'Done' button to click on. Oh the same thing happens when i try to download  free iTunes. Yes I have tried & tried it again I even logged off and singed back in-- no joy 
    After accessing my iTunes account I was not able to change anything like my credit card number when I tried and was sent right to the 'Your session has timed out. Try again.'
    The last time I purchased any anything was on September 25th 2011 and the 'terms & conditions' page was last updated on October 12, 2011
    Does anyone have an idea to what is going on with my iTunes version 9.2.1 (5) and I can not upgrade to a higher version my iMac does not have the intel processor chip.Thank you for your time and help with this matter. You are greatly appreciated 

    I am having the same problem also! I posted on here about it, but no one has responded with ideas. I called technical support and e-mailed them, the only suggestions they gave was for the to turn off my firewall. But I didn't change anything, so it shouldn't suddenly stop working. Maybe this is just an iTunes issue? But it doesn't even recognize my account anymore, and I cannot log in now.
    If you happen to get an answer, will you please let me know what works for you?
    Thanks!

  • How to open a window on click of a button?

    Hi,
    I want to open a window(a new browser page) on the click of a button.Can anyone please tell me what i should write in the onAction of the button?
    Regards,
    Padmalatha.K

    hi,
    1.Declare the following in the implementaion of the component controller
    //@@begin others
      IWDWindow modalWindow;
      //@@end
    2.First create a method in the component controller :
    public void createExternalWindow( )
        //@@begin createExternalWindow()
        // create external window
        IWDWindow externalWin = wdComponentAPI.getWindowManager().createNonModalExternalWindow
                                                            ("http://www.google.co.in/", "External");
        //Define window position and dimensions according to acreen parameters
        externalWin.setTitle("Google");
        externalWin.setWindowPosition(WDWindowPos.CENTER);
        externalWin.setWindowSize(1280,850);
        externalWin.show();
        //@@end
    3.Create a button in the view, create an action. assign this action to the button . Now call the method in the view controller.
    public void onActionexternal(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionexternal(ServerEvent)
        wdThis.wdGetPopUpCompController().createExternalWindow();
        //@@end
    Now to create a modal window
    1.Declare the following in the implementaion of the component controller
    //@@begin others
      IWDWindow modalWindow;
      //@@end
    2.Create a new window "NewPopWindow".Declare the following in the implementaion of the component controller.
    public void createModalWindow( )
        //@@begin createModalWindow()
        //creating the window
        IWDWindowInfo winInfo = wdComponentAPI.getComponentInfo().findInWindows("NewPopWindow");
           modalWindow = wdComponentAPI.getWindowManager().createModalWindow(winInfo);
        //display window in centre
        modalWindow.setWindowPosition(WDWindowPos.CENTER);
        modalWindow.setTitle("Modal Window");
        modalWindow.setWindowSize(400,100);
        //opening the window
        modalWindow.show();
        //@@end
    3. destroy the window
    public void destroyModalWindow( )
        //@@begin destroyModalWindow()
        modalWindow.destroyInstance();
        //@@end
    4.Create a button in the view, create an action. assign this action to the button . Now call the method in the view controller.
    public void onActionmodal(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionmodal(ServerEvent)
       wdThis.wdGetPopUpCompController().createModalWindow();
        //@@end
    regards,
    pinki
    Edited by: pinki goswami on Apr 17, 2008 11:42 AM

  • Open new window on click of a button

    Dear All,
    We are using VC for development of Dashboards.
    I have created the related i views.
    First page of dashboard shows all the high level graphs.
    I intoduced a button on the chart to go into details (another Iview)
    I was able to navigate to the next layer on click of button in tool bar and comeback to the first layer again.
    I want to open a new window when I click on the button on the tool bar of chart..
    Is it Possible in VC? Please help us in this regard.
    Points assured in full.
    I have already posted this issue in the forum VC 7.1. But I couldn't get the answer.
    Please Help us.
    Thank You All and Regards
    Joga Srinivasa

    Dear All,
    Sorry for getting back late.
    Thanks for your inputs. Problem is solved using pushbutton. I gave the URL of the second Iview in the hyperlink of the pushbutton system action.
    The problem with the Popup window is that it wont allow you to to go back and choose or analyze other parts of dashboard. so we adopted the pushbutton approach which takes you to another window allowing full access to the main window.
    Once again, Thank you all.
    Points assigned as promised.
    Regards
    Joga

  • How can we open a file by clicking on a button "open"  in a pplet

    Hello all,,,
    I got some code to open a file in jre witout applets ....but i'm in need to open a file (for exmple to open a .txt file in text editor or notepad automatically by clicking on a button);
    Help me out...
    Thank you...

    pradeepprp wrote:
    Hello all,,,
    I got some code to open a file in jre witout applets ....but i'm in need to open a file.. On the server or client?
    ..(for exmple to open a .txt file in text editor or notepad automatically by clicking on a button);Earlier you mention 'open a file in jre', which implies maybe using a JEditorPane or similar to load the file contents into a JVM. Since the system generic 'text editor' and specifically 'notepad' are not embeddable in anything that can be put in a Java GUI, I am now confused as to whether you want to load the file within a Java based GUI or not. Which is it?
    Help me out...Buy me an ice-cream. A nice, big, ice-cream.
    People on forums do not generally take kindly to being told what to do, so it is better to turn commands like that into requests. The way to do that can be as easy as adding 'please' at the start of the command.

  • How can i enable the html:text box when clicking the html:button

    Hi,
    i have a text box which is disabled defaultly and i want to enable it when i click on submit button.
    <html:button property="new" value="new">
    <html:text property="name" disabled="true"/>
    how i will enable that text filed? please tell me?
    Thanks,
    swarupa

    try using javascript onclick attribute:
    onclick="document.form.name.disabled=false"
    m

  • Copy of Item Box - on click of a button

    I need to capture a value in the Item box from a table column only when a particular button is pressed. User needs it there so that he can Edit and update it . Is there a Way to do it.

    If I had not Explained well. I would like to put it in better words.
    * I have a Form for CASE with most of the ITEMS in Read Only Format.
    * I need to Have Empty Text boxes (Item box) where When we Click a button it should pull the value of the one particular column (say Summary of the CASE) from that Read only data.
    * The User should be Able to Edit the Summary part in that text box and the record should get updated with SQL process page process on clicking the apply changes button.

  • How to open a form on click of a button in infopath

    I have created an infopath form on a list. I need to create a button on the pape on click of which the last item created by the user should open. I mean the edit form of that list item should open. 
    How can we do this ?
    Thanks for your response in adv.
    Regards,
    prajK

    Hi,
    Per my understanding, you might want to add a button on a page, when clicking it, the last form which is created by the current user will open.
    As it might require to query the last form created by current user, custom code would be required.
    A solution is that, you can query the URL of the last form created by the current user using JavaScript Client Object Model, generate a button with the URL retrieved
    using JavaScript. Then when user open this page, the button will be created dynamically, user clicks it, the last form created by this user will open.
    More information about JavaScript Client Object Model:
    How to: Create, Update, and Delete List Items Using JavaScript
    http://msdn.microsoft.com/en-us/library/office/hh185011(v=office.14).aspx  
    Common Programming Tasks in the JavaScript Object Model
    http://msdn.microsoft.com/en-us/library/office/hh185015(v=office.14).aspx
    About how to create a button using JavaScript:
    http://stackoverflow.com/questions/7707074/creating-dynamic-button-with-click-event-in-javascript
    Thanks 
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Why is a new tab opening every time I click the home button??? If it doesn't stop, I'm gone after meny years.

    no, you give ME details.

    Is there a new tab in addition to your home page, or does the current page stay the same and the home page opens in a new tab?
    If you haven't already, try resetting your home page. This articles describes the various methods: [https://support.mozilla.com/en-US/kb/How%20to%20set%20the%20home%20page How to set the home page | How to | Firefox Help]

  • On my IPad Air there is a red bar that says Google Recording at the top if I have Google open and I double click on the button at the bottom of the I Pad.  Is this eating up my battery and how do I get rid of it?  I am a novice.

    On my IPad Air there is a red message at the top of the Google screen that says Google recording. Is this eating up my battery and how do I turn it off?  I am very much a novice.

    Google is using your microphone.
    Go to Settings>Privacy>microphone.
    Find "Google" in the list of apps on at that page. Remove permission for that App.

Maybe you are looking for

  • HP7680 inkjet printer prints narrow blank (white) lines in multiple specific parts of page

    My HP7680 inkjet printer prints narrow blank (white) lines in multiple specific parts of each printed page. It appears to happen in the same parts of each page printed. - I installed new ink cartridges - I verified that the paper I'm using is the sta

  • HT4534 Mac Mini HD Video Conferencing

    I am considering purchase of a mac-mini for video conferencing.  This article (http://support.apple.com/kb/HT4534?viewlocale=en_US) refers to "built in camera".  Of course, the mac-mini has no built in camera.  I would be using my HDTV for a monitor.

  • 10.2.0.3 Patch

    Tried to apply the 10.2.0.3 RDBMS patch to 10.2.0.1 Client. Installer stated there is nothing to patch. Is there a separate 10.2.0.3 patch for the 10.2.0.1 Client?

  • HT5654 Ipod disabled and I'm unable to restore it. What should I do?

    I'm not able to restore my daughter Ipod 5 after she disabled it. What should i do?

  • Safari 6.0.4 crashing repeatedly!

    Updated yesterday, and now Safari is crashing about once every five minutes.  I've read in other threads, that SIMBL seems to be the problem.  I have n....(It just crashed again!!)  I have nothing SIMBL installed.  It happens no matter what I'm doing