PureBytes Links
Trading Reference Links
|
Hello,
You should keep the SCRIPT running until AQ finishes downloads.
oAQ.GetSymbolsFromAmiBroker()
oAQ.Autoimport = True
oAQ.Source = 0
oAQ.Download()
while( oAQ.DownloadInProgress ) Sleep( 1000 ); // wait for completion !
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "cstrader" <cstrader232@xxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, July 31, 2007 5:09 AM
Subject: [amibroker] Problem calling Amiquote using the object model
> If I open AB and then choose tools -autoupdate quotes, everything is fine.
>
> However, if I try to do the same thing calling Amiquote from vb.net:
> Dim oAQ = CreateObject("AmiQuote.Document")
>
> oAQ.GetSymbolsFromAmiBroker()
>
> oAQ.Autoimport = True
>
> oAQ.Source = 0
>
> oAQ.Download()
>
> Then the download starts fine, but quits after a few seconds. AQ just
> closes up. Any ideas what might be causing this? I'm not sending any
> further commands to AQ.
>
> 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
>
>
>
>
>
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/
|