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

RE: [amibroker] VB 6.0 , OLE and 4.70



PureBytes Links

Trading Reference Links

There is a .tlb file on the amibroker site somewhere. Down load this and
then select it in your references. Other wise you can do late binding
like

Dim oAB As Object
Dim oStocks  As Object
Dim oStock As Object
Dim oQuotation As Object


Set oAB = CreateObject("Broker.Application")
Set oStocks = oAB.Stocks

Etc..

With the .tlb file it is easier:

Dim oAB As Broker.Application
Dim oStocks  As Broker.Stocks
Dim oStock As Broker.Stock
Dim oQuotation As Broker.Quotation

Set oAB = New Broker.Application

Etc..

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of angus_83210
Sent: Tuesday, 19 April 2005 1:03 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] VB 6.0 , OLE and 4.70




Has anyone done OLE Automation with 4.7 and VB 6.0?  I have tried to 
use Broker.exe as OLE Reference in VB but it won't take it.  Any 
sample code or a quick "how-to" would be great.

Thanks

Robert






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 other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links



 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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 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/

<*> 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/