Solved

MS Access 2010 VBA FTP

Posted on 2013-07-01
5
2,811 Views
Last Modified: 2013-08-11
I am trying to upload a file via FTP in a procedure. I have researched various links on how to do this, but they seem to refer to older Access Versions, and I receive error messages when trying to use in Access 2010, stating that the code was written for older versions. Can someone point me in the correct direction for this. The information I tried to use was:

 Internet Data Transfer Library - http://access.mvps.org/access/modules/mdl0037.htm

Thank you
0
Comment
Question by:rrudolph
  • 3
  • 2
5 Comments
 
LVL 21

Accepted Solution

by:
Boyd (HiTechCoach) Trimmell, Microsoft Access MVP earned 500 total points
ID: 39290098
Here is the code is use with Access 2010 32-bit.

See:  FTP Client functions

** Note:  It has not been converted to work with Access 2010 64-bit
0
 

Author Comment

by:rrudolph
ID: 39290139
Thank you, I am in a 64 bit environment, and did not realize I should mention that.
0
 
LVL 21
ID: 39291007
If you are running Access 2010 64-bit, you will have to modify same VBA code to get it to work. . Especially any Windows API calls.

Most VBA code examples will work in new versions excepy when switching to Access 2010 64-bit.   Because of all the issues with Access 2010 64-bit, most people avoid it. That is why you are not finding many example for Aces 2010 64-bit.

See:

 Compatibility Between the 32-bit and 64-bit Versions of Office 2010


Declare Statment And Ptrsafe Attribues, Office 2010

FWIW:
"Office 2010 (64 bit versions) "
Well ... at the 2010 mvp summit (2011 in 2 weeks) ... the Access product peeps specifically told us ... "avoid O2010x64 unless you really need super giant large Excel spreadsheets"
0
 
LVL 21
ID: 39291435
Here is a previous question related to the same issue that I answered:

http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_28153370.html#a39236338
0
 

Author Comment

by:rrudolph
ID: 39302720
Well I was wrong....I'm on a 64 bit server, but the Office is 32 bit. I will go back and review all of the suggestions to date and then update the question as to what seems to work. Thank you.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

914 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

15 Experts available now in Live!

Get 1:1 Help Now