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

Re: [amibroker] TJ help with IMPORT



PureBytes Links

Trading Reference Links

Dear Nick,

Have you tried it exactly as I wrote - import call without parentheses?
I checked it in VBA (Visual Basic for Applications) and it works fine:
Set oAB = CreateObject("Broker.Application")
oAB.Import 0, "C:\MyFileToImport.prn", "prnn.format"

You may also use the following syntax
IsOK = oAB.Import( 0, "C:\MyFileToImport.prn", "prnn.format" )

- this time WITH parentheses because of VB stupid distinction
between function and procedure calls.


Best regards,
Tomasz Janeczko
===============
AmiBroker - the comprehensive share manager.
http://www.amibroker.com


----- Original Message ----- 
From: "NIck Iacovelli" <nickhere@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, July 16, 2001 10:26 PM
Subject: Re: [amibroker] TJ help with IMPORT


> DOESNT work it expect a = sign
> oAB.Import 0, "C:\MyFileToImport.prn", "prnn.format"
> 
> 
> At 07:51 AM 7/16/2001 +0200, you wrote:
> >Hello,
> >
> >This is an example of using Import function in VB:
> >
> >Set oAB = CreateObject("Broker.Application")
> >
> >oAB.Import 0, "C:\MyFileToImport.prn", "prnn.format"
> >
> >First argument should be always 0 for ASCII imports
> >Second is a full path to the file
> >Third is a file of the import format to be used (without path) - available
> >format files are located "Formats" subdirectory of AmiBroker.
> >
> >AmiQuote: uses WinInet through CInternetSession MFC class.
> >
> >Best regards,
> >Tomasz Janeczko
> >===============
> >AmiBroker - the comprehensive share manager.
> ><http://www.amibroker.com>http://www.amibroker.com
> >
> >
> >----- Original Message -----
> >From: "NIck Iacovelli" <nickhere@xxxx>
> >To: <amibroker@xxxxxxxxxxxxxxx>
> >Sent: Sunday, July 15, 2001 8:24 PM
> >Subject: [amibroker] TJ help with IMPORT
> >
> >
> > > You have a ami.import feature in the automation
> > > I notice using the import feature is faster than putting the data in 
> > direct.
> > > I need info on how to access it so i can improve AMIenhancer
> > > Also are you using winsock or winnet in amiquote.
> > >
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to 
> > <http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/
> > >
> > >
> > >
> >
> >
> >Your use of Yahoo! Groups is subject to the 
> ><http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
> 
> 
> 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
>