[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: xxTool



PureBytes Links

Trading Reference Links

Uenal,

Thanks but that does not seem to work for me, neither does just 
specifying the file.  

Fred

--- In amibroker@xxxxxxxxxxxxxxx, uenal.mutlu@xxxx wrote:
> "progpath with blanks" "file path with blanks as param to prog"
> 
> That is: apply the "rule" on each of the two components, like this:
>  
> xxExec("\"C:\\Program Files\\Microsoft Office\\Office\\Excel.exe\" 
\"C:\\Program Files\\AmiBroker\\ABTool\\Report.csv\"");
> 
> 
> (Note: I've used CSV, change to XLS)
> 
> Between the both components must be a blank.
> 
> But normally you can omit the program name: giving just the file
> will start the associated program automatically.
> 
> UM
> 
> ----- Original Message ----- 
> From: "Fred" <fctonetti@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Monday, June 09, 2003 1:53 AM
> Subject: [amibroker] Re: xxTool
> 
> 
> > Uenal,
> > 
> > Okay I follwed this and I got it to work to bring up Excel ...
> > 
> > But am having trouble with the next step ...
> > 
> > I've I want to define the program and and operand in two parts 
and 
> > put them together for xxEXEC to deal with then how do I do 
that ...
> > 
> > Assume I have the same path as you fro Excel below ... then I 
have ...
> > 
> > ExcelPath = "\"C:\\Program Files\\Microsoft 
> > Office\\Office\\Excel.exe\"";
> > 
> > now I need a way to separately define a file for Excel to open ...
> > 
> > for the sake of argument lets assume it's in c:\Program 
> > Files\AmiBroker\ABTool and has a file name of Report
> > 
> > so I assume I'd want to do something like
> > 
> > WorkSheetName = "\"C:\\Program 
> > Files\\AmiBroker\\ABTool\\Report.xls\"";
> > 
> > and then ...
> > 
> > xxEXEC = (ExcelPath + WorkSheetName) ... but I can't get it to 
work.
> > 
> > Thanks in advance,
> > 
> > Fred
> > 
> > --- In amibroker@xxxxxxxxxxxxxxx, uenal.mutlu@xxxx wrote:
> > > Hi Fred, yes, you must embed paths containing blanks into 
quotes; 
> > ie. "path with blanks"
> > > (you have to do this even on the command line, because otherwise
> > > it would be interpreted as a parameter...)
> > > 
> > > 
> > > Spaces in the program name make problems; here is
> > > the solution:
> > > 
> > > xxExec("\"C:\\Program Files\\Microsoft 
> > Office\\Office\\winword.exe\"");
> > > 
> > > so, one has to embed the whole string in ".."
> > > The escape character \" gives one "      (it is used in front 
and 
> > at the end; see above)
> > > (similar to \\  which gives one \)
> > > 
> > > I'll see if this can be improved in the next version.
> > > 
> > > UM
> > > 
> > > 
> > > ----- Original Message ----- 
> > > From: "Fred" <fctonetti@xxxx>
> > > To: <amibroker@xxxxxxxxxxxxxxx>
> > > Sent: Sunday, June 08, 2003 11:43 PM
> > > Subject: [amibroker] Re: xxTool
> > > 
> > > 
> > > > Uenal,
> > > > 
> > > > Have you had a chance to look into what I asked about ? i.e. 
> > xxEXEC's 
> > > > apparent ?! incapability to deal with long path names in 
finding 
> > an 
> > > > executable ... if they are short then no problem but past a 
> > certain 
> > > > length they seem not to be found or not dealt with properly.  
For 
> > > > example anything even in or below the C:\Program Files\ dir 
seems 
> > not 
> > > > to work. but if I move the module I want to a simpler dir 
name no 
> > > > problem
> > > > 
> > > > Thanks in advance,
> > > > 
> > > > Fred
> > > > 
> > > > --- In amibroker@xxxxxxxxxxxxxxx, uenal.mutlu@xxxx wrote:
> > > > > I told you that exactly twice; go and look at the replies 
(one
> > > > > of them was to Anthony). But if you ignore what was told
> > > > > you then it is your own fault, sorry can't and won't help.
> > > > > UM


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/