-
WSdBETTSXX
AskWoody LoungerThanks, gents. As always, you’ve gotten me over my “stuck” place. The MSINET.OCX file is on my machine and appears to be super-flexible, in that you simply feed it the desired FTP command and away ya’ go !
Now all I have to do is reference it and root around and hack up a VBA code block or two to make a full featured FTP thingie with retry and status messages, etc.
Thanks !
-
WSdBETTSXX
AskWoody LoungerApril 13, 2003 at 6:57 pm in reply to: Outlook Progress Indicator Needed (Outlook 2000 / VBA) #668308Oh, Duh! (It’s the easy stuff that cr*ps me up!) THANKS!
-
WSdBETTSXX
AskWoody LoungerFebruary 26, 2003 at 4:26 pm in reply to: OpenRecordSet Doesn’t Make all Records Visible? (Access 2000 SP2) #656854Thank-you. Much more intelligent. Works just fine! Now, on to the next challenge…
-
WSdBETTSXX
AskWoody LoungerFebruary 26, 2003 at 3:01 pm in reply to: OpenRecordSet Doesn’t Make all Records Visible? (Access 2000 SP2) #656817Thanks for your reply, Hans.
You’re right to wonder why I’d want to “go ’round the Horn” to make this report complicated. I’ve always used the bound report approach before. This mess arose as a consequence of trying to have a calculated field in the DETAIL section of the REPORT. While it’s easy to convert a code number (1, 2, 3, 4) stored in the underlying table into a corresponding dollar amount with a calculated field in the REPORT; what I couldn’t do was avoid having the dollar figures themselves hard-coded inside the calculated field (which is to say: trying to do the calculation in VBA, where I could access pre-defined global constants (which vary over time) and define (and change) them easily from a MODULE (as I do everywhere else in this particular application.)) The calculated field always sees inserted variables as PARAMETERS and prompts for them when the report is run.
I’m going to give up and just go and convert the codes in the table to the correct dollar amounts and store those, (pain in the a**, since I need to dig up the archived values for about 2,500 records) unless you can suggest something more intelligent.
-
WSdBETTSXX
AskWoody LoungerFebruary 26, 2003 at 12:08 pm in reply to: OpenRecordSet Doesn’t Make all Records Visible? (Access 2000 SP2) #656740Thanks for the replies!
In my zeal, I didn’t mention that I had added the required While…Wend…MoveNext structure (below), before.
The code below goes with a REPORT that is unbound (ie no Record Source). It is to run when the REPORT
is opened. I am now confused by the following:
=========================================================================================
Option Compare Database
Option ExplicitDim intCancel as integer
Dim intFCount as integerPrivate Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
fldMYRECNUM = recDATABAG!MYRECNUM
fldTWO = recDATABAG!TWO
fldTHREE = recDATABAG!THREE
MsgBox (“Record ” & recMYRECNUM)
End SubPrivate Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As Integer)
fldREPORTTITLE = “Title of Report”
End SubPrivate Sub Report_Close()
recDATABAG.Close
End SubPrivate Sub Report_Open(Cancel As Integer)
Set db = CurrentDb()
Set recDATABAG = db.OpenRecordset(“Special Query”, dbOpenDynaset)recDATABAG.MoveLast
recDATABAG.MoveFirstMsgBox (“Found ” & recDATABAG.RecordCount & ” records”)
while not recDATABAG.EOF
Call Detail_Format(intCancel, intFCount)
recDATABAG.MoveNext
wend
End Sub
=========================================================================================
This code works and iterates through the record set, except that it gives an error message telling me I can’t assign
values to fldMYRECNUM, fldTWO and fldTHREE. Yet, I can do exactly this in a FORM. Why is a REPORT different?
The MsgBox inside the DETAIL lists each record number, proving the DETAIL is executing on each iteration. The
unbounded textboxes exist in the DETAIL section on the REPORT and appear if I type “Me.” in the code.Thanks for any insights!
-
WSdBETTSXX
AskWoody LoungerI too have had a similar? problem. I have two email accounts on my Outlook. I work offline and do Send/Receive, rather than stay connected. Home mail goes fine thru my ISP. Where I have problems is mail thru by business Exchange Server, which does not seem to like certain SMTP addresses. That is, mail *always* goes if it addressed to someone on the Global Address Book from the Exchange Server BUT, if I add a SMTP address to my local address book and send a mail to that person, the mail will sometimes “hang” in the Outbox (altho’ mysteriously, it will also sometimes appear in the Sent Items folder and I get a “Mail Received” receipt, ie sent but not sent!) I’ve tried re-entering the ENTIRE message (including the address !) with no change. I’ll also sometimes get an idiot message, presumably from the Exchange Server: “Couldn’t Open the Information Store”, whatever the hell THAT means… Most frustrating is the inconsistency, therefore hard to test / diagnose… Any thoughts? Thanks !
– DB
-
WSdBETTSXX
AskWoody LoungerOctober 9, 2001 at 2:14 pm in reply to: Failure to Correctly Add A Record (Joined Tables) (Access 2000) #545864After further experimentation with this problem, I found something curious: ACCESS 2000 appears to refuse to permit referential integrity between tables in the current .MDB file and items which are LINKED from elsewhere (a change from ACCESS 97). It does not help to set exclusive use (Tools | Options | Advanced). Anybody know how to re-establish referential integrity? (The two tables I’m using are linked by a field called “ID” which is an indexed autonumber field in one table and an indexed integer field in the other.)
-
WSdBETTSXX
AskWoody LoungerNo answers were forthcoming, so I heaved a sigh and dug into the .JPG file structure. To save any of you (that might be inclined) the trouble, here is some VBA code that allows you to look into a .JPG file and determine it’s orientation:
Dim ByteStr As String
Dim Ydim, Xdim As Integer‘ Open the file for “input”
Open C:pathnamefilename.JPG For Input As #1
Do While True
ByteStr = Input(1, #1)
‘ Search for an FFh (255d) byte, followed by a C0h (192d) byte (marker for file size block).
If Asc(CVar(ByteStr)) = 255 Then
ByteStr = Input(1, #1)
If Asc(CVar(ByteStr)) = 192 Then
‘ Throw away next two bytes after the FF C0 block marker.
ByteStr = Input(2, #1)
‘ Get the next four bytes. They contain the image dimensions in pixels.
ByteStr = Input(4, #1)
Exit Do
End If
End If
Loop
Close #1
‘ The first two of the four pixel bytes contain the “Y” (vertical) dimension.
Ydim = Asc(CVar(Mid(ByteStr, 1, 1))) * 256 + Asc(CVar(Mid(ByteStr, 2, 1)))
‘ The second two of the four pixel bytes contain the “X” (horizontal) dimension.
Xdim = Asc(CVar(Mid(ByteStr, 3, 1))) * 256 + Asc(CVar(Mid(ByteStr, 4, 1)))‘ Lastly, compare the y-dimension to the x-dimension…
If Ydim > Xdim Then
‘ set OLE picture field (in ACESS form) to portrait orientation
‘ Picture dimensions are set in “twips”, see Access Help for definition
olePicture.Width = 2665
olePicture.Height = 3073
Else
‘ set OLE picture field (in ACESS form) to landscape orientation
olePicture_1.Width = 3073
olePicture_1.Height = 2665
End IfHope you all find this useful! – DB
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
Office gets current release
by
Susan Bradley
4 hours, 36 minutes ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
21 hours, 8 minutes ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
5 hours, 39 minutes ago -
Stop the OneDrive defaults
by
CWBillow
21 hours, 57 minutes ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
1 day, 7 hours ago -
X Suspends Encrypted DMs
by
Alex5723
1 day, 10 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
1 day, 10 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
1 day, 10 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
1 day, 11 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
23 hours, 46 minutes ago -
Enabling Secureboot
by
ITguy
1 day, 6 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
1 day, 19 hours ago -
No more rounded corners??
by
CWBillow
1 day, 15 hours ago -
Android 15 and IPV6
by
Win7and10
1 day, 5 hours ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
2 days, 7 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
2 days, 10 hours ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
2 days, 5 hours ago -
Windows Update orchestration platform to update all software
by
Alex5723
2 days, 17 hours ago -
May preview updates
by
Susan Bradley
2 days, 5 hours ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
1 day, 20 hours ago -
Just got this pop-up page while browsing
by
Alex5723
2 days, 10 hours ago -
KB5058379 / KB 5061768 Failures
by
crown
2 days, 7 hours ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
1 day, 9 hours ago -
At last – installation of 24H2
by
Botswana12
3 days, 9 hours ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
7 hours, 8 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
3 days, 21 hours ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
1 day, 20 hours ago -
Limited account permission error related to Windows Update
by
gtd12345
4 days, 10 hours ago -
Another test post
by
gtd12345
4 days, 11 hours ago -
Connect to someone else computer
by
wadeer
12 hours, 28 minutes 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.