Link to home
Start Free TrialLog in
Avatar of sameer08
sameer08

asked on

how to encorporate upload feature in VB

How do you encorporeate upload using VB.i want to upload a file from on drive to another for a desktop application.
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Hi sammer08,

Via LAN or Internet?
Avatar of segan
segan

Hi Sameer,

If you want to upload files from one system to another system in LAN
1) you can use FileSystemObjects or FileCopy statement with appropriate path(assuming you have access permissions)

ex: FileCopy "C:\File1.TXT" "\\System2\SharedFolder1\File1.txt"

2)you can use MS Internet Transfer Control with FTP protocol.(More examples are in MSDN)

If you meant anything other than these, state clearly what you want.

Selva.
segan,

Comments
Comments are intended to be used as a collaboration tool. Many Experts choose to post their solutions as comments only.

Answers
An answer is a specific solution to a question and should be submitted if it will solve the questioner's problem and doesn't duplicate a previous comment.

Comment Vs. Answer
If you are unsure of your solution, post it as a comment. Members can accept comments as solutions and award you Expert Points for them.

For more tips on comments and answers:
https://www.experts-exchange.com/jsp/cmtyQuestAnswer.jsp
ohya, welcome to EE :)
ryancys,

yep, i am much aware of what a comment is and what a answer is.

My answer is very staight forward, if you use LAN, option 1 will solve ur prob. if you use internet, option 2 will solve ur prob. There is noting to unsure about.understand?

If you are an intermediate vb programmer, at least, you can convert the same into solution!

Solution(!?-better you can go for online forums!) you have posted is COMMENT.
Mine is ANSWER!
:)
segan,

I encourage you to re-read the EE Guidelines (http://devx.experts-exchange.com/jsp/cmtyQuestAnswer.jsp) specifically the section under:
Advice for Experts on Providing Solutions Through Comments or Answers

I realize you are new here and mistakes happen.

Thanks,
Anthony
Greetings.

This question has been locked with a Proposed Answer, and remains open today.  Questions in the LOCKED versus OPEN queue draw little to zero additional attention by Experts.

If the Proposed Answer did not serve your needs, please reject it and comment with an update.  If the Proposed Answer helped you, please accept it to grade and close this question.  If you need help splitting points between multiple experts, please comment here with details so we can help you.

EXPERTS ->  Please guide me here in terms of closing recommendations if the Asker does not respond in 4 days.

Thanks to all,
Moondancer - EE Moderator
Dear segan
I've rejected your proposed answer as Experts Exchange holds an experiment to work without the answer button.

See: <https://www.experts-exchange.com/jsp/communityNews.jsp>
Paragraph: Site Update for Wednesday, November 06, 2002

By this rejection the Asker will be notified by mail and hopefully he will take his responsibility to finalize the question or post an additional comment.
The Asker sees a button beside every post which says "Accept This Comment As Answer" (including rejected answers) -- so if he/she thinks yours is the best, you'll be awarded the points and the grade.

EXPERTS: I will return in seven days to close this question.
Please leave your thoughts and recommendations here

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Thanks !

kodiakbear
Experts Exchange Moderator
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in Community Support that this question is:
- PAQ/no refund. If segan comes back with a written explanation of what happens when an answer is proposed and what impact that has on the EE community, the questioner, and the other experts, then the points can go to segan.
Please leave any comments here within the
next seven days.
ASKER CERTIFIED SOLUTION
Avatar of SpideyMod
SpideyMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial