CS3 WIN How to set starting directory in SDKFolderChooser() ?
Hello?
I would like to choose folder.
But I don't know how to set start directory.
/////// sample source //////
SDKFolderChooser chooser = SDKFolderChooser();
chooser.SetTitle(PMString("select folder"));
chooser.ShowDialog();
if (chooser.IsChosen()) {
Thank you.
byung-wan Jung,<br /><br />You can create a new version of the SDKFolderChooser::ShowDialog() method to get what you want. You will find the source code for SDKFolderChooser in the SDK. It's located in the following path:<br /><br /><ID CS3 SDK>/source/sdksamples/common/SDKFileHelper.cpp<br /><br />Create a new version of the SDKFolderChooser::ShowDialog() method, one where you can pass in a starting folder that can be passed into the DoDialog() call made inside the ShowDialog() method. In the current version, nil is being passed to DoDialog() for the starting folder location.<br /><br />I hope this helps!<br /><br />-- Jim
Similar Messages
-
How to set default directory for SQL LOADER
hi all,
i wanted to know how can we setup a default directory for SQL LOADER if at all we can. i connot place my control and data files in local system and use them at command prompt. rather i wanted to know if we can set default directory that the loader can use. this requirement is basically to enable all the clients to upload the data placed on the server and use the loader utility.
thanks in advance,
BasavrajElla,
You don't say which version of SQL Developer you are using via Citrix, but just setting the SQLDEVELOPER_USER_DIR hasn't worked for a long time (see Re: SQLDEVELOPER_USER_DIR does not function anymore). Also, since version 1.5, the default for the user directory (now set via ide.user.dir as shown below) is under the user profile area (relative to %APPDATA%), which you should be able to write to, even on Citrix.
Assuming that neither of those help, you will need to get whoever installed SQL Developer on the Citrix C: drive to modify the sqldeveloper.conf to have a line like, where the path exists for everyone who will be using the shared SQL Developer (assumes everyone has a H: drive):
AddVMOption -Dide.user.dir=H:\sqldeveloperAn alternative (depending on how you start SQL Developer via Citrix), is to create your own shortcut to start SQL Developer with something like:
sqldeveloper -J-Dide.user.dir="%SQLDEVELOPER_USER_DIR%"theFurryOne -
How to set start/exec props for BIND 9
Hi,
Having problems getting 'named' running as a different user, other than root, using '-u user'. I modified the manifest with the knowledge I gained through man pages/blogs.The start/exec property didn't exist, so had to create and tried to set what I want in there, but no joy.
Could someone give an example of how to set this using scvcfg.
Is there any other good reading out their for SMF ?
Cheers.Hi all,
I just started a quick playing with another approach - not to use the -u option to run named under a different account but let the SMF itself start it under a given user.
I used svccfg -s svc:/network/dns/server:default editprop to edit the user/group properties:
# setprop start/group = astring: (nobody)
# setprop start/user = astring: (nobody)
and kept the # setprop start/exec = astring: (/usr/sbin/named) untouched.
I just added the /etc/named.conf options to change the directory to /var/named and pid-file to named.pid created in this directory, and - of course - I set the /var/named directory permissions to "nobody".
The main problem is that the named service needs to open a privileged port and we need to look up a set of privileges the SMF uses when starts the service. Use
svccfg -s svc:/network/dns/server:default listprop and check the general/action_authorization and start/privileges properties to see what is needed. I put those values to the /etc/user_attr file:
nobody::::type=normal;defaultpriv=net_privaddr,file_dac_read,file_dac_search,sys_resource;auths=solaris.smf.manage.bindNow I can run the service via SMF with the default user "nobody". Of course, we can pick another account created especially for this purpose.
Of course, this example is just a quick start, you may play with the auths and defaultprivs to get a more fine-grained solution... -
How to set nondefault directory for SQL Developer on Citrix (terminal)
Hi
My purpose is that , when I click"open" button on SQL Developer I hope it prompts out a defined diretory rather than the default one.The problem here is I'm using Citrix paltform in the terminal end and hence I don't authorization to do any modification on the C:\ drive (server end)
I got this guide lines from the tutorial but I can reset the rying directory by either way.
To specify a nondefault SQLDEVELOPER_USER_DIR location, do either of the
following:
■ Set the SQLDEVELOPER_USER_DIR environment variable to specify another
directory path.
■ Edit the <sqldeveloper_
install>\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf file
and substitute the desired directory path for SQLDEVELOPER_USER_DIR in the
following line:
SetUserHomeVariable SQLDEVELOPER_USER_DIR
1.After I execute below command on cmd, the variavle has been set but still it navigates to the default directory:
set SQLDEVELOPER_USER_DIR=U:\sql
2.I want to modify the "sqldeveloper.conf " file but since it is located in C: drive I don't have right to modify it.(I'm using terminal as stated above)
Could anyone help me out ??
EllaElla,
You don't say which version of SQL Developer you are using via Citrix, but just setting the SQLDEVELOPER_USER_DIR hasn't worked for a long time (see Re: SQLDEVELOPER_USER_DIR does not function anymore). Also, since version 1.5, the default for the user directory (now set via ide.user.dir as shown below) is under the user profile area (relative to %APPDATA%), which you should be able to write to, even on Citrix.
Assuming that neither of those help, you will need to get whoever installed SQL Developer on the Citrix C: drive to modify the sqldeveloper.conf to have a line like, where the path exists for everyone who will be using the shared SQL Developer (assumes everyone has a H: drive):
AddVMOption -Dide.user.dir=H:\sqldeveloperAn alternative (depending on how you start SQL Developer via Citrix), is to create your own shortcut to start SQL Developer with something like:
sqldeveloper -J-Dide.user.dir="%SQLDEVELOPER_USER_DIR%"theFurryOne -
How to set start of cycle/next planned date at the Maintenance Item level??
Hi All,
We are uploading a bulk of Strategy Maintenance Plans into the system. Each plan has multiple maintenance items and each maintenance item in a plan having different next due dates. Now if we set the Start of cycle at the Maintenance Plan level, then the next due dates of the maintenance items in that plan would be calculated on the basis on Start of Cycle (Common for all) and frequency as set in MPackages in an item Task list. Since each Maintenance item may have different Frequency and next due date, generating a call object while scheduling the plan correctly to satisfy at the Maintenance item level is not seeming possible.
Can someone please suggest as to how do I set the Start of cycle or say Next Planned Date or Last Scheduled date at the Maintenance Item level either through configuration or programmatically.We are working on an SAP 4.6C version.It is urgent!!!hi
i think specifying start of the cycle for each maintenance level is not possible ,since start of the cycle refers to maintenance plan only .
for SAP standard kindly refer the following [link|http://help.sap.com/saphelp_46c/helpdata/en/94/43a968abc011d395bd00a0c93029cf/content.htm]
it is better to create one maintenance item per maintenance plan,if you want to control each maintenance item independently
regards
thyagarajan -
[CS3 Win]: How to get active spread and layer ?
How to get the active spread and layer in an Indesign CS3 document?
I found the answer (I wanted active spread and page):<br /><br />active Spread:<br />InterfacePtr<ILayoutControlData> layoutControlData(gContext->GetContextView(), UseDefaultIID());<br />UIDRef uidRefSpread = layoutControlData->GetSpreadRef();<br /><br />active page:<br />UID uidMyPage = layoutControlData->GetPage();<br />UIDRef uidRefPage(fCHMLDocRef.GetDataBase(), uidMyPage);
-
[CS2/CS3 JS] How to set Default Font for multiple documents
Hello,
How do I set the default font for any new text frames I create.
I have several thousand InDesign templates in which the default font is set to a font that is no longer licenced and therefore requires changing.
I already have a script which will open each template and change the first insertion point of any (empty) text frame to a new font but any new text frames created in these templates still want to use the unlicensed font.
Thanks for any assistance.
Simon Kempfor existing documents:
app.activeDocument.textDefaults.appliedFont = myDoc.fonts.itemByName ('Arial\tBold');
for newly created ones:
app.textDefaults.appliedFont = myDoc.fonts.itemByName ('Arial\tBold'); -
How to set Start-Timecode in a sequence?
I cannot find the "Start-Timcode" option in the new timeline panel.
Where has it gone?
Premiere Pro CC 2014.1
Thanks for any help.The help is your friend. Searching for "start time" took me directly to this page: Adobe Premiere Pro Help | Adding clips to sequences
The last section on that page:
Set sequence start time
By default, each sequence’s time ruler starts at zero and measures time according to the timecode format you specified in the Display Format field of the New Sequence dialog box General tab. However, you can change the starting time of the sequence’s time ruler. For example, you may want to set the start time to match a master tape, which typically begins at 00;58;00;00, to accommodate a two-minute leader before the standard program start time of 01;00;00;00.
In a Timeline panel menu, choose Start Time, and enter a starting timecode, and click OK. (The starting time must be a positive number.) -
Set Active Directory Folder Permission
We have added a Lion server to an active directory domain, however I cannot determine how to set Active Directory permissions on shared folders on the Mac. Ideally we want our windows users to access shared folders on the Mac however we would like to lock them down so we can restrict some users.
Is anyone able to point me in the right direction?
Thanks in advance.Similar Discussion:
How i can update thumbnailPhoto AD attribute with powershell?
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/403cda19-7a63-4d95-a273-8f7885e836cd/how-i-can-update-thumbnailphoto-ad-attribute-with-powershell?forum=ITCG
Regards,
Rafic
If you found this post helpful, please give it a "Helpful" vote.
If it answered your question, remember to mark it as an "Answer".
This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion in a test environment before implementing! -
How to set registry for sql client on win...
Hi.
how to set registry for sql client on win fro work with Ukranine
charset.
I got such problem
nls_language set to American_Ukranine.clmswin1251 on client
this give me ukraniane char.
but it override all my settings in initsid.ora this mean
nls_date_format=DD-MON-YYYY
nls_date_languages
twhen I type select sysdate vrom dual answer is 11-jun-99, but
not 11-(ukr month)-1999;
What should I correct in regestry? ( i don't like to do alter
session set..... each time I start sqlplus )
Thank You in advice
nullyou can create method on Application Module and to Client listener
like
public Object[] getData(Number n,Date d)
Object val[]= new Object[2];
String sp = "{? = call get_data(?,?,?)}";
Connection conn = null;
CallableStatement proc = null;
try {
// conn = isConnSupplied ? userConn : ResourceManager.getConnection();
proc = getDBTransaction().createCallableStatement(sp,0);
proc.registerOutParameter(1, OracleTypes.Number);
proc.setObject(2,12);
proc.setObject(3,dateobj);
proc.registerOutParameter(2, OracleTypes.VARCHAR);
proc.executeQuery();
int amttext= proc.getInt(1); //for return value
String msg=proc.getString(2);//for out param
val[0]=amttext;
val[1]=msg;
catch(Exception e)
System.out.println(e);
return val;
}and access this method from backing bean using following code-
BindingContext bindingctx=BindingContext.getCurrent();
BindingContainer binding=bindingctx.getCurrentBindingsEntry();
OperationBinding operationBinding1 = binding.getOperationBinding("getData");
operationBinding1.getParamsMap().put("n",anyno);
operationBinding1.getParamsMap().put("d",dateobj);
operationBinding1.execute();
String vval[] =(String[])operationBinding1.getResult(); -
I've had a hard drive crash and put in a new one. However iTunes has or list all of them from my old drive. How do we re-set the directory?
You can re-download the software from Download CS5.5 products
Install and enter your serial number when prompted.
Find your serial number quickly -
How to set a specific starting time for the falling snow code snippet
Hi everyone
I want to use the falling snow code snipet but I don't want it it to start as soon the movie starts.
So how to set a specific time to start the falling snow?
Thanks
Patriciaput the code (that's not in a function body and excluding variable declarations and import statements) in a function body and call it using the timer class.
-
In Transaction code va41 how to set default sales contract start date
Hi ,
In Transaction code " VA41 " how to set default sales contract start date and end date.
Can any one tell me the correct user exit for the same.
Thanks
Basuhi,
u have to use user exits or badis.
use sutable exits mentioned below.
SDTRM001 Reschedule schedule lines without a new ATP check
SDVFX006 User exit: Tax line (transfer to accounting)
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
Edited by: katigiri linganna on Apr 28, 2009 12:19 PM -
How to start weblogic in debug mode ? and how to set the eclipse in the deb
how to start weblogic in debug mode ? and how to set the eclipse in the debug
Put this in JAVA_OPTIONS :
Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=3999,suspend=y,server=y
After restarted weblogic, in eclipse set your breakpoint , open debug perspective then choose Remote Java Appliction and configure Connection Properties (host=localhost and port=3999) -
How to Set A Default Start Time For New Events In Calendar?
How to Set A Default Start Time For New Events In Calendar?
John,
Thanks for that suggestion - could not get it to work. However, I did manage a different approach. I finally determined the sequence of events in terms of how the various events and listeners fire (I think).
Basically, the CalendarActivityListener fires, followed by the listener associated with the Calendar object's Create facet, followed finally by the CalendarEventListener - the final is where the TriggerEvent is available and then finally, control is passed to the popup/dialog in the Create facet. So, my approach of trying to set/get the TriggerDate in the user's HTTP session was doomed to failure because it was being get before it had been set :(
Anyway, I ended up adding a bit of code to the CalendarEvent listener - it grabs the current BindingContext, navigates through the DCBindingContainer to derive an Iterator for the ViewObject which drives the calendar and then grabs the currently active row. I then do a few tests to make sure we're working with a "new" row because I don't want to alter start & end dates associated with an existing calendar entry and then I define the Start and End dates to be the Trigger Date.
Works just fine. Snippet from the listener follows
BindingContext bindingContext = BindingContext.getCurrent();+
*if ( bindingContext != null ) {*+
DCBindingContainer dcBindings = (DCBindingContainer) bindingContext.getCurrentBindingsEntry();+
DCIteratorBinding iterator = dcBindings.findIteratorBinding("EventsView1Iterator");+
Row currentRow = iterator.getCurrentRow();+
if ( currentRow.getAttribute("StartDate") == null)+
currentRow.setAttribute("StartDate", calendarEvent.getTriggerDate());+
if (currentRow.getAttribute("EndDate")==null)+
currentRow.setAttribute("EndDate", calendarEvent.getTriggerDate());+
*}*
Maybe you are looking for
-
Not able to generate bdocs in generic program
Hi Experts, We made a generic program to change the status of leads(order) in SAP CRM 7.0 system. It is working fine all leads status is changing but BDocs are not generated for that changes done by generic program. Please guide us for solution to ge
-
Hi everyone, I need your help to meet some requirement that I have to do and is the follow: I need to printout a payment advice in csv format for a kind of vendors and this is going to be regardless of the payment method. the problem that I have is t
-
My scenario ....
My experience with XI is none but i'm responsable of it in a sapnish company. I went to the sap training one month ago. The training consisted in TBIT40 and TBIT44 (only a part). Everything was OK because SAP was configured properly. The problem was
-
Been using AE CS5 and loving it, but wish there were a couple of more features... -- shadow color for 3D lights. not only control the color of the light, but of the shadows they create (like in Lightwave and other 3D packages) -- more user friendly
-
i cant run the programme as my c++ is having the error where all the source files cannot be opened. How can i fixed it?