Nov 8, 2009

Ftp In Visual Basic 6.0 - Start making your FTP client using VB6

free web hosting
Open Discussion > MODERATED AREA > Tutorials

Ftp In Visual Basic 6.0 - Start making your FTP client using VB6

Galahad
Recently, I had a need to make a FTP client, since our webhosting FTP server was kind of exotic, and very restrictive, and most of uploads, even though they reach 100% would crash... File would be uploaded to a server, but FTP clients just froze upon completion, waiting for the 226 (OK) from FTP server... So, I had to make my own, one who would not wait for 226, but instead, watch the file pload progress...

This tutorial is not fuly complete, in the sense that it does not offer COMPLETE FTP client functionality (for example, I ddn't write the code for FTP download, though it is fairly easy to add it, since all the necessary functions are already written)... I was ofcourse guided by the thought that tutorials sould encourage someone to do some further reading and exploration of their own, not just copy/paste...

First, let's start off with how FTP works... FTP uses 2 ports to communicate: port 21 for command communication, and some other port for data transmission... So, knowing this, let's begin:

First off, we need to declare some variables we'll use in our code:
CODE
Option Explicit
Dim CData   As String ' We'll use this to store incoming FTP data
Dim CResp   As String ' We'll use this to store response from FTP server
Dim DataOK  As Boolean ' Is the data sent?
Dim CmdOK   As Boolean ' Is the command sent?
Dim ATS     As Single ' Approximate transfer speed
Dim ATT     As Single ' Approximate transfer time
Dim Data    As String ' We take chunks of data we receive from the server, and merge them in this variable

Dim p_Log   As Boolean ' Should we log FTP activity?

Private Const C_TIMEOUT As Single = 1 ' Default timeout value of 1 second
Dim ConnLog As New Collection


OK, next, we'll need several of the controls on the Form:
2x Winsock controls: wskFTPC and wskFTPD
1x Command button: Command1
1x Text box: Text1
1x Timer: Timer1; resolution 100ms

OK, that set, let's add some actual FTP code.. Since many of FTP commands will often be called, so to avoid repetition, we'll write several of the functions and subs:
CODE
Private Function CSend(ByVal Command As String) As Boolean
If CmdOK Then
  CmdOK = False
  CSend = False
  wskFTPC.SendData Command & vbCrLf
  ConnLog.Add "-> " & Command
  If p_Log Then
    Text1.Text = Text1.Text & ("-> " & Command & vbCrLf)
  End If
  CSend = WaitCOK
End If
End Function

Private Function DSend(ByVal Data As String) As Boolean
If DataOK Then
  DataOK = False
  wskFTPD.SendData Data
  DSend = WaitOK
End If
End Function


We will call CSend() every time we want to send a command, and DSend() every time we send data chunk to a server. Let's move on... You must have noticed some more of the functions here, so let's write them (and others) too:

CODE
Public Sub Wait(ByVal ms As Single)
Dim t1 As Single, t2 As Single
t1 = Timer
While t2 < t1 + ms
  DoEvents
  t2 = Timer
Wend
End Sub

Public Function GetCode(Optional ByVal Timeout As Single = C_TIMEOUT) As String
Dim t1 As Single, t2 As Single

CResp = ""
GetCode = ""
t1 = Timer
While CResp = ""
  t2 = Timer
  If t2 > t1 + Timeout Then Exit Function
  DoEvents
Wend
GetCode = CResp
End Function

Public Function WaitCode(ByVal Code As String, Optional ByVal Timeout As Single = C_TIMEOUT) As Boolean
Dim t1 As Single, t2 As Single
t1 = Timer
WaitCode = False
While CResp <> Code
  t2 = Timer
  If t2 > t1 + Timeout Then Exit Function
  DoEvents
Wend
WaitCode = True
End Function

Public Function WaitOK(Optional ByVal Timeout As Single = C_TIMEOUT) As Boolean
Dim t1 As Single, t2 As Single
t1 = Timer
WaitOK = False
While DataOK = False
  t2 = Timer
  If t2 > t1 + Timeout Then Exit Function
  DoEvents
Wend
WaitOK = True
End Function

Public Function WaitCOK(Optional ByVal Timeout As Single = C_TIMEOUT) As Boolean
Dim t1 As Single, t2 As Single
t1 = Timer
WaitCOK = False
While CmdOK = False
  t2 = Timer
  If t2 > t1 + Timeout Then Exit Function
  DoEvents
Wend
WaitCOK = True
End Function

Public Function WaitConn(Optional ByVal Timeout As Single = C_TIMEOUT) As Boolean
Dim t1 As Single, t2 As Single
t1 = Timer
WaitConn = False
While wskFTPD.State <> sckConnected
  t2 = Timer
  If t2 > t1 + Timeout Then Exit Function
  If wskFTPD.State = sckConnecting Then t1 = Timer
  DoEvents
Wend
WaitConn = True
End Function

Private Function SendPORT() As Boolean
Dim pIP   As String
Dim pPort As String
Dim pH    As Long
Dim pL    As Long
Dim lPort As Long


Randomize Timer
lPort = Int(12000 * Rnd + 6000)

SendPORT = False

pH = lPort \ 256
pL = lPort - (pH * 256)
pPort = Trim(CStr(pH)) & "," & Trim(CStr(pL))

With wskFTPD
  .LocalPort = pH * 256 + pL
  pIP = .LocalIP
  .Listen
End With

pIP = Replace(pIP, ".", ",")
CSend ("PORT " & pIP & "," & pPort)

If Not WaitCode("200") Then Exit Function
SendPORT = True
End Function

Private Function SendLIST(Optional ByVal FilePath As String = "") As Boolean
Data = ""
CSend ("LIST" & IIf((FilePath = ""), "", " " & FilePath))
If Not WaitCode("150") Then Exit Function

While wskFTPD.State = sckConnected
  DoEvents
  Label3.Caption = CResp
Wend

Open "c:\incoming" For Binary As #120
Put #120, 1, Data
Close #120
Data = ""

SendLIST = True
End Function

Private Function SendFile(ByVal FileName As String, Optional ByVal BuffSize As Long = 2048) As Boolean
Dim hFile As Integer
Dim fBuff As String
Dim lBuff As Long
Dim t1    As Single
Dim t2    As Single

Dim s As Long, i As Long, r As Long

hFile = FreeFile
lBuff = BuffSize

t1 = Timer
Open FileName For Binary As #hFile
  If LOF(hFile) >= lBuff Then
    s = LOF(hFile) \ lBuff
    Picture1.ScaleWidth = s
    Label1.Width = 0
    fBuff = Space(lBuff)
    For i = 1 To s
      Get #hFile, , fBuff
      DSend fBuff
      Label1.Width = i
      DoEvents
    Next i
    r = LOF(hFile)
    r = r - (lBuff * s)
    If r > 0 Then
      fBuff = Space(r)
      Get #hFile, , fBuff
      DSend fBuff
    End If
    Label1.Width = LOF(hFile)
  Else
    Picture1.ScaleWidth = LOF(hFile)
    fBuff = Space(LOF(hFile))
    Get #hFile, , fBuff
    DSend fBuff
    Label1.Width = LOF(hFile)
  End If
  DoEvents
  t2 = Timer
  ATS = LOF(hFile) / ((t2 - t1) + 1)
  ATT = t2 - t1
Close #hFile
wskFTPD.Close
SendFile = True
End Function


Okie, now we've written all of the functions we'll need... Next on, we need to add some event handlers:
CODE
Private Sub Timer1_Timer()
Label2.Caption = wskFTPD.State
If wskFTPD.State = sckClosing Then wskFTPD.Close
End Sub

Private Sub wskFTPC_SendComplete()
CmdOK = True
DoEvents
End Sub

Private Sub Form_Unload(Cancel As Integer)
If wskFTPC.State = 7 Then
  Text1.Text = Text1.Text & CSend("QUIT")
  wskFTPC.Close
Else
  wskFTPC.Close
End If
End Sub

Private Sub wskFTPD_ConnectionRequest(ByVal requestID As Long)
wskFTPD.Close
wskFTPD.Accept requestID
Text1.Text = Text1.Text & "*** Data connection established" & vbCrLf
End Sub

Private Sub wskFTPD_DataArrival(ByVal bytesTotal As Long)
Dim s As String
wskFTPD.GetData s
Data = Data & s
End Sub

Private Sub wskFTPD_SendComplete()
DataOK = True
DoEvents
End Sub


OK, that's settled too... We've written basic FTP handling, upload will work, download too, but you'll have to come up with your own download function, that wraps around existing functions wink.gif

Now that we've got all the ingredients, let's make a juicy FTP soup:
CODE
Private Sub Command1_Click()
CmdOK = True
DataOK = True

p_Log = True


wskFTPC.RemoteHost = "ftphost.com"
wskFTPC.RemotePort = 21
wskFTPC.Connect

If Not WaitCode("220") Then Exit Sub

CSend ("USER username")
If Not WaitCode("331") Then Exit Sub

CSend ("PASS password")
If Not WaitCode("230") Then Exit Sub

CSend ("TYPE I")
If Not WaitCode("200") Then Exit Sub

CSend ("CWD sautpro.com/proba")
If Not WaitCode("250") Then Exit Sub

If Not SendPORT Then Exit Sub
CSend ("STOR somefile")
If Not WaitCode("200") Then Exit Sub
If Not WaitConn Then Exit Sub
If Not SendFile("c:\.somefile") Then Exit Sub
If Not WaitCode("226", 10) Then
  CSend "NOOP"
  If Not WaitCode("226", 20) Then Exit Sub
End If

Text1.Text = Text1.Text & "*** File transfer complete. (Approx. upload speed " & Format(ATS / 1024, "###,##0.00") & "kb/s, Approx. upload time " & Format(ATT, "#,##0.00") & " seconds)" & vbCrLf
Text1.Text = Text1.Text & "*** Closing data connection." & vbCrLf

CSend ("TYPE A")
If Not WaitCode("200") Then Exit Sub
If Not SendPORT Then Exit Sub
SendLIST
If Not WaitCode("226", 5) Then
  CSend "NOOP"
  If Not WaitCode("226", 10) Then Exit Sub
End If

Text1.Text = Text1.Text & "*** Directory LISTing received." & vbCrLf
End Sub


Now, remember to replace ftphost.com, yourfile, username and password with actual values, or this won't work... So, what are we doing? First, we're initializing variables, set wskFTPC to connect to ftphost.com on port 21 (FTP command port)... Then, we send our login info, and inbetween we wait for appropriate responses... Since I made this for specific purpose, error handling is virtualy non-existent, but it's easy to add to this code. You can find a list of FTP responses on the net...

I believe code is rather self-explanatory, but if you have any questions regarding this, I'm at your service, just post here, or drop me a PM...

You can play around with the code, optimise buffer size for upload, for download, since I used a value that suited best to my internet connection and FTP server type...

This ofcourse is not a complete FTP client, it's only a core functionality of FTP... If you wish to build some sort of full blown FTP client, you'll have to work some more on this code...

Oh, and if you do make that FTP client based on this code, I'd like it if you put my name somewhere in the credits smile.gif

Cheers, and I hope you will find this usefull in some way...

 

 

 


Comment/Reply (w/o sign-up)

iGuest-Ethan
upload text file
Ftp In Visual Basic 6.0

I am currently working on some software and I need this program to upload a small text file to an ftp server. After reading this tutorial, it seems like this would be pretty simple for you to do. I've been looking all over the internet to find help with this, and every time I think I find something, it doesn't work, and the author is no help. Please help!

many many many many thanks!!
Ethan

-question by Ethan

Comment/Reply (w/o sign-up)

iGuest-Martin
Cant get thething to work (does not wait for anything)
Ftp In Visual Basic 6.0

Replying to iGuest


Al it does is exit sub and sit with state at 0, never changing.

I tracew it through and canno see how it can work.

The logic I see is send command and weait for response, however to exit sub you can never go back!. No lops till timeout or anything I would expect.

Explain please?


-reply by Martin

Comment/Reply (w/o sign-up)

iGuest-roei
Webbrowser control vb to connect to ftp.
Ftp In Visual Basic 6.0

I want the webbrowser control to open ftp.
I can connct the ftp using ftp://MYUSER:MYPASS@myhost, but that makes the user and pass visible when browsing the histroy of the browser.

How can I make the control to fill in the password and user automatically without being visible in the url?


Thanks in advance,

Roei.

-reply by roei

Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : ftp, visual, basic, 6, 0, start, making, ftp, client, vb6

  1. Making Calculators with PHP
    Some basic calculator scripts I made. (4)
  2. How To Make An Ultimate Game List.
    If you're making a site on video games or such. (0)
    Hello. I am BuBBaG. You can call me Bubba for short. I'm going to show you how to make an
    Ultimate Game List. First off, we need to make a database, we are going to call this database
    `my_db`, leave out the `'s. Inside that database we will need to create a table called
    `ugl'(Ultimate Game List, duh). To make the table, simply enter this in the Syntax. CODE
    CREATE TABLE ugl ( System char(50), Game char(50), ) In the above code, it is stating we are
    creating a table called ugl, with two columns, System, and Game. Next, we will need to make a form,
    t....
  3. Making A Song In Fruity Loops Part Three
    part three precusion (1)
    ok part three now which covers the precusions setup of the small song i built for this tutorial.
    the nesecery files can be downloaded here the image below is included in the precusions folder as
    it mught not be entierly visable within this post so shold you need it its there also the images
    purpose is to enable you to see what i am refering to within this tutorial lateron. now what i
    have done above is blackd out every pattern that has nothing to do with the precusion. so the
    patterns displayed in light grey are the only patterns i will be refering to. ok lets b....
  4. Making A Song In Fruity Loops Part 2
    part 2 the second melody (0)
    ok i am going to attach the midi file againe incase you didnt get it from the first part in this
    part i will demonstright how to create and insert the second mellody ok so you have your first
    mellody wich is ecetially the comein chord as i call it. now open the midi file you put in your left
    panel during the first tutorial and drag the mellody 2 © onto the pallet but click on pattern two
    in the right site playlist box. now like in the first tutorial replace with sytrus. for this type
    of mellody use something in the leads section of the plugin.for this you need to ....
  5. Creating A Resume
    10 Tips For Making A Resume (1)
    I've been working on my Resume for months now. Here is a summary of what I've learned: 1.
    Avoid referring to yourself via 1st person or 3rd person terms. Rather than saying "I started this
    job in" just say "Began job in"... Employers expect Resumes to be professional and avoid reference
    to oneself; and instead speaking in an impersonal tone that presents
    achievements/skills/experience/education without personalization. Avoid words like "I", "my", "he",
    "she", etc. Leave out personal pronouns and only use the action words/verbs. This also includes
    your Ob....
  6. Making A One Page Does All Website In Phph
    (2)
    Hello and Great Day or Night either one. Have you ever been to a site and seen a index page or any
    page at all control everything such as index.php?do=home&action=logout something similar to the
    above? Well I am going to show you how easy it is to make this all own your own, and only have to
    use one web template or design to make it work. Before we get started you need to go ahead and find
    the web design that you want to use. After you find the site you want to use go ahead and save
    it... and save it like this so we can work together, ok! Note* We are going to be s....
  7. Making a java based program
    (3)
    Java GUI Making a Little Java Program Sec. 1: Imports and starting it off Sec. 2: Variables Sec.
    3: Frame and Stuff Sec. 4: Declaring buttons Sec. 5: Adding buttons Sec. 6: Action Listening Sec. 7:
    Using this for a learning experience Section 1 Now, let's think. What imports do we need? We
    obviously need GUI imports. We also need the action Listener. So, let's declare this at the very
    top: Code: CODE import java.awt.*; import java.awt.event.*; import javax.swing.*; That's
    all we need to get all our supplies. Now to start us off. Skip a couple lines ....
  8. Making The Popular Id Browsing For Your Site.
    (17)
    Was just sitting and being bored but then I realized I could show how to create more or less popular
    ?id=page browsing. It's actually really easy. I know two ways how to do it. First one I learned
    was checking the variable and if it's true including the text/file/anything needed and so on. It
    was ok, but sometimes I just couldn't make it work so I switched to switch() function and
    that's what I'm going to show you guys right now. So, I made a test page which contains the
    code needed and here is its source. CODE Untitled Home - P....
  9. Making A Dynamic Page On Blogspot
    Using an external server to make your pages hosted on blogspot dynamic (5)
    Good morning everyone. Have you ever wondered how to allow your visitors to edit content on your
    blog? Like adding a post straight off the page, adding a link, editing your profile etc. This will
    be extremely useful if you want your visitors to contribute to your blog besides writing comments or
    tagging. 1. Adding a post straight off the page. Go to blogger.com, login, select your blog. Go to
    settings -> email. By enabling blog email, you can now add a post by simply sending an email to the
    address you specified. The address should look something like: yourusername....
  10. Making Interactive Cds With Flash
    My second flash tutorial for Beginners (2)
    Im back again with what i think it would be an interesting tutorial for all of you guys who wants to
    take flash out of the web and make really cool interactive CDS. First of all if all of you are
    thinking right now: "this dude is wrong for making interactive cds you have to use macromedia
    Director", well you are right macromedia director it's used to build interactive cds and dvds
    among other things, but you can also make interactive cds with Flash, the thing is: if you want to
    make a simple interactive CD you can totally do it with flash, of course Director brings ....
  11. Creating A Timer Program
    Using Visual Basic 2005 (8)
    This tutorial will explain how to create a basic timer using Visual Basic Express 2005. If you
    don't have it, it's free and you can dowload it from Microsoft's website. All you need
    is a few minutes to sit down and read this and a version of Visual Basic. OK, so what will this
    timer actually do? Well, you are able to enter a number of minutes and a message, and then click a
    button. Once the timer is up, your message pops up and you are reminded! So, basically it's a
    little reminder system. I use it to remind me when TV programmes start, when I have to go ....
  12. Using A Secure File Transfer Client
    A discussion of FTP, FTPS, SCP, and SFTP (0)
    Using a Secure File Transfer Client Almost everyone who creates a web site is faced with
    the problem of getting their files from their local computer to their web server. There are a few
    different protocols (methods) through which to accomplish this, and some have definite advantages
    over others. Here are the major ones, listed loosely in order of increasing security. Note: All
    of the programs recommended in this tutorial are for Windows only. Command line alternatives are
    accessible via the terminal for both Linux and OS X. FTP First a note on using ....
  13. Creating A Simple Image Viewer
    Using Visual Basic 2005 Express Edition (4)
    I downloaded Microsoft's Visual Studio Express suite a few months ago, but only recently got
    around to installing it. I have been practising with Visual Basic and making some rather basic
    programs and utilities, but they contain most of the basic concepts. This tutorial will explain how
    to create a basic image viewer, and I will try to explain each step from beginning to end as clear
    as I can. To start you will need: Microsoft Visual Studio About 10-20 minutes free time OK,
    first open up the Visual Basic part of the Studio. I am using the 2005 Express version, so....
  14. How To: Make A Simple Php Site
    Making one file show up on all pages using php (21)
    I have looked all over the site and could not find anything that was like this simple, or just like
    this at all.. For some people i know that you are using a basic HTML site...and having a big menu
    if you want to add somthing you have to go into every one of the pages and add or remove or edit
    what you want to do, but with somthing verry simple all you would have to do is edit one file, and
    all of the pages that have the PHP script on them would suddenly change to what that one file is.
    So to start off if you are planning on using this little tirck, the page that you a....
  15. How To Make A Web Browser
    Visual Basic 6 (83)
    This is a simple and specific tutorial on how to make a basic web browser in Visual Basic 6. Steps
    1-3 Create a new project, and then go to "Project" on the menu. Click components as shown in the
    following image. Find the component "Microsoft Internet Controls," check it, and click "Apply" and
    then "Close." Click the icon that was just added in the tools window, and draw a large sized
    window with it. This is going to be where you view webpages through your browser, so don't make
    it small, but leave room for buttons and other accessories. Steps 4-6 Make a t....
  16. Bit Shifting In Vb
    Shifting bits in Visual Basic (0)
    This is for all Visual Basic programmers out there, who want to programm some form of encryption
    algorithm, or anything else that includes shifting bits left or right, for that matter. Most of you
    who have tried to accomplish this, know that Visual Basic doesn't have any function for bit
    shifting. And bit shifting si very usefull /smile.gif' border='0' style='vertical-align:middle'
    alt='smile.gif' /> Some of you probably know how to shift bits, but this tutorial is for those who
    don't know how to do it... Shifting bits is actualy easy, we use multiplication ....
  17. Making Winrar Archives
    and adding password to winrar archives (15)
    **** This tutorial will show you how to put files into .rar Archive and pass worded (if wanted)
    **** What You Will Need Before continuing you will need a couple of thing, first of all you
    need WINRAR , which is a very powerful archive manager. It can reduce size for you email
    attachments, decompress RAR, ZIP and other types of files downloaded from the internet. You can get
    winrar at http://www.rarlabs.com The other thing is that make sure your using Windows XP because
    this is what I used to make this tutorial. I think it works with any other windows not....
  18. Tutorial: Installing D-shoutbox For Ipb V1.2
    Making your installation even easier (12)
    Over the course of the summer I have tried hard to install a shoutbox into a new forum I was
    developing. I went to the Invisionalize forums and found several mods for shoutboxes, but none of
    them seemed to work. I first tried to install the D-Shoutbox, but upon this first try, I was
    unsuccessful. Eventually, after much frustration, and trying other mods, which didn't seem to
    stack up to Dean's features, I was determined to make it work. For some, editing your files (to
    the newbie that is) can be difficult, with everything looking like a foreign language (basi....
  19. Making Shadows Without Images
    (4)
    Im going to show you very simply how to create boxes with Shadows using div tags and css, no images
    needed, meaning fat pageload times! /biggrin.gif' border='0' style='vertical-align:middle'
    alt='biggrin.gif' /> You simple need to create two layers, one behind the other, the one behind
    will have a top and left margin on 20px, the one infront 10px, set teh background colour of the one
    behing darker than teh one infront, you should end up with something like this: Here is th html
    to create this effect: CODE Its as simple as that, two divtags, a bit of cs....
  20. Using An Ftp Client
    (7)
    Using an FTP Client This tutorial applies not only to accessing your Trap17 account, but
    also to any other FTP account you may need to gain access to. Okay the first thing you're
    going to need is an FTP Client. There are a wide variety of FTP Clients with varying features.
    CoreFTP is a free solution and comes with basic features that most FTP Users need. CuteFTP is
    available for a Freeware download, but is well worth the money to buy a license for it. CoreFTP:
    Includes the following features: SFTP (SSH), SSL, TLS, IDN, browser integration, site to sit....
  21. Making A Webserver Directory Listing
    Helps you organise your webserver (6)
    I recentely installed IIS with PHP and MySQL on my pc (previous I used UniServer, but that
    doesn't matter here). But I had always to go to http://localhost/websiteiwanted or I had to
    create a shortcut on my desktop for every site so I decided to create an "overviewpage". It shows
    all the websites in your wwwroot with a link to them. If you have folders you don't want to be
    included, you extense the && check (but I'll explain this lateron) Here's the total code:
    CODE $dir=opendir('.'); $isdirtrue = false; while ($file = readdir($dir)){ ....
  22. Simple Login In Visual Basic 6
    user interaction example trough login programm (9)
    First of all, I am NOT a programmer, this is something my friend taught me. It describes basic
    interaction with the user, while showing basic functionality of this simple programm. So, without
    further ado, we're off to the tutorial: First of all, start your visual basic, when prompted
    for new project, select Standard Exe . Next, we need to open code window, so we can start typing
    the program. This can be done in two ways, one is double clicking on the form, or selecting Code
    from View menu. If you double clicked on the form, you will see following text: CODE ....
  23. Image Preloader With Progress Bar Status
    Pure Client-Side JavaScript tested in 4 Browsers! (28)
    Tutorial: Image Preloader with Progress Bar, by Rob J. Secord, B.Sc. (SystemWisdom)
    Description : A Tutorial for a Client-Side Image Preloader with Dynamic Real-Time Progress Bar
    Indicator written in JavaScript! Tested to work with 4 Major Internet Browsers: Firefox, MSIE,
    Netscape, Opera (Complete sample solution provided at end of tutorial, just put it on your
    web-server, add your images and go!) Intended Audience : Beginner to Intermediate Web
    Developers. Although this tutorial will cover some advanced aspects of JavaScript, I will try to
    explain it all ....
  24. Making A Website
    Also Some Dos and Don'ts (6)
    I had originally had this posted on my domain at nevernormal.com, and thought that you guys could
    use it here as well. Granted, this is geared to the uber newbie, so don't razz me if I
    don't suggest the most advanced in web design. lol So, you want to make a website? 1.
    First, think about what you want your site to be about. There are fanfic sites, like Drastic
    Measures and fanfiction.net ; cliques or clubs, like the BtVS Writers' Guild ; or, if you
    want, you could have a general site, whether it be about a show/movie you like, or even just about y....
  25. Simple Visual Basic 6 Tutorial
    Tutorial 1: Msgbox (0)
    For this tutorial you will learn how to make a very simple, and basic program. Step one- Create a
    new form. Step two- Click the command button on the side and make two buttons. Step Three- Click
    on on of the command buttons you drew, and on the side there will be a menu. Change the caption to
    Button 1, and repeat the same with the other button, but the caption Button 2. Step four- Double
    click one of the buttons, and put in CODE Dim button button = MsgBox("What you want to say
    here", 65, "Title") Now change that code to what you want it to say; i.e. title could....
  26. [tutorial] Visual Basic 6
    Adding Commas to Large Numbers (0)
    This isn't a very long tutorial. I get asked this often, so here is the solution. The following
    code will return a string containing a number that has commas appropriately placed: Code:
    myStringOrProperty = FormatNumber(3587532789053, 0) The second parameter (0) represents how many
    decimal places you want the returned number to go out to. Unless your number contains its own
    decimal, you probably don't want .00 at the end of every number you have. The above code would
    return: 3,587,532,789,053 This should make life easier for many.......
  27. [tutorial] Visual Basic 6
    Closing Programs Right, Why END is bad (8)
    This tutorial applies to all those people who insist upon using "End" to close their programs: End
    stops the program immediately without any thought as to what's going on - it's like a high
    speed train hitting a brick wall. It can cause unwanted errors and is bad programming practice in
    general. END gets rids of the form, but NOT its leftovers. This leaves a bunch of memory that will
    still be in use even after your program has supposedly closed. An object or variable won't be
    terminated properly - it's just not a graceful exit. The only time that it'....

    1. Looking for ftp, visual, basic, 6, 0, start, making, ftp, client, vb6
Similar
Making Calculators with PHP - Some basic calculator scripts I made.
How To Make An Ultimate Game List. - If you're making a site on video games or such.
Making A Song In Fruity Loops Part Three - part three precusion
Making A Song In Fruity Loops Part 2 - part 2 the second melody
Creating A Resume - 10 Tips For Making A Resume
Making A One Page Does All Website In Phph
Making a java based program
Making The Popular Id Browsing For Your Site.
Making A Dynamic Page On Blogspot - Using an external server to make your pages hosted on blogspot dynamic
Making Interactive Cds With Flash - My second flash tutorial for Beginners
Creating A Timer Program - Using Visual Basic 2005
Using A Secure File Transfer Client - A discussion of FTP, FTPS, SCP, and SFTP
Creating A Simple Image Viewer - Using Visual Basic 2005 Express Edition
How To: Make A Simple Php Site - Making one file show up on all pages using php
How To Make A Web Browser - Visual Basic 6
Bit Shifting In Vb - Shifting bits in Visual Basic
Making Winrar Archives - and adding password to winrar archives
Tutorial: Installing D-shoutbox For Ipb V1.2 - Making your installation even easier
Making Shadows Without Images
Using An Ftp Client
Making A Webserver Directory Listing - Helps you organise your webserver
Simple Login In Visual Basic 6 - user interaction example trough login programm
Image Preloader With Progress Bar Status - Pure Client-Side JavaScript tested in 4 Browsers!
Making A Website - Also Some Dos and Don'ts
Simple Visual Basic 6 Tutorial - Tutorial 1: Msgbox
[tutorial] Visual Basic 6 - Adding Commas to Large Numbers
[tutorial] Visual Basic 6 - Closing Programs Right, Why END is bad

Searching Video's for ftp, visual, basic, 6, 0, start, making, ftp, client, vb6
See Also,
advertisement


Ftp In Visual Basic 6.0 - Start making your FTP client using VB6

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com