vb.net - Getting items from a folder from SourceForge SVN Project -
This is my code and it does not work. Error "" Warning 1 function 'getItems' returns no value on all code paths. A tap reference exception can be the result when the result is used. C: \ Users \ ****** \ AppData \ Local \ Temporary Projects \ iPossum \ Form1.vb 13 5 iPossum
".
How can I do this? Thank you! < / P>
To correct the error you are asking about, just change the word function
to sub
.
However, after doing this you will not work even if you have the code. You will have a new error, because System.IO directory and file class only work on local file systems . You can use System.Net.HttpWebRequest / System.Net.HttpWebResponse or System.Net.WebClient instead, as you can not reference a remote https location, and this means That's basically starting with scratch with this code.
A very simple example that can work on the basis of https requirement, may be:
wc using the string as the slow file list as the new webmail file = wc.Download Using String ("https://ipossum.svn.sourceforge.net/svnroot/ipossum/") end "## you will find this on your own
Comments
Post a Comment