Copy code from VS2005 help

  • Thread starter Thread starter Tony WONG
  • Start date Start date
T

Tony WONG

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
 
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

What errors did you get?
Did you organize codes after pasting?
 
Tony WONG said:
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.

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
 
Back
Top