By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,660 Members | 1,593 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,660 IT Pros & Developers. It's quick & easy.

Need to VB.NET Upload Component Calling on Classic ASP

P: 3
Hello All,

I need some ideas, how can I make a Upload COM Component via VB.NET ?

my Way of what I want to do.

1. create a sender form in asp that name is sendfile.asp. Code like that
[code]
<FORM name="test" ACTION="savefile.asp" METHOD="POST" ENCTYPE="multipart/form-data">
<INPUT TYPE="FILE" NAME="myFile1">
<INPUT TYPE="SUBMIT" VALUE="send file">
</FORM>
[code]

2. create a asp file name is savefile.asp. Code like that
Expand|Select|Wrap|Line Numbers
  1. Set Upload = Server.CreateObject("ad_Upload_WC_35.Upload")
  2. count = Upload.Save(server.mappath("uploadtmp"))
  3. response.write "Saved " & count & " file(s)"
  4.  
3. Now I have to create a vb.net class and get sending file.

but how ?

any idea?
Dec 29 '14 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.