<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1681402288213541171</id><updated>2011-04-21T13:29:38.086-07:00</updated><title type='text'>Resizing Form using Timer vb2005</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://resizingformusingtimer.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1681402288213541171/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://resizingformusingtimer.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>vbnetcode</name><uri>http://www.blogger.com/profile/04926504053784281645</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1681402288213541171.post-3698484741532552424</id><published>2009-02-04T03:18:00.001-08:00</published><updated>2009-02-04T03:18:47.073-08:00</updated><title type='text'></title><content type='html'>Resizing Form using Timer vb 2005&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IDE : VS 2005, VS 2008, &lt;br /&gt;Platform : .NET 2.0, .NET 3.0, .NET 3.5, &lt;br /&gt;&lt;br /&gt;Hello everybody ! &lt;br /&gt;&lt;br /&gt;Today i wanted to resize Form using Timer. I have created new Timer, i have also set the interval which is 100 ms, and everything was okay, so i was expecting, that if i set the interval to 50 ms - then my Form will resize faster. Sadly - i cant get it resize faster, dunno why. There's a code im using below : &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Code: &lt;br /&gt;  &lt;br /&gt;Public x as Integer = 192 &lt;br /&gt;&lt;br /&gt;Me.TimerForm.Start() &lt;br /&gt;Me.TimerForm.Interval = 20 &lt;br /&gt;&lt;br /&gt;'here Timer code : &lt;br /&gt;&lt;br /&gt;Private Sub TimerForm_Tick(ByVal myObject As System.Object, ByVal e As System.EventArgs) &lt;br /&gt;&lt;br /&gt;        If x &gt; 329 Then TimerForm.Stop() &lt;br /&gt;        x = x + 1 &lt;br /&gt;        Me.Size = New Size(484, x) &lt;br /&gt;&lt;br /&gt;End Sub &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Anyone can help ? &lt;br /&gt;&lt;br /&gt;Regards, &lt;br /&gt;Pete &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I'll put the whole code as it is : &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Code: &lt;br /&gt;Public Class BeginLogin &lt;br /&gt;    Public x as Integer = 192 &lt;br /&gt;    Dim TimerForm As New Timer &lt;br /&gt;         &lt;br /&gt;Private Sub DoLoginToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DoLoginToolStripMenuItem.Click &lt;br /&gt;    AddHandler TimerForm.Tick, AddressOf TimerForm_Tick &lt;br /&gt;    Me.TimerForm.Start() &lt;br /&gt;    Me.TimerForm.Interval = 100 &lt;br /&gt;End Sub &lt;br /&gt;&lt;br /&gt;Private Sub TimerForm_Tick(ByVal myObject As System.Object, ByVal e As System.EventArgs) &lt;br /&gt;        If x &gt; 329 Then TimerForm.Stop() &lt;br /&gt;        x = x + 1 &lt;br /&gt;        Me.Size = New Size(484, x) &lt;br /&gt;End Sub &lt;br /&gt;&lt;br /&gt;End Class &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now - no matter what if i set interval to 20 or 10, the form is not resizing faster (yes maybe a little bit yes), but id like to resize it rly fast. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;source :http://www.vbcity.com&lt;br /&gt;&lt;br /&gt;-------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gambarbergerak-riaq.blogspot.com"&gt;Trik Gambar Bergerak&lt;/a&gt;&lt;br/&gt;&lt;br /&gt;&lt;a href="http://gambar-dimouse.blogspot.com"&gt;Trik Gambar-dimouse&lt;/a&gt;&lt;br/&gt;&lt;br /&gt;&lt;a href="http://hapuspwdmysql.blogspot.com"&gt;Trik hapus pwd mysql&lt;/a&gt;&lt;br/&gt;&lt;br /&gt;&lt;a href="http://insertintodb.blogspot.com"&gt;Trik insertin to db&lt;/a&gt;&lt;br/&gt;&lt;br /&gt;&lt;a href="http://jadirootdilinux.blogspot.com"&gt;Trik jadi root dilinux&lt;/a&gt;&lt;br/&gt;&lt;br /&gt;&lt;a href="http://jam-distatus-bar.blogspot.com"&gt;Trik jam-distatus-bar&lt;/a&gt;&lt;br/&gt;&lt;br /&gt;&lt;a href="http://koneksi-kedatabase.blogspot.com"&gt;Trik Koneksi-ke database&lt;/a&gt;&lt;br/&gt;&lt;br /&gt;&lt;a href="http://koneksi-msql-php.blogspot.com"&gt;Trik Koneksi-msql-php&lt;/a&gt;&lt;br/&gt;&lt;br /&gt;&lt;a href="http://lihat-database-mysql.blogspot.com"&gt;Trik lihat-database-mysql&lt;/a&gt;&lt;br/&gt;&lt;br /&gt;&lt;a href="http://membahas-fungsi-else.blogspot.com"&gt;Trik membahas-fungsi-else&lt;/a&gt;&lt;br/&gt;&lt;br /&gt;&lt;a href="http://member-area-riaq.blogspot.com"&gt;Trik member-area&lt;/a&gt;&lt;br/&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=woodworkin09c-20&amp;o=1&amp;p=8&amp;l=as1&amp;asins=B000FI73MA&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt; &lt;iframe src="http://rcm.amazon.com/e/cm?t=woodworkin09c-20&amp;o=1&amp;p=8&amp;l=as1&amp;asins=B000P9ZBFA&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1681402288213541171-3698484741532552424?l=resizingformusingtimer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://resizingformusingtimer.blogspot.com/feeds/3698484741532552424/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://resizingformusingtimer.blogspot.com/2009/02/resizing-form-using-timer-vb-2005-ide.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1681402288213541171/posts/default/3698484741532552424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1681402288213541171/posts/default/3698484741532552424'/><link rel='alternate' type='text/html' href='http://resizingformusingtimer.blogspot.com/2009/02/resizing-form-using-timer-vb-2005-ide.html' title=''/><author><name>vbnetcode</name><uri>http://www.blogger.com/profile/04926504053784281645</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
