Location of the configuration file with the FDK
Y at - it a way to determine the directory a DLL created from the FDK is loaded from?
I need to persist a few associates data with my DLL and thought putting a file in the same directory would be the most logical place to put it. It guarantees also the directory exist and I don't have to create a place randomly to my config file.
Thank you
m
You can surely find the installation of FrameMaker with the FO_Session object directory... I have never had any problems using the FP_FM_HomeDir property. With this, you should be able to build a path to your DLL file, if you always know it will be something compared to FrameMaker installation directory. All my plugins work this way... one of the first things they do is to set the parameters of the file Path (s) based on FrameMaker installation directory and store them for the rest of the session. A call might look like:
homeDir = F_ApiGetString (0, FV_SessionId, FP_FM_HomeDir);
There is no direct API for reading text files, at least in the FDK. You can use the F_Channel functions, well that, to build your own routines for reading and parsing text files. There are enough examples in the FDK ref.
Russ
Tags: Adobe FrameMaker
Similar Questions
-
How to open a configuration file with a relative path?
I want to open a configuration file when my application is initialized (first 'State', you can tell) and I use 'Open file.vi Config' and tried to pass the path of the config as 'data\myconfig.ini' and the 'File exists?' vi gave no error (simply, the exit is 'false') but the config Open leader gave an error.
If I spend an absolute path "D:\xyz\xyz\myconfig.ini", it works fine. Is not is it possible to use the "relative path" I recall using it before searching for other tasks?
I'd rather have this file in the folder "data" my application setup will create the destination directory during the installation of the application, because it won't be easy when I want to ask the user to open and modify. Or, I just put it in "C:\". "that exists on all windows computers, but it would be too open.
Thanks in advance!
hope this helps:
-
location of default configuration file through the APEX
Hey people, does anyone have a solution to the following problem:
Another developer needs a downloaded file from a particular folder, not a local on their local computer but a folder on a server folder. They want the browser control of default file from this server for the user folder to look for the file required for the download.
It is in 5 APEX, using the version of Firefox 38.4 ESR...
Thank you
Tony Miller
Los Alamos, NMTexasApexDeveloper wrote:
Hey people, does anyone have a solution to the following problem:
Another developer needs a downloaded file from a particular folder, not a local on their local computer but a folder on a server folder. They want the browser control of default file from this server for the user folder to look for the file required for the download.
Hi Tony
What is voluntarily prohibited for security reasons, in the same way that the name of the file cannot be manipulated using JavaScript etc.
-
How can I best configure files with external SSD?
Hello
I want to install an external SSD as boot on an iMac of 2012 drive, but I don't have enough space for all my files and documents.
I plan on backup and by installation tasks and using the migration wizard to change apps and accounts internal users through the SSD from the HARD drive.
The main question is my videos, pictures (including the photo library) and iMovie projects (and associated files), so I was planning on uncheck the video files and images in the for the corresponding user accounts migration wizard.
My questions are:
1. This sounds like a reasonable plan?
2. what happens to the folders/files I leave on the drive HARD internal and how I "reconnect" them with the OS on the SSD? *
* i.e. is there a new folder of videos or photos on the SSD and in the Finder, or Mac would automatically know they were still on the internal drive?
Thank you
Why not just get a larger SSD
-
change the value of the location attribute in db jca file with the configuration file
Hello
How can I change the value of attribute of 'place' in the jca adapter db file by using the configuration level if possible?
I have the database map file where the first two lines are:
< name of the adapter-config = "getParty" = 'Database adapter' adapter wsdlLocation = "getParty.wsdl" xmlns =" " http://platform.integration.Oracle/blocks/adapter/FW/metadata ">
< connection-factory location = ' ist/DB/CRP1"UIConnectionName ="crp1_apps"adapterRef =" "/ >
...
I need to replace the configuration file
EIS/DB/CRP1
with
EIS/DB/DEV
but this isn't the case. I think that I am not referencing correctly but I don't know how he is correct, that I couldn't find examples for composites and wsdl content, JCA file.
Please share the idea.
Thank you
Anatoliy
Anatolly salvation,
You can assign a new value to the property of JCA by using either the Ombudsman as BPEL.
Pick click entitled value option and add the right attribute to the property JCA jca.db.DataSourceName.
In BPEL will zoom click the invoke for the DB adapter, go to the Properties tab and add the right attribute to the property JCA jca.db.DataSourceName.
(edit)
If you want to use a configuration file to set the value, I suggest a BPEL property, the value can be replaced by using a configuration file and can be assigned to the JCA property using ora: getPreference ("prefName as string");
When you use a mediator does not have a preference, and you can use a placeholder that you change when you compile the SCA composite. With ANT in combination with hudson, you can easily replace the value (hard) by the environment.
See you soon,.
Robert van Molken
Specialist of the integration of Oracle
Post edited by: robertvm
-
Hi, I tried to sync files between my laptop and a pc on the network. Am not able to set up a 2-way synchronization. In addition, not able to set the location of the folder offline on my laptop
Hi Anand Singhania,
Thank you for using the Microsoft Windows Vista Forums.
In Windows, sync (short for synchronization) is the process of keeping files in two or more locations matched with each other.
In two-way sync, files are copied in both directions, keeping files synchronized in two different places. Whenever you add, change, or delete a file in both locations, the same change occurs in the other sync location. It's okay if you have made the changes on a computer, a mobile device or a folder on a network server; the same changes will be made at both locations. Two-way synchronization is commonly used in work environments, where files are often updated in multiple locations and then synced with other locations.
Where can I sync?
Sync Center is the place to go to synchronize your computer with network folders, mobile devices and compatible programs. Sync Center can keep automatically your files and folders synchronized in different places.
Open Sync Center by clicking the Start button, tap all programs, accessories, and then clicking on of Sync Center.
Sync Center is a feature of Windows that allows you to keep information synchronized between your computer and files stored in folders on network servers. They are called offline files because you can access them even when your computer or the server is not connected to the network.
For more information, see work with network files when you are offline.
See the links below for more information on synchronization.
Sync Center: frequently asked questions
http://Windows.Microsoft.com/en-us/Windows-Vista/Sync-Center-frequently-asked-questions
How to maintain your information is synchronized
http://Windows.Microsoft.com/en-us/Windows-Vista/how-to-keep-your-information-in-sync
Sync Center: recommended links
http://Windows.Microsoft.com/en-us/Windows-Vista/Sync-Center-recommended-links
Please post back and let us know if it helped to solve your problem.
Kind regards
KarthiK TP
-
I use log4j with weblogic
I want to change the location of the log file in File Appender.
I have tried providing another place but it will create the file in the same place in mydomain
even if it has been changed in the log4j.xml.
No idea why it's happening or what I can do to change the location of my log File? Thank you!
Everything is perfect just replace '-' with "/" in the given file path.
-
This is a double post of a following:
-
Good morning friends,
So for my work, I need a script to open files with the same name but located in a different folder. But since I'm a total noob when it comes to programming, I can't understand how do. That's what I have in mind:
-J' I manually open an image.
-The script will look for a file with the same name in another folder that I've specified.
-The script will then select the channel CMYK of the second file and copy and paste it into the first file.
-The second file is then closed without saving the changes.
I have problems with the part where the script searches for a file with the same name as the opened file. I would really appreciate help. Thanks in advance.
If (app.documents.length > 0) {}
myDocument var = app.activeDocument;
var Nomdoc = myDocument.name;
try {var basename = docName.match (/(.*)-.)} [ ^\.] +$/)[1]}
catch (e) {var basename = thedoc.name};
var path = / * path of folder to insert as a string here * / + ' / ' + base name + / * insert file extension, including the period as a string here * /;
If (queue (path) .exists == true) {var otherDocument = app.open (File (path))};
};
-
How to create the file on a location where the user with rights?
Hello
I have a requirement in my application a lot of program thatcreating a report to a file and it is written in a user's location. Now he specified directly as (c:\ or d:\...).
The problem is that the user does not have right to access that directory. What I suggest, or I want to create is special reports on a location where the user with rights.
Essentially in Windows system % UserProfile % having right to do anyting. Assume that the operating system that is installed in C: the % UserProfile % c:\documents and Settings\nom_utilisateur or D: then D:\Document and user Settings\nom.
How do I get this help please me.
Good help will be appreciated.
IqbalHello
The best practice would be to create the file in My Documents for the user currently logged in windows.Unfortunately, you did not mention your version of forms. In an older version like 6.x it is function in the library of d2kwutil called Read_Registry in the win_api_environment section, and in the more recent versions the same availble function in the library webutil to client_ name.
So, you can read the registry database for the current logged in user using the function mentioned above of the location next to the register.
My Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell foldersThere is an entry named personal. Read the path of this entry when running while generating / record file to the customer's location and save the file in this path.
-Clément
-
Save the ascii with configuration file
I have a text (original file) file (separator = vbtab) with the following structure:
First line contains the names of channel and other lines are given
Name1 Name2 Name3...
DFR 45.4 17/05/2009...
fgh 34.1 13/04/2008...
. . .
. . .
. . .
(1) for the loading of data, I use *.stp Filter and I create my strings containing data:
Group1/Name1;
Group1/Name2;
Group1/Name3;...
(2) I have change some values in my channel.
(3) I need to export my strings in a text file with the same structure of my original text file.
I usually use: writeline OpenTextFile method...
It is possible to save the data of my strings in a text file with the structure of my original file and use a filter (even .stp) or other methods and do not write each line in a text file?
Thank you
Yustas
Perhaps these lines help
Option Explicit
protected csvFilename: csvFileName = "D:\temp\EXAMPLE.csv".
DataFileSave "" & replace (replace (csvFileName, "&", "&"),"<", "<")="" &="">",> "& _)
"tab DD/MM/YYYY HH: mm: " & _
'Yes 1 ', 'CSV '.Greetings
Andreas
-
Configure the account for children, but I can't share file with the admin profile
original title: 2nd user is set up, but nothing works well
I implemented a 2nd user acct to my children, but the internet does not work well. It is there no parental control over again. I can't share files with the profile administrator (adobe flash player) and I can't download them either. Nothing works directly in the new user account help?
Hello
· What type of user account that was created (Standard or administrator)?
· Internet works fine on the other (former administrator) account?
You can go through the links below and check the basics of sharing files and see if that helps.
http://Windows.Microsoft.com/en-us/Windows-Vista/file-sharing-essentials
http://Windows.Microsoft.com/en-us/Windows-Vista/sharing-files-with-the-public-folder
You can also try to create a new user account and check if the problem persists. To create a new user account
http://Windows.Microsoft.com/en-us/Windows7/create-a-user-account
Hope this information is useful.
Amrita M
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
Photo Gallery can't open the photo because you are not allowed access to the location of the file
Photo Gallery can't open the photo because you are not allowed access to the location of the file some of the image are open
Click on the folder and change your permissions for it and all subfolders and files all rights and if necessary take hand the case (and maybe the parent folder or even its parent - and all of the subfolders and files) until you have the permission you need. Here are the general procedures to help you:
To view your permissions, right-click on the file/folder, click Properties, and check the Security tab. Check the permissions you have by clicking on your user name (or group of users). Here are the types of permissions, you may have: http://windows.microsoft.com/en-US/windows-vista/What-are-permissions. You must be an administrator or owner to change the permissions (and sometimes, being an administrator or even an owner is not sufficient - there are ways to block access (even if a smart administrator knows these ways and can move them - but usually should not because they did not have access, usually for a very good reason).) Here's how to change the permissions of folder under Vista: http://www.online-tech-tips.com/windows-vista/set-file-folder-permissions-vista/. To add take and the issuance of right of permissions and ownership in the right click menu (which will make it faster to get once it is configured), see the following article: http://www.mydigitallife.info/2009/05/21/take-and-grant-full-control-permissions-and-ownership-in-windows-7-or-vista-right-click-menu/.
To resolve this problem with folders, appropriating the files or the drive (as an administrator) and give you all the rights. Right-click on the folder/drive, click Properties, click the Security tab and click on advanced and then click the owner tab. Click on edit, and then click the name of the person you want to give to the property (you may need to add if it is not there--or maybe yourself). If you want that it applies to subfolders and files in this folder/drive, then check the box to replace the owner of subcontainers and objects, and click OK. Back and now there is a new owner for files and folders/player who can change the required permissions. Here is more information on the ownership of a file or a folder: http://www.vistax64.com/tutorials/67717-take-ownership-file.html. To add take ownership in the menu of the right click (which will make it faster to get once it is configured), see the following article: http://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/.
Good luck and I hope this helps!
Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
-
Can't download Windows 7 Pro 64 bit Disc Images (ISO files) with the license product key
A few months ago, I bought a laptop with Windows 7 Pro 64 bit pre-installed, used with supplied installation disc. There is a hologram sticker COA affixed to the laptop with a product key. I used this key to activate the phone without problem. I was then able to install SP1 and various other updates over time.
Recently, I decided that I should have a Windows installation disc (Windows Update has slowed to a crawl and doesn't, and I maybe to repair or reinstall it with the disk).
I have entered my product key on Microsoft Web page to 'Download the Windows 7 disc Images (ISO files)'. But I got an error message:
"The product key you have entered seems to be for software pre-installed by the manufacturer of the device. Contact the manufacturer of the software device for recovery options. »
Running 'Winver' shows that my product is authorized.
Running "slmgr.vbs - dli" shows the partial product key and license status "allowed."
MGADiag.exe output is:
Diagnostic report (1.9.0027.0):
-----------------------------------------
Validation of Windows data-->Validation code: 0
Code of Validation caching online: 0x0
Windows product key: *-* - T4RFK - DC6WJ-HJRQD
Windows product key hash: p/QwvU1kRkh5Mvkrjx1O7/TkC5M =
Windows product ID: 00371-OEM-9083357-81357
Windows Product ID Type: 3
Windows license Type: OEM System Builder
The Windows OS version: 6.1.7601.2.00010100.1.0.048
ID: {4C14EEF4-C713-4399-8265-5E06431E2549} (1)
Admin: Yes
TestCab: 0x0
LegitcheckControl ActiveX: N/a, hr = 0 x 80070002
Signed by: n/a, hr = 0 x 80070002
Product name: Windows 7 Professional
Architecture: 0 x 00000009
Build lab: 7601.win7sp1_ldr.151230 - 0600
TTS error:
Validation of diagnosis:
Resolution state: n/aGiven Vista WgaER-->
ThreatID (s): n/a, hr = 0 x 80070002
Version: N/a, hr = 0 x 80070002Windows XP Notifications data-->
Cached result: n/a, hr = 0 x 80070002
File: No.
Version: N/a, hr = 0 x 80070002
WgaTray.exe signed by: n/a, hr = 0 x 80070002
WgaLogon.dll signed by: n/a, hr = 0 x 80070002OGA Notifications data-->
Cached result: n/a, hr = 0 x 80070002
Version: N/a, hr = 0 x 80070002
OGAExec.exe signed by: n/a, hr = 0 x 80070002
OGAAddin.dll signed by: n/a, hr = 0 x 80070002OGA data-->
Office status: 109 n/a
OGA Version: N/a, 0 x 80070002
Signed by: n/a, hr = 0 x 80070002
Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3Data browser-->
Proxy settings: N/A
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
Default browser: C:\Program Files (x86)\Opera\launcher.exe
Download signed ActiveX controls: fast
Download unsigned ActiveX controls: disabled
Run ActiveX controls and plug-ins: allowed
Initialize and script ActiveX controls not marked as safe: disabled
Allow the Internet Explorer Webbrowser control scripts: disabled
Active scripting: allowed
Recognized ActiveX controls safe for scripting: allowedAnalysis of file data-->
Other data-->
Office details:{4C14EEF4-C713-4399-8265-5E06431E2549} 1.9.0027.0 6.1.7601.2.00010100.1.0.048 x 64 *-*-*-*-HJRQD 00371-OEM-9083357-81357 3 S-1-5-21-3520213738-3859511033-2211005491 LENOVO 4236WQX LENOVO 83ET67WW (1.37) 20111128000000.000000 + 0002F983A07018400FE 0409 0409 Time(GMT-05:00) Standard is 0 3 LENOVO TP-83 109 Content Spsys.log: 0 x 80070002
License data-->
The software licensing service version: 6.1.7601.17514Name: Windows 7 Professional edition
Description: operating system Windows - Windows (r) 7, channel OEM_COA_NSLP
Activation ID: e120e868-3df2-464a-95a0-b52fa5ada4bf
ID of the application: 55c92734-d682-4d71-983e-d6ec3f16059f
Extended PID: 00371-00180-833-581357-02-1033-7601.0000-0222016
Installation ID: 016701927914422105784524691096299435828995105123811821
Processor certificate URL: http://go.microsoft.com/fwlink/?LinkID=88338
The machine certificate URL: http://go.microsoft.com/fwlink/?LinkID=88339
Use license URL: http://go.microsoft.com/fwlink/?LinkID=88341
Product key certificate URL: http://go.microsoft.com/fwlink/?LinkID=88340
Partial product key: HJRQD
License status: licensed
Remaining Windows rearm count: 2
Time to trust: 11/05/2016-16:52:28Windows Activation Technologies-->
HrOffline: 0x00000000
HrOnline: 0x00000000
Beyond: 0 x 0000000000000000
Event timestamp: 4:25:2016 15:40
ActiveX: Registered, Version: 7.1.7600.16395
The admin service: recorded, Version: 7.1.7600.16395
Output beyond bitmask:--> HWID data
Current Hash HWID: MgAAAAIAAgABAAEAAAABAAAAAwABAAEAln3cbGKvI + Gilm7BhhAEAtaq3CMWeajwLnM =Activation 1.0 data OEM-->
N/AActivation 2.0 data OEM-->
BIOS valid for OA 2.0: Yes
Windows marker version: 0 x 20001
OEMID and OEMTableID consistent: Yes
BIOS information:
ACPI Table name OEMID value OEMTableID value
APIC LENOVO TP-83
FACP LENOVO TP-83
HPET LENOVO TP-83
MCFG LENOVO TP-83
SLIC LENOVO TP-83
SSDT LENOVO TP-SSDT2
SSDT LENOVO TP-SSDT2
SSDT LENOVO TP-SSDT2
CO-SUBMISSION LENOVO TP-83
ASF! LENOVO-TP-83
TCPA PTL LENOVO
SSDT LENOVO TP-SSDT2
SSDT LENOVO TP-SSDT2
UEFI LENOVO TP-83
UEFI LENOVO TP-83
UEFI LENOVO TP-83If I contact the seller, what what can they give me other than the product key valid I already activated?
How can I download an installation image for the s/w Windows 7 that I activated?
Thanks for your help.
For 5 years, Microsoft made it fairly easy for users of the Windows 7 operating system to get reinstall media. If you have lost your support disc or installation retail collection; either it has been damaged or defective; You can download a copy of the edition that you have licensed from a membership site called Digital River. More recently, Microsoft ended the availability to reinstall media that you can download as a. File ISO in Digital River, which is a digital reproduction of an optical disc.
It was particularly convenient for people who could not easily get the manufacturer's recovery media, did not want to pay the fees required to get or preferred a clean configuration without the software packaged manufacturers or even a recovery partition does not work. It's easy to use, all you had to do was reinstall and reactivate using the product key located on the certificate of authenticity and download all the drivers on the manufacturers website.
Given that this option is no longer available, what are your options? See the article for more details:
How to: What are my options for Windows 7 reinstall media?
Make sure you scroll down and read the section:
What to do if you cannot get your manufacturer recovery media, refuse to use or to buy it or the Microsoft Software Recovery Website does not work?
-
Include the XML file with OTA Download
Is it possible to include an XML file generated with OTA Download? I am writing an app that will be distributed with a web application that comes with it. It must be deployed on individual sites, each with its own public address, configuration settings, etc. The config is specified through configuration of web application and then saved (and later edited/updated) in XML format in the same location as the compiled files jad/cod. This will eliminate the need for the end user specify the public address of the web application so that provide default configuration settings. It will be on BIS and HTTPS. I do not expect BES as the target users will be individuals and small businesses. I'll be providing the source if they want to make changes, but I don't want to require the end user to compile just to use "out of the box', not versions include different OS and compiled the updates I distribute the bugs/feature updates. In addition, it will access some restricted API and they must sign.
If there is another method to achieve this, I am completely open and still at the design stage of list/original feature on the BB side.
Thank you
Song
OK, I wasn't aware of this limitation (I usually code for bes )
other ideas would be:
-Configure the application mail/SMS (or similar), implement a listener for it.
-use a common server and decide what config to use during execution, (by e-mail domain, for example)
Maybe you are looking for
-
Went to Windows Update. Click on it to see if I needed updates. Watch the updates I had need which has been KB2478663 and KB2518870 ranked high priority. Click on it to install it. Icon came after I thought they had installed. Restarted. Now, the ico
-
Hello: I can't delete, move or receive emails in Outlook Express. If I hit my send/receive button, it starts to receive but stops abruptly with the following error message: An unknown error has occurred. Account: 'pop3.mail.wideopenwest.com', server
-
nothing comes after opening a session on windows vista anymore__
What should I do when I connect windows, that nothing comes. Windows was working fine a few days ago now nothing
-
by selecting the video player by default
I know it's easy to do, but I do not know how... I used the Tower of the (desktop) to play an audio CD. Not knowing where he would play she is lacking in Windows Media Player... No problem. All my VIDEO files have been changed to WMP also as default
-
alternative navigator.pushView
Hello I have two points of view View 1 a lot of moveable elements View 2 has some parameters When I drag some elements on the stage and then use navigator.pushview (view2) and then navigator.popView () it goes back to View1 but all the elements that