Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 29th, 2003, 12:32 PM
Authorized User
Join Date: Aug 2003
Location: , , .
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Data Transmission via VB

Hi. If you choose to respond to this, please put your answer in terms that a bum off the street could understand. I'm proficient with VB, but I get hazy in the more advanced aspects of it.

I want to write a program in VB that, at set times during the day, connects to the internet and transmits all of the files in a set folder, say, C:/myprogramdir/files/, to a web server. The files will most likely be Excel spreadsheets or Access databases.

Thanks to all in advance for your help.

  #2 (permalink)  
Old September 1st, 2003, 04:24 AM
Friend of Wrox
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post

Have you looked into using the the internet transfer control to send the files?

As to running it at set times each day, you can either schedule a task thro windows, or use the standard VB timer control.
  #3 (permalink)  
Old September 10th, 2003, 08:30 AM
Friend of Wrox
Join Date: Aug 2003
Location: , , .
Posts: 205
Thanks: 0
Thanked 0 Times in 0 Posts

I would have to know more about the situation, but I have done such a project. We set up ASP pages on the web server along with a COM+ enabled dll. We then sent the forms in a post using Microsoft's MSXML object to the ASP pages and handled it from there. Your method is going to depend on the architecture of the system. Can you install files on the Web Server? What are the size of the files you are sending? Is FTP enabled on the server? Can you use a Web Folder (a Windows folder that is web enabled so that it can be used on remote machines)?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Report in VB lalit_84m Pro VB 6 1 July 2nd, 2007 09:55 PM
XML Transmission to USPS RobinR Classic ASP XML 2 October 12th, 2004 08:56 PM
Help me with VB data link nnthanh VB Databases Basics 1 July 30th, 2004 08:14 AM
Data Report in VB mina Pro VB 6 0 June 16th, 2004 03:54 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.