i am a beginner of VB
i try to copy VB code from the help topic of "How to: Download a File in the
Background"
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_fxmclictl/html/9b7bc5ae-051c-4904-9720-18f6667388bd.htm
but i get 3 error to build, i get similar at other topics too.
Are you supposed to run without any modification?
What i have done is create a new project, copy the vb code and then bulid.
Grateful for any help. Thanks.
tony
kimiraikkonen - 01 Mar 2008 08:20 GMT
> i am a beginner of VB
>
[quoted text clipped - 12 lines]
>
> tony
What errors did you get?
Did you organize codes after pasting?
Armin Zingler - 01 Mar 2008 08:52 GMT
> i am a beginner of VB
>
[quoted text clipped - 11 lines]
>
> Grateful for any help. Thanks.
Look at the code. It consists of the Form designer part and the rest.
So, split the example into two pieces and paste the Form designer code
into Form1.designer.vb and the rest into Form1.vb. No simple copy&paste
example. No good example anyways because it uses DoEvents which does not
show how to keep the UI thread idle while another thread is busy, but
that should be done by such an example.
Armin