Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / March 2008

Tip: Looking for answers? Try searching our database.

Copy code from VS2005 help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tony WONG - 01 Mar 2008 04:21 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.