|
-
Feb 16th, 2002, 06:33 AM
#1
TUTORIAL NEEDED DESPERATELY
Have you ever seen those programs where you cilck on the "Browse..." Button, you choose a file, and the program saves the file to it's server?
I need a tutorial on file handling....
I need to get DOC, TXT or JPG files from some computer, and save them to the main server, and also manipulate file information, such as where it's stored on the server, size, etc...
Any tutorials? plz??
TY!
Last edited by mendhak; Feb 16th, 2002 at 12:15 PM.
-
Feb 16th, 2002, 06:40 AM
#2
-= B u g S l a y e r =-
a bit unclear mendhak, could u explain it a bit better?
-
Feb 16th, 2002, 07:17 AM
#3
ok....
If you ever go to one of those freeserver sites, or even below the textbox in the reply mode right now...
there's a text box, and next to it, there's a Browse... button
You click on it, you browse for a file, you get a file, and that file gets uploaded.
That's what I need to do .
so i need some sort of a file handling tutorial.
i hope it's clear now.
-
Feb 16th, 2002, 12:16 PM
#4
-
Feb 16th, 2002, 03:38 PM
#5
I think that "Browse..." button you refer to calls up the Open Common Dialog. Set a reference to the Microsoft Common Dialog Control, put a Common Dialog Control on a form and try this:
VB Code:
CommonDialog1.ShowOpen
MsgBox CommonDialog1.filename
The CommonDialog Control help file has a bunch of information.
You might also want to look at the FileListBox and DirListBox controls, or search the forum for info on the File System Object (FSO).
In VB Square under Topic Area I see a "File/Directory" option that links to a list of tutorials dealing with files and the directory.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|