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

Re: [amibroker] AmiBroker 5.03.0 BETA released (OLE Problem)



PureBytes Links

Trading Reference Links

Hello,

Please don't call Activate() and it should work.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "dingo" <dingo@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, November 27, 2007 6:15 PM
Subject: RE: [amibroker] AmiBroker 5.03.0 BETA released (OLE Problem)


> 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: amibroker@xxxxxxxxxxxxxxx 
>> [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Tomasz Janeczko
>> Sent: Tuesday, November 27, 2007 8:23 AM
>> To: amibroker@xxxxxxxxxxxxxxx
>> 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
>> 
>> 
>> 
>> 
> 
> 
> 
> 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/