◘◘◘VisualXtremes◘◘◘

<a href="http://www.forums100.com/in.php?id=1665"><img src="http://www.forums100.com/button.php?id=1665" border="0" /></a><br><font face="Tahoma"><span style="font-size: 6pt; font-weight: 700"><a href="http://www.forums100.com" style="text-decoration: none">Top 100 Forums</a></span></font><!-- BEGIN TOP SITE LIST PLANET VOTING CODE -->
<center>
<a href="http://forumz.top-site-list.com/vote447.html">
<IMG SRC="http://forumz.top-site-list.com/images/voteimage/forumz-2.jpg" border=0></a><br><font size=1><a href="http://www.top-site-list.com/">Free TopSite</a></font>
</center>
<!-- END TOP SITE LIST PLANET VOTING CODE -->
VOTE NOW TO HELP US TO GROW!

Join the forum, it's quick and easy

◘◘◘VisualXtremes◘◘◘

<a href="http://www.forums100.com/in.php?id=1665"><img src="http://www.forums100.com/button.php?id=1665" border="0" /></a><br><font face="Tahoma"><span style="font-size: 6pt; font-weight: 700"><a href="http://www.forums100.com" style="text-decoration: none">Top 100 Forums</a></span></font><!-- BEGIN TOP SITE LIST PLANET VOTING CODE -->
<center>
<a href="http://forumz.top-site-list.com/vote447.html">
<IMG SRC="http://forumz.top-site-list.com/images/voteimage/forumz-2.jpg" border=0></a><br><font size=1><a href="http://www.top-site-list.com/">Free TopSite</a></font>
</center>
<!-- END TOP SITE LIST PLANET VOTING CODE -->
VOTE NOW TO HELP US TO GROW!

◘◘◘VisualXtremes◘◘◘

Would you like to react to this message? Create an account in a few clicks or log in to continue.

    Free FTP Chat Code

    avatar
    DarkAge [Admin]
    Leacher
    Leacher


    Posts : 1
    Tokens : 18
    Reputation : 0
    Join date : 2011-06-23

    Free FTP Chat Code Empty Free FTP Chat Code

    Post  DarkAge [Admin] Thu Jun 23, 2011 11:54 pm

    Step 1. Create a free account at DriveHQ

    Step 2. Upload a file and call it text.txt

    Step 3. Add 2 timers to the form, 2 buttons, and 3 textboxs.

    Step 4. The Code


    Code:

    Imports System.Net

    Public Class frmChat


        Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
            Dim AClinet As New WebClient
            AClinet.Credentials = New Net.NetworkCredential("Your Username", "your password")
            AClinet.UploadString("ftp://ftp.drivehq.com/file.txt", "User " & TextBox3.Text & " Says: " & TextBox2.Text & vbCrLf)
            TextBox2.Text = ""
        End Sub

        Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
            Dim BClient As New WebClient
            BClient.Credentials = New Net.NetworkCredential("your username", "your password")
            TextBox1.Text = (BClient.DownloadString("ftp://ftp.drivehq.com/file.txt"))
        End Sub

        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdConnect.Click

            cmdConnect.Enabled = False
            TextBox1.Enabled = False
            TextBox3.Enabled = False
            Timer1.Enabled = True
            Timer2.Enabled = True
            TextBox1.Visible = True
            TextBox2.Visible = True

        End Sub
    End Class

    Now you can talk to to people all over the world Laughing

      Current date/time is Tue May 21, 2024 12:28 am