System.Net.WebClient is a good choice here, following is C# but the J# shouldn't be too different.
System.Net.WebClient xyz = new System.Net.WebClient();
byte[] receivedData = xyz.DownloadData(url);
out of interest which forum gave the message ' This forum does not accept new threads' ?
Using the @ symbol or the \\ notation is only required in C# where \ is used to denote escape sequences, under VB the \ character doesn't have any special meaning.
List of what serials? Is this your own software you are deploying? If so then you would be in charge of the serials given out and the validation of them.
I think a bit more detail is needed for people to answer this.
Did you even consider cheking MSDN or even the tooltips (or possibly the error message)? ReadLine doesn't take any parameters - it simply reads the next line from the file.
homepage..Text= oRead.ReadLine()
or if you want to get even more compact ;)
using(TextWriter file = File.Create(somePath))
{
file.WriteLine("Some Stuff");
file.Flush();
}
and even the Flush is probably un-needed.
Which line of the code throws the error?
When you step through the code is the zip object always nothing? If not where are you assigning a value to it?
Are you still getting the original access denied error or have things changed since then?
I always thought the same, but I do remember reading an article on-line somewhere that also stated they were based of date / time. However I could never get them to work as per the article.
I would agree with Nerseus and if I required versioning of my product (and I can't think of many cases wher eI wouldn't) then I would manage the build number myself.
Do you really need that many items in the list? What kind of data is the user selecting from?
It may be possible to categorise the data and present a couple of lists with fewer entries....
Did you try Mutant's suggestion? You cannot simply use a StreamReader instead of a string - you need to call one of it's Methods to read from the file. Assuming homepage is a textbox try
Dim oFile As System.IO.File
Dim oRead As System.IO.StreamReader
oRead = oFile.OpenText("settings.ini")
homepage..Text= oRead.ReadToEnd()
oRead.Close()
Do you already have any code / design working? If not is there any reason why you have decided on ASP.Net and remoting?
ASP.Net may not be the best medium for a chat program due to the fairly static nature of web pages - large amounts of functionality would probably have to be coded using a client side technology like java script.
Also .Net remoting can be a difficult subject to learn in it's own right, you may be better of investigating the sockets support in the framework as an alternative.
In fact if you search these forums you should find a few posts on this topic already.
What kind of pictures and where would they be comming from? If it is simply a file on disk then you could load the file into an image object and assign that to the picturebox control's image property.
int num=System.Int32.Parse(test[0].ToString()
Not sure if that will acheive what you are after though - it may be better if you explain what you are trying to do exactly.
Are you trying to get the numerical value of the character or obtain it's ASCII value?
You need to instantiate the object at position 0 in the array.
Public Class Whatever
Public Class Member
Public name As String
Public age As Integer
End Class
Dim membri(0) As Member
Public Sub A_Sub()
membri(0) = new Member()
membri(0).name = "Test"
End Sub
End Class