473,796 Members | 2,741 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help! Run-time error 3358 cannot open Workgroup Information File

Hello,

I am running the code shown below, and when it runs the
"doc.Permission s=1048319" line, I get a "Run-time error 3358: Cannot open
the Microsoft Jet Engine workgroup information file". I've looked on the
Microsoft website (where I normallly get 1000 convoluted results based on my
searches) and when I type this in, I don't get a single result. Any ideas?

conDBPwd = "TestPasswo rd"

Sub DataModificatio n()
Dim wrk As dao.Workspace
Dim db As Database
Dim strDatabase As String
Dim tdf As TableDef
Dim doc As Document

strDatabase = "C:\Test\MyDb.m db"

Set wrk = CreateWorkspace ("", "Admin", "", dbUseJet)

Set db = wrk.OpenDatabas e(strDatabase, False, False, ";pwd=" & conDbPwd)

Set doc = db.Containers!T ables("MyTable" )
doc.Permissions = 1048319
Debug.Print tdf.Fields.Coun t

For Each Field In tdf.Fields
Debug.Print Field.Name
Next Field

Set db = Nothing
Set wrk = Nothing
End Sub

Nov 13 '05 #1
1 4471
Any ideas at all?

"Jozef" <me@you.com> wrote in message news:BZ88f.6288 7$Io.43505@clgr ps13...
Hello,

I am running the code shown below, and when it runs the
"doc.Permission s=1048319" line, I get a "Run-time error 3358: Cannot open
the Microsoft Jet Engine workgroup information file". I've looked on the
Microsoft website (where I normallly get 1000 convoluted results based on
my searches) and when I type this in, I don't get a single result. Any
ideas?

conDBPwd = "TestPasswo rd"

Sub DataModificatio n()
Dim wrk As dao.Workspace
Dim db As Database
Dim strDatabase As String
Dim tdf As TableDef
Dim doc As Document

strDatabase = "C:\Test\MyDb.m db"

Set wrk = CreateWorkspace ("", "Admin", "", dbUseJet)

Set db = wrk.OpenDatabas e(strDatabase, False, False, ";pwd=" & conDbPwd)

Set doc = db.Containers!T ables("MyTable" )
doc.Permissions = 1048319
Debug.Print tdf.Fields.Coun t

For Each Field In tdf.Fields
Debug.Print Field.Name
Next Field

Set db = Nothing
Set wrk = Nothing
End Sub

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3358
by: Sarir Khamsi | last post by:
Is there a way to get help the way you get it from the Python interpreter (eg, 'help(dir)' gives help on the 'dir' command) in the module cmd.Cmd? I know how to add commands and help text to cmd.Cmd but I would also like to get the man-page-like help for classes and functions. Does anyone know how to do that? Thanks. Sarir
6
3026
by: d.warnermurray | last post by:
I am doing a project for school that involves creating help files for a html authoring tool. If you could help me with answers to some questions it would really help. 1. What tasks do you expect an html authoring tool to help you accomplish? 2. What do you expect from online help for a html authoring tool? 3. What audience do you think a freeware html authoring tool is directed towards?
3
8709
by: Tom marsh | last post by:
I'm finishing an application and want to supply help files. However MS Access's help files, ironically don't contain much help on HELP. What is the best approach? I could easily just provide .doc files and shell out to Wordpad.exe, but is there a better way? I'm using Access 2002. Any help is appreciated.
2
1584
by: Douglas | last post by:
I was trying to look up Access Help for the GetSetting, SaveSetting commands to implement in my DB code when i press F1, up pops the Microsoft Access Help, if i click Index and type in Get, all that comes up in the box below is : GetChunk GetHiddenAttribute GetOption
27
2829
by: Bruce Dodds | last post by:
I recently started using Access 2003 for the first time. I wanted to pass on some comments about the Help system to Access MVPs who frequent this board. I'm doing this in the hope that some of what I say may be passed on to Microsoft. Microsoft has implemented a combination local and web based help system in Access 2003. The local Help installed on your hard drive is fast, but the content is abbreviated. For really useful help you have...
5
3385
by: Steve Teeples | last post by:
Can someone point me to a document that clearly identifies the steps of creating a good help system for an application? I have a test tool that I'd like to add help to so that others will know how to use it. -- Steve
2
4838
by: tomas | last post by:
Our HTML Help Workshop is dated 1999 and does not match the current HTML Help Work documentation. Our HTML Help Workshop version is 4.74.8702.0. This version is also reffered to as version 1.3 What we want is HTML Help Workshop version 1.4 or later. We hope that version 1.4 will match the current HTML Help documentaion at the MSDN website Please let us know where on the internet we can download a newer version of HTML Help Workshop.
8
3238
by: Mark | last post by:
I have loaded Visual Studio .net on my home computer and my laptop, but my home computer has an abbreviated help screen not 2% of the help on my laptop. All the settings look the same on both including search the internet for help, but the help is worthless. Any ideas?
10
3369
by: JonathanOrlev | last post by:
Hello everybody, I wrote this comment in another message of mine, but decided to post it again as a standalone message. I think that Microsoft's Office 2003 help system is horrible, probably the worst I ever seen. I almost cannot find anything I need, including things I
1
6142
by: trunxnirvana007 | last post by:
'UPGRADE_WARNING: Array has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"' 'UPGRADE_WARNING: Couldn't resolve default property of object Label. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' Label = New Object(){Box1, Box2, Box3, Box4, Box5, Box6, Box7, Box8, Box9, Box10, Box11,...
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9535
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10244
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10201
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10021
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9061
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2931
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.