Search:

Type: Posts; User: henryolik

Search: Search took 0.02 seconds.

  1. VS 2010 Re: WebClient runs Completed event even if it is still downloading

    Dude, you just saved my life! Thank you! I thought I had it there.
  2. VS 2010 Re: WebClient runs Completed event even if it is still downloading

    Weird, when I comment whole code in dl_completed(), it raises just once. So I think the problem is somewhere in dl(). If I uncomment dl(), and try to download one file, it raises 6 - 8 times.
  3. VS 2010 [RESOLVED] WebClient runs Completed event even if it is still downloading

    Hello,
    I made a small app, which downloads some files, when user check it.
    Concept:

    User selects files to download -> clicks start button -> predl() checks which items are checked and writes...
  4. VS 2010 Re: WebClient downloads only 1 GB, then fails & Round number to 1 decimal place

    I added this to my code and now it's working! Maybe that error doesn't want to be revealed and rather works :D Otherwise, thanks for everybody's help! :thumb:
  5. VS 2010 Re: WebClient downloads only 1 GB, then fails & Round number to 1 decimal place

    Splitted, again, at 1 GB total downloaded it throws error. I'm really desperate now...
  6. VS 2010 Re: WebClient downloads only 1 GB, then fails & Round number to 1 decimal place

    I don't think WebClient downloads it to memory first. When downloading it writes every single bit straight to destination file on disk. So I don't think that's the reason. I'll probably split that...
  7. VS 2010 Re: WebClient downloads only 1 GB, then fails & Round number to 1 decimal place

    154841
    In English - "An exception occurred during a WebClient request".
    No further information :/.
  8. VS 2010 Re: WebClient downloads only 1 GB, then fails & Round number to 1 decimal place

    I tried it, I'm now getting "An exception occurred during a WebClient request." error right on 1 GB downloaded. Here is the rest of code (download change + download completed):


    Private Sub...
  9. Replies
    2
    Views
    5,459

    VS 2010 Re: Round number to 1 decimal place

    Oh I overlooked it. Thank you! :bigyello:
  10. VS 2010 Re: WebClient downloads only 1 GB, then fails & Round number to 1 decimal place

    Okay, thanks for info! :)
  11. Replies
    2
    Views
    5,459

    VS 2010 [RESOLVED] Round number to 1 decimal place

    Hi! When I want to reduce mbytesIn and totalmBytes to one decimal place with Math.Round(), it doesn't change anything. It works for speed meter and percentage well so I don't know what's bad......
  12. VS 2010 [RESOLVED] WebClient downloads only 1 GB, then fails & Round number to 1 decimal place

    Hi! I wanna download 2 GB file with WebClient, but after it downloads 1 GB it stops without any error.
    Thanks for any help!


    Sub download(ByVal file As String, ByVal uri As String, ByVal ffile...
  13. Replies
    2
    Views
    1,528

    VS 2010 Re: Download multiple files using WebClient

    So, I made this:

    Public Sub stahnout()
    If VolbaJazyka.cb_lang.SelectedItem = VolbaJazyka.cb_lang.Items(6) Then
    wc.DownloadFile("http://dl.ministudios.ml/bunny/dlist/en.txt",...
  14. Replies
    2
    Views
    1,528

    VS 2010 Download multiple files using WebClient

    Hi! I'm trying to make an application, that will download files, which are checked in four CheckedListBoxes. I already googled for some help, and I found something about the queue, but I don't know...
  15. Replies
    6
    Views
    1,411

    VS 2010 Re: DownloadStringAsync doesn't work

    Here it is :) I maybe accidentally deleted progress bar part :duck: but it freezes the form either

    Imports System.Net
    Imports System.IO
    Dim wc As WebClient = New WebClient...
  16. Replies
    6
    Views
    1,411

    VS 2010 DownloadStringAsync doesn't work

    Hi! I'm trying to make download with progress bar. When I try DownloadStringAsync, it will freeze my form, but it doesn't have to do... Because when the form freezes, progress bar will not move. So...
  17. VS 2010 Wait for download, then execute next command

    Hi! I want to download the ZIP file, then unzip it. But when I start the app, it executes Process.Start command before it can download the full file, and throws error... What should I do? (I'm...
  18. VS 2010 Request admin privilegies when is app installed in admin folder

    Hi! How can I request for admin privilegies when is app installed in system or similar folder? For example: It will request for admin rights in Program Files, but on Desktop not. Thanks!
  19. VS 2010 Re: File exists even though command should delete it

    Error:
    IOexception was unhandled
    Could not complete operation since a file already exists in this path 'C:\Users\Ondra\Documents\Visual Studio...
  20. VS 2010 File exists even though command should delete it

    It says that file already exists even though i have command for deleting it
    del - line 17
    error - line 32


    Public Sub CheckForUpdates()
    Dim file As String = Application.StartupPath &...
Results 1 to 20 of 20



Click Here to Expand Forum to Full Width