Placing ini file in specific location when building the application

Hello,
   I have a small problem.  I have an ini file that I use to store certain parameters.  Lets call this file app.ini.  When I build the Application.exe, it puts that file into the data directory.  I was hoping that it would be one level higher and be located in the same directory as Application.exe is (otherwise it won't read the file correctly.)  I looked at the Source File Settings in the Category list in the properties window for the build and set the Destination to be "Same as caller", but that didn't put it where I wanted it.  I'd really like this file to be one directory higher when I make my build in order for my app to read it correctly.  Any suggestions?
I use this executable later on when I make my installer and the problem simply propagates there too, not good.
Solved!
Go to Solution.

One way to solve the problem:
1) In build properties window select Destinations and create a new destination. Select as "Destination Path" the same dir where the exe will be stored
2) Assign this destination to the .ini file.
Let me know if it works
Marco

Similar Messages

  • 5th generation ipod not detected by my windows xp.  works fine on other pc.  performed necessary steps to remove and reinstall itunes but having same issue. is there a driver i can download to pc then direct to that specific location when installing?

    5th generation ipod not detected by my windows xp.  works fine on other pc.  performed necessary steps to remove and reinstall itunes but having same issue. is there a driver i can download to pc then direct to that specific location when installing?

    I have a similar issue - my iPod nano connects and is visible in Device Manager yet invisible in My Computer and iTunes. I've tried everything I can possibly think of to try and solve this myself, all in vain.
    Mine is a nano 4G. I've been using it for quite some time without the slightest problem. I have been using WINAMP instead of iTunes to manage my darling nano.
    Then, one fine day I bought a new computer and the nano would not show up in My Computer, though the nano display shows "Do not disconnect". On my old computer it worked (and still works) absolutely fine with win XP as well as with win7 (the later I currently use on my new/problematic computer, which I bought last summer and that's how long I've had this problem).
    Of course, after several first attempts I gave up and installed iTunes. I've tried using the Apple support article "iPod not recognized in 'My Computer' and in iTunes for Windows":
    - reset
    - fully charged,
    - cable works fine on two other computers
    - in normal or disk mode makes no difference
    - tried to find anything useful in the diagnostics mode
    - reinstalled iTunes several different times since then to the latest version
    - I've unplugged every other USB device except for my mouse and keyboard and tried several different USB ports on my motherboard (USB 3.0 and conventional), as well as trying different USB- related options in my BIOS.
    - I've never used any Mac with this ipod
    - I've tried fiddling with the win7 Services by stopping and restarting them and of course
    - uninstalling the iPod drivers in Device Manager. After such an uninstall the ipod would automatically be recognised and "ready for use", i.e. being invisible in My Computer.
    - Attempted to find any possible third-party conflict with msconfig or the possibility that my ipod is being confused for a network drive (for which I've disconnected my HDD, leaving only my SSD with the OS).
    Sometimes, iTunes would note that iPod service (or something, can't remember exactly) failed to install properly and asked to try and repair it. I would click YES! and voila - no change! The ipod would rarely show up in iTunes on my problematic computer like this:
    iTunes would warn me that the nano would need restoring so I would try and do it on my haunted machine upon which iTunes would freeze like you seen in the picture.
    Despite this, I've updated and restored the nano on my father's computer to the latest version without any problems. This though, did not solve my problem in any way.
    I can load music to my nano through my old computer (which for me is a real pain and hassle) and the gadget works normally in terms of its disconnected functionality.
    I've taken my nano to the local service for repair and they said it was fine. Mercifully, they didn't charge for the diagnostics service (gee, thanks for not ripping me off!).
    Here are two screengrabs from my Device Manager
    and Devices and Printers screens on my comp:
    That is my sad story as far as I can remember. It's most likely something with the drivers or something along those lines though I'm out of ideas at this point.
    If you think you have any idea PLEASR HELP, I'M DESPERATE!

  • Reading XML file from specific location&Storing xmldata into related tables

    I am new to xml.
    My requirement is,
    1) Get the xml file from specified location (C:\xmlfiles\ xmldata.xml)
    2)Convert xml data in clob data.
    3)store the data into related table.
    and vice-versa.
    What i did,
    a) I got the data from related tables and converted into xmlformat using SQLX
    b)converted this resultset into clob data and stored as xml file in specific location.
    It uses more then ten tables.
    All this help i got from AskTom site , thanks for that.
    Now i have to do vise-versa, i.e. i have to perform 1), 2), 3) steps........
    Please tell me proper steps to acheive it.
    Thanks in advance for giving your precious time to solve my issue.

    Have you read the"XMLDB FAQ" in this Forum?
    You could use stuff like:
    create or replace directory xmldir as C:\xmlfiles'
    declare
    xmldata xmltype;
    begin
    xmldata := xmltype(bfilename('XMLDIR','xmldata.xml'),nls_charset_id('AL32UTF8'));
      -- etc, etc your code --
      -- --> convert to clob by using for instance getclobval() function
      -- --> then insert the data in your relational table with CLOB column
      -- etc, etc your code --
    end;
    /

  • Whenever you try to save a PDF file to a location other than the default location ('My Documents'), Firefox freezes & you have to go to the 'Task Manager' to exit Firefox and stop the error, so you can load Firefox again.

    Whenever you try to save a PDF file to a location other than the default location ('My Documents'), Firefox freezes & you have to go to the 'Task Manager' to exit Firefox and stop the error. I have Windows XP (Media Center Edition) and all updates (Firefox, Adobe PDF, Microsoft, virus protection, etc) are installed. This has only been a problem since Firefox 4, and isn't a problem in Internet Explorer.

    Hi David,
    Thank you for your detailed question. It sounds like the real issue is pdf files. Are there any antivirus/firewalls that might be blocking this specific file type? or are there any preferences in your control panel that might be blocking this?
    Do you have any stored preferences for PDF files in Firefox?
    *[[Applications panel - Set how Firefox handles different types of files]]

  • When building an application unit tests are added to a support directory

    Why are unit tests (.lvtest files) added to a support directory when building an application? I cannot find a way to exclude them from the support directory.

    I'd imagine this is happening to you because they are in the "Dependencies" section of your project file (*.lvproj). Is this correct?
    If so, you should add them to your project file somewhere. Then you will be able to prevent them from being installed. In my experience LabVIEW grabs files it thinks are nesecary from the Dependencies list and installs them in a support directory. 

  • I get a "vi is not executable" error when building an application.

    I have an ongoing project that has worked fine in the past when building an application. I have recently added some report generation toolkit vis(Excel) and get an error for some of the ni vis and some of my own that call lower level excel vis. The error is that he vi is not executable, however they run fine in the development environment. I do not get this error if I save all vi's into one llb with save with options command and then build. However, when I try to run the app, this error re-appears. Also, do I have to add the dynamically loaded vi's that are part of the toolkit in my build script? Could this be the cause of the problem? If so, what's the best way to find all of them? Any suggestions?

    You have hit in on the nail! You do need to add the dynamically loaded VIs when you are creating an executable from your VI. You need to add _wordsub.lib and _exclsub.lib as dynamically loaded VIs into your executable. Try this and let us know if you have any more problems with it.
    J.R. Allen

  • Error of heads when build the .dll by visual studio 2003

    I am trying to call the dll function in labVIEW which build by visual studio 2003.
    while I compile the basic program in visual studio 2003,the dll will be built successfully,but if I include heads like or in my program, etc.Compiling has the error of ,so the dll can not be built.
    I have trued to look for the solution in NI Discussion Forums,but havent seen the related article about the error of including .
    If someone can answer this for me,that will be a great help,and I'll be so appreciate if anyone get me out
    of the trouble.
    Sean

    I'm a little unclear about your question. What is the exact error that you are receiving and at what point are you receiving it? Is the error occurring when calling the DLL in LabVIEW or is it occurring when building the DLL in Visual Studio? Further clarification about exactly what the problem is and where it is occurring would be a big help!
    Regards,
    E. Sulzer
    Applications Engineer
    National Instruments

  • I have an application on 4 computers. On 3, PDF files open as they should, withing the application. On the fourth the file is placed in "downloads" and then opens in a separate tab on the desktop(not inside the application).

    I have an application on 4 computers. On 3, PDF files open as they should, withing the application. On the fourth the file is placed in "downloads" and then opens in a separate tab on the desktop(not inside the application).  Any ideas on settings that might be causing this? It happens whether the application starts in IE11, Google Chrome or Firefox.
    This happens whether the "client" signs in over the internet or directly to the local host server.
    Thanks in advance

    One thing worth to check out: https://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html

  • When Deploy the Application SDM Password not asking

    Hi Friends,
    I have to instaled NWDS 7.0 S/w in my System and Java (jdk1.5.0_16).
    Now i want to Create One Small Application in NWDS.
    Then i deployed that Application
    in the Deployee output View tab
                Created a temport copy:Test.ear[more]
                Start deployee [more]
    Here SDM Password not Asking.i saw in log file in Worksapce (.metadata folder).The Error will display when deploy the application.
    that Application is not deploy in portal server
    what is problem.how solve this problem.
    !ENTRY org.eclipse.ui 4 4 Dec 29, 2009 11:46:16.562
    !MESSAGE Unhandled exception caught in event loop.
    !ENTRY org.eclipse.ui 4 0 Dec 29, 2009 11:46:16.562
    !MESSAGE Failed to execute runnable (java.lang.NullPointerException)
    !STACK 0
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
         at org.eclipse.swt.SWT.error(SWT.java:2330)
         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:101)
         at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1999)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1733)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    !ENTRY org.eclipse.ui 4 4 Dec 29, 2009 11:46:16.562
    !MESSAGE
    Stack trace of contained exception ***
    !ENTRY org.eclipse.ui 4 0 Dec 29, 2009 11:46:16.562
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
         at com.sap.ide.eclipse.j2ee.engine.util.ProcessNode.getHostAddress(ProcessNode.java:114)
         at com.sap.ide.eclipse.j2ee.engine.util.ProcessNode.getHost(ProcessNode.java:103)
         at com.sap.ide.eclipse.j2ee.engine.EnginePlugin.getHttpHost(EnginePlugin.java:169)
         at com.sap.ide.webdynpro.archivebuilder.ActionTestApplication.getApplicationUrl(ActionTestApplication.java:150)
         at com.sap.ide.webdynpro.archivebuilder.ActionTestApplication.access$100(ActionTestApplication.java:27)
         at com.sap.ide.webdynpro.archivebuilder.ActionTestApplication$TestRunnable.run(ActionTestApplication.java:272)
         at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:98)
         at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1999)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1733)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)

    Hi
    - Install JDK 1.4.
    - Launch NWDS with the JDK. For example, you can provide the following command line argument for this:
    "D:\Program Files\SAP\IDE\IDE70\eclipse\SapIde.exe" -vm "D:\j2sdk1.4.2_10\bin\javaw.exe"
    BR, Siarhei

  • Print program is not getting triggered when saving the application

    Hi all,
    My requirement is when i save the invoice using VF01 the print program should get triggered.
    The print program is not getting triggered when saving the application even when i have configured the outtype and have attached the print program.
    The setting "send immediately (when saving application)" is also checked.
    I need to configure it for VF01 transaction.
    The error message displayed was " please maintain output device in master data".
    Regards,
    Umesh

    Hi Umesh
    Please check if you have missed any of the following:
    1. Defining Access Sequence(can use existing).
    2. Defining Output Condition Type(can use existing). - Assigning the Driver Program and Form in processing routine.
    3. Output Determination Procedure
    4. Assign Output Procedure to Billing Types
    Kind Regards
    Eswar

  • I installed opera Mini Web browser 6.0.1. When open the application only blank page coming. Please provide solution. Kind Regards Nias Ahamed

    I installed opera Mini Web browser 6.0.1. When open the application only blank page coming. Please provide solution. Kind Regards Nias Ahamed

    If you have an internet connection (e.g., Safari works) try here:
    iOS: Troubleshooting applications purchased from the App Store

  • Can't open PDF file from iBook on MAC. error "The application "ACDSee Pro" can't be opened."

    Can't open PDF file from iBook on MAC. error "The application “ACDSee Pro” can’t be opened."

    Hi arewers,
    Do you have Adobe Reader installed, by any chance? If so, are you aware if it was the PPC or Intel version which you installed? In any case, for the time being, have a quick look in 'HD/Library/Internet Plug-ins/' using Finder and see if there's an Adobe plugin lying around. If there is, try moving it out of the folder and restarting Safari.
    Yang

  • ı have installed an application about lock system but the application isnt about lock systm this is an code reader. when ı see the application's pictures this is an lock application but content not same. I have got laid...what shoul I do?

    I have installed an application about lock system but the application isnt about lock system this is an code reader. When ı see the application's pictures this is an lock application but content not same. I have got laid...what should I do?

    semihtinas wrote:
    Please make something these fraudsters
    You're not addressing Apple here. This is a user to user technical support forum. You can submit feedback to Apple here:
    http://www.apple.com/feedback
    Other contact information can be found using the Contact Us link at the bottom right of every page.

  • Add button to PDF Form to save file to specific location

    I have a simple form that is completed daily by various supervisors. I have successfully added a button to the form to email the form which then sends the form to an email group. Now, I'm trying to add a second button to save the form to a network location. I'm looking for this to be a one-click type situation, where the button then saves the form to the specified folder on the network.
    Lets call our form "Form.pdf". I'd like the filename to be "Form - date - time.pdf" where date and time are fields on the form that are completed by the user. The location will always remain the same and will be a UNC path ie \\server\share\filename
    All users are using Acrobat X standard when completing the forms, will be connected to the network and will have permissions to write to the file share.
    This seems like it sohould be easy, but I cant figure out how to do it in Acrobat.
    Thanks in advance for any help.

    It's only possible if you can install a script on the local machine of each
    user. For more info, see this tutorial:
    http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript

  • Placing Flash Video in Specific Location on Web Page

    Hi-
    Basic (I think) question here regarding Flash video on a web
    page created with DW8. I am trying to figure out how to have
    several thumbnail images on the right hand side of the page link in
    such a way that when they are clicked they will play the
    corresponding Flash video file in a player window on the left hand
    side of the page (something like a YouTube page layout). It seems
    like it should be simple enough to link the thumbnail images to the
    videos and then have the videos play in the player at a preset
    location on the page, however, I'll be darned if I can find
    anything on the Adobe site, tutorials, or the Web in general that
    addresses just how to do this. Maybe I'm just putting in the wrong
    search terms. Anyway, if you have any suggestions, tips or
    tutorials you can recommend I would surely appreciate it.
    -=SB

    hi,
    You can video on image click using the simple javascript.
    the script can be like this:
    <script language="JavaScript" type="text/JavaScript">
    function playVideo(val){
    document.getElementById('
    divLayer').innerHTML=
    '<OBJECT
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"\n'+
    ' codebase="
    http://macromedia.com/cabs/swflash.cab#version=6,0,0,0"\n'+
    ' ID=flaMovie WIDTH=320 HEIGHT=240>\n'+
    ' <PARAM NAME=movie VALUE="te.swf">\n'+
    ' <PARAM NAME=FlashVars VALUE="url=' + val+'">\n'+
    ' <PARAM NAME=quality VALUE=high>\n'+
    ' <EMBED src="te.swf" FlashVars="url=' + val+'"\n'+
    ' WIDTH=320 HEIGHT=240 \n'+
    ' TYPE="application/x-shockwave-flash">\n'+
    ' </EMBED>\n'+
    '</OBJECT>\n';
    </script>
    where
    divLayer is div layer insdie the body.
    And, for image click the function can be assigned like this
    <a href="javascript:playVideo(
    flvName.flv' )"> <img
    src="some.jpg"></a><br/>
    In the flash video player(te.swf in this case) you need to
    declare a variable called
    url
    and assign the video contentPath to url.
    I hope this works for you..

Maybe you are looking for

  • Display only latest record

    Post Author: rlivermore CA Forum: Formula (CR v10 Pro) How can I display only the lastest record if there are multiple entries for a specific job number (SO number). I have 2 groups {tblSO.SONumber} and {tblSONotes.LastModified}.  I tried sorting Las

  • Anti-Virus Software on Dell Studio 14z

    Purchased dell studio 14z on Friday here in Wilmington, NC. Dell Box and Best Buy Website stated computer came with Norton Anti-virus 15 month trail. A Norton CD in the box but not pre-loaded on computer with other software like Office and Adobe Read

  • How do I upload excel in contacts

    I recently downloaded my contacts from Microsoft Outlook into excel format. I would like to upload them to the contacts book on my MacBook Pro. Can anyone help?

  • How to add password on 5230

    hii i have been trying to set password on my 5230 following proper steps menu > settings>phone >phone mgmt.>security> phone and sim card> lock code entered default code 12345 and entered a new code got the message code accepted but when i lock the ph

  • I encountered a problem saving a document I just wrote, can someone help me?  See my summary

    I'm having trouble saving a document.  I  copied and pasted a graphic onto the page and was about to save the project when a spinning colorful wheel appeared. It will not allow me to do anything, let alone save the document.  I don't want to loose th