Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

MS Access 2010 VBA FTP

Posted on 2013-07-01
5
2,879 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

792 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