Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Permission denied when "Set FileWorkspace = Workspaces(0)"..

 
   Database Help (Home) -> Visual Basic RSS
Next:  Double value in autoincrement  
Author Message
jerry1

External


Since: Jun 06, 2004
Posts: 1



(Msg. 1) Posted: Sun Jun 06, 2004 4:09 am
Post subject: Permission denied when "Set FileWorkspace = Workspaces(0)" a
Archived from groups: microsoft>public>vb>database (more info?)

Hey all,

I am trying to do some maintenance on an old app and I have a problem
compiling. I think this was written in VB4 originally (32 bit) and I am
working in VB5. It runs fine when I am testing but I get an error when I try
to create a new exe file. The error is 'compile error', 'permission denied'
and the UI zeros in on ' Set FileWorkspace = Workspaces(0)' with a highlight
on 'Workspaces'.

The mdb file was originally an Access 2.0 file that I converted to Access
2000 now and that seems to open just fine. I don't think there is any
password protection on the file since I could convert it and open it to see
the tables just fine.

I do have a statement earlier in the procedure that is 'Dim FileWorkspace As
Workspace' so this does seem to be declared properly.

Does anyone have any advice as to where the problem is and how to fix it? I
am not the original author on this application and I am working on a system
that has not been used to work on this application before so I may have a
set up problem and just not know it.

Your advice is appreciated.

Thanks,
Jerry Robertson

 >> Stay informed about: Permission denied when ""Set FileWorkspace = Workspaces(0)"".. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
sql query returns in wrong format - Hi, Hope someone can help me with this. I have MS SQL 2000 database where i have Table "PriceList" and there a column "Pricemk" wich is data type "money". All data in this column is in form "10001,35". So why when...

arrays - is there a way to concatenate the contents of an array (looping through the array) and storing each item in a comma delimited string? Thanks!

DataReport PageBreak - Hi everyone, I would like to know how to force pagebreak in a datareport for example after 5 records printed. Thank you all

Possible Use of a Cursor - I have a complex query that I hope I can explain it well enough for everyone to understand. I have a table that contains information for work instructions. Contained in the table are "MACHINE_PROC" these are groupings of machining processes....

Scroll Bars - Is there a way to find the size of scrollbars on a system using Visual Basic 6.0? I know how to look and change them on the display properties, but I don't know how to access that information from within Visual Basic.
   Database Help (Home) -> Visual Basic All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]