Solved

FTP from VBA using Windows 2k8 Server R2

Posted on 2010-08-23
5
728 Views
Last Modified: 2013-11-29
I am creating a Microsoft Access database that needs to send and receive files via FTP.

I'm running Windows Server 2008 and MS Office 2003. So far everything has been fine.

I downloaded msinet.ocx.  I placed it in the System32 file; but when I tried to reference it from within VBA, it couldn't find the file. Puzzled, I placed the file in c:/. Then I referenced it. Also registered it from that location. However, when I attempted to register it from the System32 file, I got the message "the module may not be compatible with the version of Windows you're using."

Anyway, when I try to run the VBA code, I get the following message: "ActiveX Component can't create object."

Also, this is being used completely in memory - its not tied to a control of any sort on a form. Does it need to be?

Any ideas ?? I read a bunch of things online ranging from licensing issues to 64-bit incompatibility . . . i'm lost.
0
Comment
Question by:dennisdh86
  • 3
5 Comments
 
LVL 12

Expert Comment

by:mcv22
ID: 33505188
0
 

Author Comment

by:dennisdh86
ID: 33505326
i did try using this before - couldn't get it to work, not sure why.
0
 
LVL 18

Accepted Solution

by:
jmoss111 earned 300 total points
ID: 33506045
Ive been using a solution based on http://www.mvps.org/access/modules/mdl0037.htm for quite awhile. If you download files larger than 42 mb you will run into a numeric overflow error 6 in a counter.
0
 

Author Comment

by:dennisdh86
ID: 33513658
i have tried this solution as well, but found it poorly documented and therefore rather cumbersome to implement. It does work right now; however I was drawn to msinet.ocx because of the StateChanged event and its ability to tell me what point i'm at. (Also there is plenty of documentation for it.)

Do you know if there is a way this can be accomplished using the solution above?
0
 

Author Closing Comment

by:dennisdh86
ID: 33745584
Thanks!
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now