🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.vbasic
Article #104731

Re: VB.NET 2010 - pasek postepu.

#104731
From: Jacek
Date: Fri, 10 Dec 2010 11:09
35 lines
2092 bytes
Dnia Fri, 10 Dec 2010 10:00:11 +0100, Wiktor Zychla napisał(a):

> Użytkownik "Jacek" <ala@ola.pl> napisał w wiadomości grup 
> dyskusyjnych:1wp0hao771gwp.mm72xd3qfyvt$.dlg@40tude.net...
>> Witajcie.
>>
>> Mam funkcje a w niej:
>>
>> For Each fName As String In Directory.GetFiles(sourcePath)
>>            If File.Exists(fName) Then
>>                Dim dFile As String = String.Empty
>>                dFile = Path.GetFileName(fName)
>>                Dim dFilePath As String = String.Empty
>>                dFilePath = DestinationPath + dFile
>>                File.Copy(fName, dFilePath, True)
>>                ProgressBar1.Value = y
>>                ProgressBar1.Refresh()
> 
> Application.DoEvents
> 
>>                y = y + x
>>            End If
>>        Next
>>
>> Sprawa polega na tym, ze nie odswieza sie pasek postepu.
>> Robilem juz rozne cuda i nic.
>> Samo powyzsze kopiowanie trwa okolo 5 min, wiec przydal by sie dzialajacy
>> progressbar, prawda?
>> Jak to ugryzc?
>

Nie pomoglo.
Sprawa jest tego typu, ze u mnie na win7/64 dziala prawidlowo, a na xp u
klienta nie dziala...
Dopiero jak skonczy kopiowac, to pasek sie zapelnia.
Technical Details
Message-ID: <1ilgxq4jw1bbc.fif83yd15lah$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <1wp0hao771gwp.mm72xd3qfyvt$.dlg@40tude.net> <4d01ec1b$0$27042$65785112@news.neostrada.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: Jacek <ala@ola.pl>
Newsgroups: pl.comp.lang.vbasic
Subject: Re: VB.NET 2010 - pasek postepu.
Date: Fri, 10 Dec 2010 12:09:33 +0100
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 35
Message-ID: <1ilgxq4jw1bbc.fif83yd15lah$.dlg@40tude.net>
References: <1wp0hao771gwp.mm72xd3qfyvt$.dlg@40tude.net> <4d01ec1b$0$27042$65785112@news.neostrada.pl>
NNTP-Posting-Host: 77-253-57-159.adsl.inetia.pl
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1291979370 14040 77.253.57.159 (10 Dec 2010 11:09:30 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Fri, 10 Dec 2010 11:09:30 +0000 (UTC)
X-User: sha-lom
X-Antivirus: avast! (VPS 101209-1, 2010-12-09), Outbound message
X-Antivirus-Status: Clean
User-Agent: 40tude_Dialog/2.0.15.1pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit