Search:
Type: Posts; User: Netmaster
Search:
Search took 0.02 seconds.
-
sorry it is "a]" and "g]"
an b4 i just changed it on the load event! not on the radiobutton event! that is why it did not work!
Thanks a lot guys! yeyy
=D
-
YES I DID BUT....
I forgot to chanc "a" and "g" to "A]" and "G]" in the radio buttons procedure.
I will try and let you know!
thanks a lot,
andrea
-
mmm It works when i select the first button (it loads every item), but it does not load anything when i select the other two radionboxes. :(
I changed "a" with "A]" and "g" with "G]" since every...
-
2008. I just tested it on 2010 and it does not work as well :(
What version do you use?
-
Thanks for the answers guys!
.paul. and stateofidleness the coe you suggested doe not work :( thank you anyway!
jmcilhinney I will try to do as you suggest and I will report back! Thanks.
...
-
Hi, my program downloads into a combobox every item(line) that is in a text file located on a server.
Every line in the text file ends with "a)" or with "g)".
Now I just want to make 3 radio...
-
basically noe i fixed it with by doing this:
If Time >= 1 Then
'all the code in the download progress changed
end if
It works fine!
-
dbasnett sorry i just read your post.
But how it is possible that on some computers it will work?
do you think that if i leave the code as I did I will face some problem later? or not? Right now...
-
wow. thanks for your help!
i just did:
If Time > 0 Then
'all the code in the download progress changed
end if
-
Hi,
I made a downloader program which allows you to download files from the internet.
I made the program using VB 2008 and a pc running windows 7 professional 32-bit. I also tested the program on...
-
my bad!
got it to work now:
MsgBox(String.Format("The file length is {0:0} MB.", ((wrp.ContentLength / 1024) / 1024)))
-
Wow thanks! it works!
Can you please tell me how I can convert the bytes in MB (eg. 137MB)?
I tried to do this but it gives me an error:
MsgBox(String.Format("The file length is {0} MB.",...
-
Thanks for the answer!
I thought there was an easier way to do that.
By the way, I cannot try the code beacause it gives me an error (I do have System.Net declared):
...
-
How can I get the size of a file in MB if the file is located on a server?
If the file is on a computer I would do this:
Dim file As New IO.FileInfo("c:\myfile.rar"))
label1.text =...
-
-
Well thanks a lot stanav!
I was confused! but thanks to you I amde it!
Yayyy
-
Hi,
I have a text file on a web server. Every line of the text file ends with "g]" or with "a]".
I would like to count the lines that end with "g]" and the lines that end with "a]".
How can...
-
Solved, it was easy but I was tierd and couldn't figured it out:
Dim client1 As New System.Net.WebClient
Dim file1 As String = client.DownloadString("URL/file1")
Dim...
-
Well... what to say...
That converter works quite well!
Amazing!
Thanks a lot Enrico! Awesome!
Regards,
Andrea
-
sorry i just figured it out!
Dim response As WebResponse = DirectCast(request.GetResponse(), WebResponse)
MsgBox("exist")
Catch ex As WebException
Dim...
-
Wow That converter almost worked all the way! thank you!
I am not trying to connect via FTP but the code should work anyway!
Here is what I did with what you gave me:
Dim...
-
Sorry but I do not understant.
Why did you put "textbox1"? I do not have textboxes in my form
-
Thank you guys!
both the codes you gave me works!
But I was trying count the lines of two text files on a server and return the count in only one text box.
Just to give you an example of what...
-
How would I count the lines of a text file situated on a server?
I know that if the file is on my pc I just do this:
Dim lines As String() =...
-
Hi,
How can I check if a file exists on a server?
Let's supposed that I want to check if "http://www.mywebsite.com/mytextfile.txt" exists.
How can I do that?
I tried to do this but it does...
-
Ok then!
I thought it was not that hardto do. I have seen some vb samples (which i tested and work) doing pausing and resuming (not using Async though).
I thought it would have been something l...
-
Thanks for the great explanation!
I just figured out how to set everything using the NetworkAvailabilityChanged event. I was about to write to the thread.
But since you explained this method to me...
-
Thanks for the great explanation!
I just figured out how to set everything using the NetworkAvailabilityChanged event. I was about to write to the thread.
But since you explained this method to me...
-
I think I almsot did it:
Iadded this into my Form1_load:
AddHandler My.Computer.Network.NetworkAvailabilityChanged, AddressOf MyApplication_NetworkAvailabilityChanged
And then this:
-
I am getting crazy about it.
I tried this:
Private Sub Download_NetworkAvailabilityChanged(ByVal sender As Object, ByVal e As System.ComponentModel.AsyncCompletedEventArgs) Handles...
-
jmcilhinney:
are you saying saying I should add the "try" "catch" in the downloadfilecomplete event?
Right now there I only have this:
Private Sub Download_DownloadFileCompleted(ByVal sender...
-
Thanks for the answer,
I am using DownloadFileAsync to download the file.
Ihad already tryed that method with no luck:
Try
Download.DownloadFileAsync(New Uri("URL" &...
-
Hi,
I built a dwonloader program which download a file from the web.
I would like to insert an error message that pop up whenever the program fail to download the file and/or when the computer...
-
Hi,
I built a dwonloader program which download a file from the web.
How whould I implement the "Pause" and "resume" download using Async?
under the download button I have this:
...
-
Well I just needed to have this:
Dim MovieList As String = client.DownloadString("URL")
Dim lines As String() = MovieList.Split(New String() {ControlChars.CrLf},...
-
Yes, I did try before to clear the combobox which works fine. But if the program is running and I change the content of the list on the server and then i click the refresh button it will not load the...
-
Wow thanks a lot! Now It finally works! thank you.
Now I noticed that if i click the button twice the combobox loads an other time the list so I am going to have twice the same items!
So I...
-
I added an @ at the end of each item on the list and I tryed the following code:
Dim aStringArray() As String 'array of strings
Dim s As String 'single string
Dim i As...
-
Pradeep1210.... You are great! Thanks a lot! I will mark the tread as solved!
Would you mind taking a look at another thread I posted? I have a really hard time trying t o figure out how to do a...
-
I had already tried with addrange but it returns this error:
value of type 'String' cannot be converted to 1-dimensional array of Object'
I was thinking of something simpler too though... Since...
|
Click Here to Expand Forum to Full Width
|