You are viewing our Forum Archives. To view or take place in current topics click here.
How to make a login application using DropBox
Posted:

How to make a login application using DropBoxPosted:

AAW
  • TTG Senior
Status: Offline
Joined: Apr 30, 201112Year Member
Posts: 1,574
Reputation Power: 70
Status: Offline
Joined: Apr 30, 201112Year Member
Posts: 1,574
Reputation Power: 70
How to make a "Login Application" using Dropbox



- Visual Basic 2010 +
- Click "New Project"
- Choose a application name
- Add 2 Labels, 2 textboxs & a button
- Rename the labels, button
Label1(Username)
Label2(Password)
Button(Login)

- Double click on the Button & add the following code.
Dim Name As String = True
        Dim logins As String = 0
        logins = logins + 1
        If logins = 4 Then
            MsgBox("You have failed 3 times!")
            Application.Exit()
            Exit Sub
        End If
        Dim web As New WebClient()
        Dim i As String = TextBox1.Text & ":" & TextBox2.Text
        Dim response As String = web.DownloadString("YOUR DROPBOX URL")
        If response.Contains(i) Then
            MsgBox("Welcome " + TextBox1.Text, MsgBoxStyle.Information)
            Me.Hide()
            Form2.Show()
        Else
            MsgBox("Invalid Login", MsgBoxStyle.Information)
            TextBoxX1.Clear()
            TextBoxX2.Clear()
        End If


- Add the following imports at the top
Imports System.Net, Microsoft.Win32
Imports System.Management
Imports System.IO
Imports System.Security.Cryptography
Imports System.Text
Imports System.Threading


- Open your dropbox folder/public/
- Make a folder called (Login)
- Inside this program, make a file called (Accounts.txt)
- Now open accounts.txt and type "Default:password"
- Save it and wait for it to upload to the server
- Now copy the public link to your clipboard
- Paste the link (Dim response As String = web.DownloadString("PASTE LINK HERE"))



Video Coming Soon

The following 1 user thanked AAW for this useful post:

joeisjoe5 (10-17-2013)
#2. Posted:
joeisjoe5
  • Rising Star
Status: Offline
Joined: Jun 18, 201211Year Member
Posts: 775
Reputation Power: 31
Status: Offline
Joined: Jun 18, 201211Year Member
Posts: 775
Reputation Power: 31
probably not the best way of making a log in app but hey it's free and pretty easy to set up so who cares
#3. Posted:
XeLifestyle
  • Prospect
Status: Offline
Joined: Aug 29, 201211Year Member
Posts: 652
Reputation Power: 27
Status: Offline
Joined: Aug 29, 201211Year Member
Posts: 652
Reputation Power: 27
that has to be one of the longest ways to make a login
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.