Go learn programming before doing such things, all your question on this forum are questions you would've known if you learned to program instead of trying to do something big immediately. Pro-tip use fucking google.
Hello guys,
Today I need help with this
username - password - text
I want to download that specific text in drop.box where it sais "You have been banned"
into a message box if so how can I do that, thank you!!
Krisgame - KTool
Go learn programming before doing such things, all your question on this forum are questions you would've known if you learned to program instead of trying to do something big immediately. Pro-tip use fucking google.
I'd understand that you'd have a problem if you were using e.g C++, but you're using a .NET language!
You want to download a string from a link, here you go. I bet you're feeling stupid now.
Code:using System.Net; // Don't forget to include this since it seems like you don't know what you're doing... WebClient wc = new WebClient(); MessageBox.Show(wc.DownloadString("https://dl.*******userconten*****m/u/12892748/theString.txt"));
Last edited by greyb1t; 02-20-2016 at 02:52 PM.
You said: I want to download that specific text in drop.box where it sais "You have been banned"
into a message box if so how can I do that.
Very poorly elaborated, what I understood by that is that you want to download a text from a website link that you're able to change.
By uploading a textfile to drop.box and getting the link you're able to change the text aswell while still using the same link.
WindowsApplication1.zip is the project, so you can test this.Code:Imports System.Net Public Class Form1 Private WithEvents httpClient As New WebClient 'You need the ?dl=1 at the end of your URL, if you use Dropbo*, otherwise it will return a exception Private URL As New Uri("https://www.Dropbo*.com/s/7nvdc57pv9wztk9/string.txt?dl=1") Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Try 'Download the string in a different thread httpClient.DownloadStringAsync(URL) Catch ex As Exception 'If the download fails, this MessageBox will shown MessageBox.Show(ex.Message, Application.ProductName + ": An error occured.", MessageBoxButtons.OK, MessageBoxIcon.Error) End Try End Sub Private Sub httpClient_DownloadProgressChanged(sender As Object, e As DownloadProgressChangedEventArgs) Handles httpClient.DownloadProgressChanged 'The Progress of the downloaded string/file (requires a ProgressBar) ProgressBar1.Value = e.ProgressPercentage End Sub Private Sub httpClient_DownloadStringCompleted(sender As Object, e As DownloadStringCompletedEventArgs) Handles httpClient.DownloadStringCompleted 'If the download is complete, this MessageBox will shown MessageBox.Show("Download was successfully and is completed." + vbNewLine + "Content of the downloaded string:" + vbNewLine + e.Result, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Information) End Sub End Class
VirusTotal (0/55)
Metascan Online (1/43)
Last edited by Yemiez; 02-22-2016 at 06:43 AM. Reason: Anti Virus Links added.
Solved Thanks!
Krisgame - KTool