Re: rapi activesync formupdate copying files from desktop to device

From: Arne (dontuse_at_microsoft.com)
Date: 06/07/04


Date: Mon, 7 Jun 2004 23:10:03 +0200

Your absolutely right - thanks Chris

"Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in message
news:%234RcFHNTEHA.2988@TK2MSFTNGP09.phx.gbl...
> You probably need a DoEvents after setting the label text.
>
> --
> Chris Tacke, eMVP
> Co-Founder and Advisory Board Member
> www.OpenNETCF.org
> ---
> ---
> Principal Partner
> OpenNETCF Consulting
> www.OpenNETCF.com
>
>
>
> "Arne" <dontuse@microsoft.com> wrote in message
> news:uh8UUYMTEHA.2464@TK2MSFTNGP10.phx.gbl...
> > hi,
> > I'm having a problem with the code listed below:
> > If I move the form, my "label-update" won't work (lblstatus.text)
> >
> > anyone who can enlighten me ?
> >
> > Arne
> >
> > For Each fileName In files
> >
> > Dim fi As New FileInfo(fileName)
> >
> > info = fi.Name()
> >
> > Try
> >
> > m_rapi.CopyFileToDevice(fileName, txtDestination.Text & info, True)
> >
> > Catch ex As Exception
> >
> > MsgBox(ex.Message)
> >
> > End Try
> >
> > i += 1
> >
> > lblStatus.Text = "Overført " & i & " af " & files.Length
> >
> > Me.Update()
> >
> > Next fileName
> >
> >
>
>



Relevant Pages

  • Re: System-wide timer
    ... >> Chris Tacke, eMVP ... >> Co-Founder and Advisory Board Member ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: DrawCurve
    ... >> Chris Tacke, eMVP ... >> Co-Founder and Advisory Board Member ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Dll with vb.net
    ... >> Chris Tacke, eMVP ... >> Co-Founder and Advisory Board Member ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: connection problem in client server app
    ... Chris Tacke, eMVP ... Co-Founder and Advisory Board Member ...
    (microsoft.public.pocketpc.developer)
  • Re: Which VB?
    ... Chris Tacke, eMVP ... Co-Founder and Advisory Board Member ...
    (microsoft.public.pocketpc.developer)