Solved

FTP from VBA using Windows 2k8 Server R2

Posted on 2010-08-23
5
727 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

760 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

18 Experts available now in Live!

Get 1:1 Help Now