-
WSIanR
AskWoody LoungerHi Hans,
I have tried your code (modified – see below) and get the following error message:
Cannot start your application. The workgroup information file is missing or opened exclusively by another user.
The code stops at the cnn.Open statement.
Is there any chance that the problem is the provider? Should I be using a text file provider, rather than an Jet provider?Public Function GetFileRst(strFileName As String, strFilePath As String, _
strLogon As String, strPwd As String)Dim cnn As New ADODB.Connection
Dim rst As New ADODB.Recordset
Dim strCnn As StringstrCnn = “Provider=Microsoft.Jet.OLEDB.4.0;”
strCnn = strCnn & “Data Source=” & strFilePath & “;”
strCnn = strCnn & “Extended Properties=’text;HDR=YES;FMT=Delimited'”cnn.Open strCnn, UserID:=strLogon, Password:=strPwd
rst.Open Source:=”SELECT * FROM ” & strFileName, _
ActiveConnection:=cnn, CursorType:=adOpenStatic, _
LockType:=adLockReadOnly, Options:=adCmdTextDo While Not rst.EOF
Debug.Print rst(0).Value
Looprst.Close
Set rst = NothingEnd Function
-
WSIanR
AskWoody LoungerHi Hans,
I had thought of that but my question was aiming at a more fundamental level. I often put a lot of code in the onLoad event of a form and up until now I have made reference to the values of bound controls in that code. Normally this has worked but I wonder if I have just been lucky with the timing.
Regards
Ian -
WSIanR
AskWoody LoungerOops, just re-read your reply. What is a repair installation?
-
WSIanR
AskWoody LoungerSorry Hans, I thought I had said that in my post. Yes I have tried detect and repair.
-
WSIanR
AskWoody LoungerThe exact same thing has just happened to me: last week all my databases worked – this week I get ‘The OpenReport action was canceled’ when I try to run reports, and nothing at all when I try to open one in design view. This is happening to all the databases that I try and open on my machine. When I open the same databases from other machines I do not have any problems. I am running Access 2003 (sp2) on Windows XP Pro (sp2). Others on the network are running a mixture of Windows 2000 Pro and XP Pro. Everybody is running Access 2003.
I have tried Compact and Repair from the Tools menu and Detect and Repair from the Help menu, but I still have the problem. I’ve checked the references in VBA and nothing looks out of place. Because I often dial in from home my PC was left on over the weekend. I had one of those messages when I logged in this morning saying that some kind of update had required a reboot. I can’t remember the exact words but I wonder if that is significant.
I have printers installed and I can print to them with other applications.
Any clues gratefully received.
Ian
-
WSIanR
AskWoody LoungerThat gets rid of the light brown space behind the tabs, but the tab control itself is still not transparent.
-
WSIanR
AskWoody LoungerI’ve just received the three replies to the origanal post this morning.
Has something happened at Woody’s Lounge? I will contact my ISP anyway. -
WSIanR
AskWoody LoungerThat did it.
BTW – I didn’t get an email informing me of this reply either. -
WSIanR
AskWoody LoungerOf course! (sound of head being slapped)
Thanks again.BTW, I didn’t get an email to rell me that this reply had been posted. Have I changed a setting somewhere?
-
WSIanR
AskWoody LoungerThere is no error trapping used. I prefer this with work in progress as I can get straight to the problem , when it happens, by clicking the debug button. I think that was possibly the philosophy used by the writers of SendObject, except that they forgot to turn the error reporting functionality on after they had got it working.
-
WSIanR
AskWoody LoungerYes, I noticed the RTF thing after I created the post.
Problem now solved – it was nothing to do with SendObject, the report was making reference to a form control and the form control was empty. When I ran the report on its own I got a useful error message. Sorry to waste your time, but I wonder why there was no error message when SendObject tried to open the report?Ian
-
WSIanR
AskWoody LoungerThanks. I have sent those suggestions to her support people.
-
WSIanR
AskWoody LoungerMarch 22, 2006 at 8:51 am in reply to: Query with form control as parameter not working (2003) #1006046Gary,
That looks very interesting. I must admit that this is not the first time that I have seen this problem, it’s just the first time that I couldn’t get around it by getting the query parameters from somewhere else. I’m not in the office today but I will check the query closing trick tomorrow.
Hans,
If Gary’s tip doesn’t work I’ll send in a database. As I say, I have seen this before and would like to know what is going on.Thanks
Ian -
WSIanR
AskWoody LoungerMarch 21, 2006 at 3:01 pm in reply to: Query with form control as parameter not working (2003) #1005878Hi Hans,
Both the query that works, and the one that doesn’t, are called using DoCmd.OpenQuery “QueryName”
Ian
-
WSIanR
AskWoody LoungerI am using Visual Web Developer Express which, as far as I know, doesn’t require the use of a bin folder. The relevant line in my web.config file is:
I’m not sure why I can’t see any error messages, but I have been trying to work out what the error is anyway. The security that I set up, using the wizards in VWDE, uses a SQL Express database. I’m not sure what the ISP has to provide for SQL Express to work. Should it have an instance of SQL Server running somewhere on the same machine, or does it just need to have the right files (DLLs?) available?
Ian
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
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
-
Sycophancy in GPT-4o: What happened
by
Alex5723
6 hours, 13 minutes ago -
How can I install Skype on Windows 7?
by
Help
4 hours, 55 minutes ago -
Logitech MK850 Keyboard issues
by
Rush2112
3 hours, 46 minutes ago -
We live in a simulation
by
Alex5723
20 hours, 20 minutes ago -
Netplwiz not working
by
RetiredGeek
6 hours, 55 minutes ago -
Windows 11 24H2 is broadly available
by
Alex5723
1 day, 8 hours ago -
Microsoft is killing Authenticator
by
Alex5723
16 hours, 18 minutes ago -
Downloads folder location
by
CWBillow
1 day, 15 hours ago -
Remove a User from Login screen
by
CWBillow
10 hours, 50 minutes ago -
TikTok fined €530 million for sending European user data to China
by
Nibbled To Death By Ducks
1 day, 6 hours ago -
Microsoft Speech Recognition Service Error Code 1002
by
stanhutchings
1 day, 6 hours ago -
Is it a bug or is it expected?
by
Susan Bradley
1 day, 11 hours ago -
Image for Windows TBwinRE image not enough space on target location
by
bobolink
1 day, 5 hours ago -
Start menu jump lists for some apps might not work as expected on Windows 10
by
Susan Bradley
4 hours, 59 minutes ago -
Malicious Go Modules disk-wiping malware
by
Alex5723
1 day, 19 hours ago -
Multiple Partitions?
by
CWBillow
1 day, 19 hours ago -
World Passkey Day 2025
by
Alex5723
2 days, 13 hours ago -
Add serial device in Windows 11
by
Theodore Dawson
3 days, 4 hours ago -
Windows 11 users reportedly losing data due forced BitLocker encryption
by
Alex5723
1 day, 5 hours ago -
Cached credentials is not a new bug
by
Susan Bradley
3 days, 8 hours ago -
Win11 24H4 Slow!
by
Bob Bible
3 days, 9 hours ago -
Microsoft hiking XBox prices starting today due to Trump’s tariffs
by
Alex5723
3 days, 6 hours ago -
Asus adds “movement sensor” to their Graphics cards
by
n0ads
3 days, 11 hours ago -
‘Minority Report’ coming to NYC
by
Alex5723
3 days, 7 hours ago -
Apple notifies new victims of spyware attacks across the world
by
Alex5723
3 days, 19 hours ago -
Tracking content block list GONE in Firefox 138
by
Bob99
3 days, 19 hours ago -
How do I migrate Password Managers
by
Rush2112
3 days, 3 hours ago -
Orb : how fast is my Internet connection
by
Alex5723
3 days, 5 hours ago -
Solid color background slows Windows 7 login
by
Alex5723
4 days, 7 hours ago -
Windows 11, version 24H2 might not download via Windows Server Updates Services
by
Alex5723
4 days, 6 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.