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" <[EMAIL PROTECTED]> To: <[email protected]> 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 > > > > >
