TJ:

I'm experiencing a problem with OLE and new version.  I use the following
routine (vb6) to zoom in and out of tiled windows to the same zoom level.
This worked fine until 5.02 or 5.03.  Now when I run the routine it
maximizes one of the windows thereby blocking the others. 

    Set objAB = CreateObject("Broker.Application")
    For d = 0 To objAB.Documents.Count - 1
        If objAB.Documents(d).Name = strCurrentTicker Then
            intCurrentDoc = d
        End If
        objAB.Documents(d).Windows(0).Activate
        intResult = objAB.ActiveWindow.ZoomToRange(dteFrom, dteTo)
    Next
    objAB.Documents(intCurrentDoc).Windows(0).Activate
    Set objAB = Nothing


Any idea of how to "fix" this?

TIA

d 

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Janeczko
> Sent: Tuesday, November 27, 2007 8:23 AM
> To: [email protected]
> Subject: [amibroker] AmiBroker 5.03.0 BETA released
> 
> Hello,
> 
> A new beta version is released now:
> http://www.amibroker.com/devlog/2007/11/27/amibroker-5030-beta
> -released/
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> 
> 
> 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
> 
> 
> 
> 

Reply via email to