-
WSBriana
AskWoody Loungerhyperlinks added- Mod
I’ve also used ADO to access LDAP. Microsoft has an SDK that can be found here: http://www.vbdiamond.com/Sources/ViewSource.asp?ID=1182%5B/url%5D
After installing, navigate down to the adsi/sdk/Samples/vbs directory. There are several samples there that, in my case, ALMOST work. I had to tweak them, but the tweaks were minor. -
WSBriana
AskWoody LoungerEdited by gwhitfield on 13-Jan-02 07:45.
hyperlinks added
Sometimes it is a problem with incompatibilities with MDAC. Download the latest version here: http://www.microsoft.com/data/default.htm and see if that fixes the problem.
-
WSBriana
AskWoody LoungerWell, there’s SOMETHING different about that machine. How much disk space do you have? How much free? Have you run a defrag on it lately?
There’s a lot of reasons why it would slow down, but it seems that it has to be an environment issue (well duh!).
I had a similar problem, and it turned out to be low disk space, which caused pressure on the paging file. -
WSBriana
AskWoody LoungerTim:
I did that in a previous lifetime. It was a little more complicated, but basically I created an Outlook macro that did the work and, yes, I did put a digital signature on it. That way, it only complained whenever I made a modification to the macro – telling me that I was writing to a protected file (or something similar). But the upshot is that you will have this macro in an .OTM file that is loaded when that copy of Outlook is started.
If you have any further questions, feel free to respond.
Hope that helps.
Brian A
-
WSBriana
AskWoody LoungerJanuary 12, 2002 at 4:05 pm in reply to: Reading Outlook e-mail addresses (Visual Basic 6.0) #563368I tried that, but kept getting errors. However, it did point me in the right direction for some research. I found this subroutine which fills the bill:
Private Sub RetrieveOutlookList()
Set olApp = New Outlook.Application
Set olNS = olApp.GetNamespace(“MAPI”)
dlgAddress.Combo1.Text = “or select an e-mail address from this box.”
For Each olAL In olNS.AddressLists
For Each olAE In olAL.AddressEntries
dlgAddress.Combo1.AddItem olAE.Name & “(” & olAE.Address & “)”
Next
Next
End SubYou still have to make a reference to Outlook (like before) and Outlook needs to be running.
Brian A.
-
WSBriana
AskWoody LoungerWassim:
I’ll give it a try! Thanks!
Brian A.
-
WSBriana
AskWoody LoungerCharles:
Thanks for the reply. Actually, I was using Word’s Insert>Picture>Clip Art, then selecting Borders & Frames. In the past it worked fine, but when I moved to a new machine it started separating the border onto a separate page.
But here’s the really weird part. It’s working again! For no apparent reason that I can fathom, Word decided to stop playing this silly game and leave the border behind the text where it belongs.
I really do appreciate all the suggestions, and I have filed them away for future reference. Again, thank you!Brian
-
WSBriana
AskWoody LoungerAugust 3, 2001 at 6:16 pm in reply to: Active X – not able to CreateObject (Outlook 98, Office 97) #535896Be sure that the other machine has Microsoft Scripting installed.
-
WSBriana
AskWoody LoungerI know it is possible to read the keywords in a program, since I have program which does it. You might want to check out the Microsoft article: q224351
-
WSBriana
AskWoody LoungerBe sure that when you finish using an object, you release it by setting it to Nothing.
Set MyOdbc = Nothing
Otherwise, VB wil not free the memory.
This may not be the problem that you are having, but it is actually a common error.
-
WSBriana
AskWoody LoungerTrue, but what I’m trying to do is let Word scan the document for keywords using the Autosummarize function, then update the Properties with the keywords. So any future scans using DSOFile should show the keywords without having to open that document.
In effect, I’m writing an app that will help find WORD documents via keywords.
As an aside, I’ve discovered that DSOFile will error out in Visual Basic if a file with a .DOC extention is not a WORD document. I can catch the error under W2K, but not W98. Very strange.
-
WSBriana
AskWoody LoungerCathy:
Thanks! That was just the push I needed. I already have the DSOFile Object library that will let me read the properties of Office documents. I had written a VB app that will find all of the DOC files on my system and list the keywords associated with each document, but I found that some of the documents lacked keywords. This should fix the problem.
Gary: Sorry if I wasn’t clear in my original post.
Brian A
-
WSBriana
AskWoody LoungerWhat I am doing is writing an Outlook-driven PDL that requires no signup. When a message comes in, my PDL application finds the manager(s) that the message is from, then looks up their entire reporting structure in the corporate database and builds a BCC list. It then sends a copy of the message out to everyone on the list. I tried the FORWARD function, but for some reason, I kept getting an error from my Exchange server about permissions. I fixed that by making a copy of the message and sending the copy, rather than the original.
The attachments was the last major hurdle. Aside from testing, it seems to be ready for release.
-
WSBriana
AskWoody LoungerI want to thank everyone for the assistance. Since I couldn’t do a simple forward,(which I tried first, by the way), it was beginning to be a bit of a problem. Here’s my solution:
Private Sub Copy_Attachments(FromMail As MailItem, ToMail As MailItem)
Dim i As Integer
Dim SavedName As StringFor i = 1 To FromMail.Attachments.Count
With FromMail
If FromMail.Attachments.Count > 0 Then
SavedName = “C:” & FromMail.Attachments.Item(i).FileName
FromMail.Attachments.Item(i).SaveAsFile SavedName
ToMail.Attachments.Add SavedName
Kill SavedName
End If
End With
Next
End SubAgain, thanks!
![]() |
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
-
Blocking Search (on task bar) from going to web
by
HenryW
3 hours, 13 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
8 hours, 20 minutes ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
8 hours, 27 minutes ago -
regarding april update and may update
by
heybengbeng
9 hours, 56 minutes ago -
MS Passkey
by
pmruzicka
6 hours, 1 minute ago -
Can’t make Opera my default browser
by
bmeacham
17 hours, 37 minutes ago -
*Some settings are managed by your organization
by
rlowe44
4 hours, 20 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
16 hours, 31 minutes ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
1 day, 12 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
1 day, 21 hours ago -
AI slop
by
Susan Bradley
11 hours, 18 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
1 day, 22 hours ago -
Two blank icons
by
CR2
10 hours, 14 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
2 days, 7 hours ago -
End of 10
by
Alex5723
2 days, 10 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
1 day, 7 hours ago -
test post
by
gtd12345
2 days, 16 hours ago -
Privacy and the Real ID
by
Susan Bradley
2 days, 6 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
8 hours, 33 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
2 days, 20 hours ago -
Upgrading from Win 10
by
WSjcgc50
1 day, 8 hours ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
1 day, 11 hours ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
3 days, 12 hours ago -
The story of Windows Longhorn
by
Cybertooth
2 days, 23 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
3 days, 14 hours ago -
Are manuals extinct?
by
Susan Bradley
14 hours, 25 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
3 days, 23 hours ago -
Network Issue
by
Casey H
3 days, 10 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
4 days, 11 hours ago -
May 2025 Office non-Security updates
by
PKCano
4 days, 11 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.