Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #2247

Re: A little help

From Stl Mongo <stlmongo@sbcglobal.net>
Newsgroups comp.lang.basic.visual.misc
Subject Re: A little help
Date 2015-04-07 17:24 -0500
Organization Aioe.org NNTP Server
Message-ID <mg1lf7$64t$1@speranza.aioe.org> (permalink)
References <mfrdln$ic3$1@speranza.aioe.org> <mfrjeh$jbk$1@dont-email.me> <mfrsd5$obb$1@speranza.aioe.org> <mg1kkv$fo0$1@dont-email.me>

Show all headers | View raw


On 4/7/2015 5:11 PM, Michael Cole wrote:
> Stl Mongo formulated on Monday :
>> On 4/5/2015 10:14 AM, Ron Weiner wrote:
>>> Try
>>>
>>> Me.lblResults.Text = strResults
>>> DoEvents()
>>> watch.Start()
>>>
>>> Rdub
>>
>> Thanks for the help but that didn't do it either.
>> I finally got it, I had to add lblResults.Refresh()
>> in the loop and now it's fine.
>>
>> Mongo
>
> One thing that you should probably also do is note the version of VB
> that you are using.  VB.Net and VB Classic (6 and below) are completely
> different beasts, and most questions herte are for VB6.
>
> Otherwise you are just asking for confusion...
>


I'm using .NET (VB 2012). The issue I was having was with the text on
the label not showing during each iteration. By adding the Refresh() 
function I was able to fix that.

I actually went back after earlier today and commented out the Refresh() 
and tried DoEvents() again and it worked that way also. I'm not sure why 
it didn't work before, but I'm sure it was my mistake.

Thanks again for your help.

Mongo

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

A little help Stl Mongo <stlmongo@sbcglobal.net> - 2015-04-05 08:34 -0500
  Re: A little help Ron Weiner <rw@domain.com> - 2015-04-05 11:14 -0400
    Re: A little help Stl Mongo <stlmongo@sbcglobal.net> - 2015-04-05 12:46 -0500
      Re: A little help mike <spamme9@gmail.com> - 2015-04-07 01:06 -0700
      Re: A little help Michael Cole <noone@invalid.com> - 2015-04-08 08:11 +1000
        Re: A little help Stl Mongo <stlmongo@sbcglobal.net> - 2015-04-07 17:24 -0500
          Re: A little help Deanna Earley <dee@earlsoft.co.uk> - 2015-04-08 10:51 +0100

csiph-web