-
WSD Willett
AskWoody LoungerSeems you’re right !
I tried:
Case “PUT”
msCurrentFile = sFTPSrcFileName
If oFS.FileExists(sFTPSrcFileName) = False Then GoTo FTPFileExit
If oFS.FileExists(sFTPTgtFileName, vbDirectory) = False Then MkDir sFTPTgtFileName
Inet1.Execute sURL, sFTPCommand & Space(1) & sFTPSrcFileName & ” ” & sFTPTgtFileNameWhich doesn’t work
-
WSD Willett
AskWoody LoungerHans
Does this help, I tried the fso statement in the “PUT” section as I think this opens the connection.
It crashed because strRef isn’t created until later in the code?Friend Sub FTPFile(ByVal sFTPServer As String, _
ByVal sFTPCommand As String, _
ByVal sFTPUser As String, _
ByVal sFTPPwd As String, _
ByVal sFTPSrcFileName As String, _
ByVal sFTPTgtFileName As String)Dim oFS As Scripting.FileSystemObject
Dim sURL As StringOn Error GoTo FTPFileExit
Me.HRG True
msCurrentFile = “”Set oFS = New Scripting.FileSystemObject
sURL = “ftp://” & sFTPUser & “:” & sFTPPwd & “@” & sFTPServer
Inet1.Protocol = icFTP
Inet1.RequestTimeout = 60
Inet1.RemotePort = 21
Inet1.AccessType = icDirect
Inet1.URL = sURLSelect Case sFTPCommand
Case “PUT”
msCurrentFile = sFTPSrcFileName
If oFS.FileExists(sFTPSrcFileName) = False Then GoTo FTPFileExit
Inet1.Execute sURL, sFTPCommand & Space(1) & sFTPSrcFileName & ” ” & sFTPTgtFileNameCase “GET”
msCurrentFile = sFTPTgtFileName
If oFS.FileExists(sFTPTgtFileName) = True Then oFS.DeleteFile sFTPTgtFileName, True
Inet1.Execute sURL, sFTPCommand & Space(1) & sFTPSrcFileName & ” ” & sFTPTgtFileNameEnd Select
Me.WaitForResponse
Inet1.Execute sURL, “quit”
Me.WaitForResponseFTPFileExit:
Set oFS = Nothing
HRG False
End Sub -
WSD Willett
AskWoody LoungerThe installation always seems to halt on the following line:
File7=@msvbvm60.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,4/14/08 1:12:00 AM,1384479,6.0.98.2
Asks me to reboot to update windows every time.
If I remove the line, the install works Ok !! -
WSD Willett
AskWoody LoungerThank you Hans.
-
WSD Willett
AskWoody LoungerThank you, it works great.
-
WSD Willett
AskWoody LoungerThanks Hans
Got it working ok.
-
WSD Willett
AskWoody LoungerDoCmd.TransferText acExportDelim, , “tblData”, “C:TestData.csv”, True
Hi Hans
This code creates the field data with quotes, ie
“CAT”,”DOG”,”MOUSE”
I need:
CAT,DOG,MOUSE
Instead, is there an alternative to the line of code?
-
WSD Willett
AskWoody LoungerCheers guy’s
Works perfect.
-
WSD Willett
AskWoody LoungerThaks for the help but I am getting “Circular Reference caused by Alias… ”
RepairCosts: IIf(IsNull([RepairCosts]) Or [RepairCosts]=0,”UNKNOWN”,[RepairCosts])
-
WSD Willett
AskWoody LoungerYes I see now Hans
I kind of had the same set up.
Thanks once again for giving me a good start. -
WSD Willett
AskWoody LoungerHans
You don’t have a very quick example do you so I can study it?
I think my whole database is incorrect, perhaps looking at aneample would help me along. -
WSD Willett
AskWoody LoungerNo this is fine Hans, does what it says on the tin.
I may have to deal with some blank fields though, I’ll deal with them when I’ve tested this.Thanks once again.
-
WSD Willett
AskWoody LoungerHi Dave,
Do you want to export all records behind the form, or specific data from the form?
Access has a built-in method DoCmd.TransferText, but it works only with tables and queries.
Hi Hans
Ideally what the user see’s on the form, but if it’s easier to export all the table then the destination CSV can be over written every time.
-
WSD Willett
AskWoody LoungerCheers Hans
I’m sure Jan will tidy things up a little… the bears are just fantastic though, I’ve seen many she has made, very talented.
Everyone is individual and unique, I think she sew’s a little love into each one….Bless !
-
WSD Willett
AskWoody LoungerSorry to confuse you all on this.
I used the Access forum because the project I’m trying to build uses VB forms with ODBC & Access data, it just so happened in this case to be the ODBC datasource.The information gained of the .text & .value property is very useful, so many thanks again.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Outdated Laptop
by
jdamkeene
1 hour, 6 minutes ago -
Updating Keepass2Android
by
CBFPD-Chief115
1 hour, 20 minutes ago -
Another big Microsoft layoff
by
Charlie
1 hour ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
49 minutes ago -
May 2025 updates are out
by
Susan Bradley
1 hour, 24 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
7 hours, 4 minutes ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
7 hours, 5 minutes ago -
Drivers suggested via Windows Update
by
Tex265
6 hours, 56 minutes ago -
Thunderbird release notes for 128 esr have disappeared
by
EricB
4 hours, 40 minutes ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
13 hours, 56 minutes ago -
Apple releases 18.5
by
Susan Bradley
8 hours, 21 minutes ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
15 hours, 22 minutes ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
15 hours, 59 minutes ago -
Windows 7 ISO /Windows 10 ISO
by
ECWS
50 minutes ago -
No HP software folders
by
fpefpe
23 hours, 41 minutes ago -
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
3 hours, 5 minutes ago -
Stay connected anywhere
by
Peter Deegan
1 day, 5 hours ago -
Copilot, under the table
by
Will Fastie
20 hours, 17 minutes ago -
The Windows experience
by
Will Fastie
1 day, 11 hours ago -
A tale of two operating systems
by
Susan Bradley
1 day, 2 hours ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
1 day, 16 hours ago -
Where’s the cache today?
by
Up2you2
2 days, 7 hours ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
2 days ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
1 day, 1 hour ago -
Blocking Search (on task bar) from going to web
by
HenryW
3 hours, 18 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
3 days, 1 hour ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
3 days, 1 hour ago -
regarding april update and may update
by
heybengbeng
3 days, 2 hours ago -
MS Passkey
by
pmruzicka
2 days, 4 hours ago -
Can’t make Opera my default browser
by
bmeacham
3 days, 10 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.