PureBytes Links
Trading Reference Links
|
Hi Cassian,
I am caught in same place as ur query.AB.Import function is failing
and returns the value of 0. I am using flwg format
ab = CreateObject("broker.application")
For Each foundFile As String In Mydir
Dim ret As Long = ab.import(0, foundFile, formatname)
MsgBox(foundFile + CStr(ret))
Next
ab.refreshall()
ab.savedatabase()
ab.QUIT()
When i used it for first time it updated my database but has been
failing since.i have stopped broker.exe using task manager, but still
the importing isnt sucessful.
I have tried importing data using same format file and same data file
using Import Ascii manually in AB and that is successful.
Can u tell me any workaround u have found for this problem.
When i try ab.visible=true then i can see two ab instaces in task
manager.
BB)Have u tied ascii plugin as given in ADK.i tred using that even
for importing data.but that plugin isnt showing in the plugins list
when i open database settings. i have put ascii.dll to plugins folder
but havent changed any other setting.
Am i missing sumthing here.
I am running Ab 5.0 and using VB application to import EOD as well as
intraday data using diff modules.
Rgds
--- In amibroker@xxxxxxxxxxxxxxx, "cassianoqs" <cassianoqs@xxx> wrote:
>
> RefArrayName = ParamStr("Ref. Array name","DateRef");
>
> RefArrayPath = "C:\\Program Files\\AmiBroker\\CustomData\\";
>
> RefPathName = RefArrayPath+RefArrayName+".txt";
>
> AB = CreateObject("broker.application");
>
> AB.Import(RefPathName, "Custom1.format");
>
>
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "Prashanth" <prash454.ta@> wrote:
> >
> > Which Code?????????????
> >
> > Prashanth
> > ----- Original Message -----
> > From: cassianoqs
> > To: amibroker@xxxxxxxxxxxxxxx
> > Sent: Friday, September 21, 2007 11:13 PM
> > Subject: [amibroker] Tomasz, what is wrong with the code?
> >
> >
> > Please advice,
> >
> > Thanks...
> >
>
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|