Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

im making an auto-update program which uses a webservice, this webservice does all returning the version of the patch and all that, including the file itself which i return as byte array, its already working when it comes to waiting until it is fully downloaded, what i did is make a structure for both the byte array and the length of the byte array, in my program i loop until the size of the data is the same as the length of the PatchFile

 

Public Structure PatchFile
  Dim data As Byte()
  Dim length As Int64
End Structure

 

but doing this sometimes gives me a Not-Responding application, having Nothing on data even if did request for it.

 

is there a better way to return a file webservice or not? :confused:

 

(i know theres clickonce but i already had my codes and this is what all i have left )

slow down when you need to hurry, stop when you need to move on,

look back when you need to forget, or you might slip and leave sanity

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...