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

Re: [amibroker] Automation interface



PureBytes Links

Trading Reference Links

Hello,

Try CStr 

AA.LoadFormula ( CStr( "AFL\AutoAfl\" + SystemName ) )

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "leonardot19" <leo.timmermans@xxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, October 19, 2003 7:49 PM
Subject: [amibroker] Automation interface


> Tomasz,
> 
> It seems that the in OLE Automation through VB the
> LoadFormula argument needs to be hardcoded. Is this true?
> 
> >  SystemName = "sys3.afl"
> >  AA.LoadFormula ("AFL\AutoAfl\" + SystemName)
> 
> works allright.
> 
> But if 
> >  SystemName = txtSystemName  (=input txtbox on userform)
> >  AA.LoadFormula ("AFL\AutoAfl\" + SystemName)
> 
> does not work?
> 
> Why ??
> 
> Thanks
> Leonardo
> 
> 
> 
> 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/ 
> 
> 
> 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/Tq9otC/XP.FAA/3jkFAA/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/