![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all. I have an odd problem. I have 4 pc's on a small network, all Win XP SP2. I'm using Access XP (2002 I think). Program works fine on 3 PCs and won't compile (or run successfully) on 4th. Lots of code in Forms and Modules. I've tried decompile with no joy. I've tried re- registering a couple of DLLs (DAO360, for example) but no effect at all. I don't believe it's a corruption problem in the Access file since it works fine on the other 3 PCs - and at home too. Next stage is to re-install the Office package I suppose but I thought I'd throw this to the group to see if anyone else has come across a similar problem (and solved it!). Thanks. JB |
#3
| |||
| |||
|
|
jbguernsey wrote: Hi all. I have an odd problem. *I have 4 pc's on a small network, all Win XP SP2. *I'm using Access XP (2002 I think). *Program works fine on 3 PCs and won't compile (or run successfully) on 4th. *Lots of code in Forms and Modules. *I've tried decompile with no joy. *I've tried re- registering a couple of DLLs (DAO360, for example) but no effect at all. *I don't believe it's a corruption problem in the Access file since it works fine on the other 3 PCs - and at home too. *Next stage is to re-install the Office package I suppose but I thought I'd throw this to the group to see if anyone else has come across a similar problem (and solved it!). *Thanks. JB What happens if you create a new mdb on that computer? *Can you create a * table, a query, form, a simple function *that runs from a module? Can you create a new mdb and import all objects into it? Do the references on that computer look correct? |
#4
| |||
| |||
|
|
On Mar 25, 4:52 pm, Salad <o... (AT) vinegar (DOT) com> wrote: jbguernsey wrote: Hi all. I have an odd problem. I have 4 pc's on a small network, all Win XP SP2. I'm using Access XP (2002 I think). Program works fine on 3 PCs and won't compile (or run successfully) on 4th. Lots of code in Forms and Modules. I've tried decompile with no joy. I've tried re- registering a couple of DLLs (DAO360, for example) but no effect at all. I don't believe it's a corruption problem in the Access file since it works fine on the other 3 PCs - and at home too. Next stage is to re-install the Office package I suppose but I thought I'd throw this to the group to see if anyone else has come across a similar problem (and solved it!). Thanks. JB What happens if you create a new mdb on that computer? Can you create a table, a query, form, a simple function that runs from a module? Can you create a new mdb and import all objects into it? Do the references on that computer look correct? That's what odd about it. I have another Access program on the offending PC that runs fine - compiles OK and everything! It seems to be just this one program on this one PC. I'm thinking of trying SavetoText but don't really believe it will work - decompiling certainly didn't ... Thanks |
|
JB |
#5
| |||
| |||
|
|
jbguernsey wrote: On Mar 25, 4:52 pm, Salad <o... (AT) vinegar (DOT) com> wrote: jbguernsey wrote: Hi all. I have an odd problem. *I have 4 pc's on a small network, all Win XP SP2. *I'm using Access XP (2002 I think). *Program works fine on 3PCs and won't compile (or run successfully) on 4th. *Lots of code in Forms and Modules. *I've tried decompile with no joy. *I've tried re- registering a couple of DLLs (DAO360, for example) but no effect at all. *I don't believe it's a corruption problem in the Access file since it works fine on the other 3 PCs - and at home too. *Next stage is to re-install the Office package I suppose but I thought I'd throw this to the group to see if anyone else has come across a similar problem (and solved it!). *Thanks. JB What happens if you create a new mdb on that computer? *Can you create a *table, a query, form, a simple function *that runs from a module? Can you create a new mdb and import all objects into it? Do the references on that computer look correct? That's what odd about it. *I have another Access program on the offending PC that runs fine - compiles OK and everything! *It seems to be just this one program on this one PC. I'm thinking of trying SavetoText but don't really believe it will work - decompiling certainly didn't ... Thanks I don't know if reinstalling Access will help your problem if you can compile another program on that computer. I'd create a new mdb and import the objects. *See if that does anything in the new mdb. JB |
#6
| |||
| |||
|
|
On Mar 25, 8:06 pm, Salad <o... (AT) vinegar (DOT) com> wrote: jbguernsey wrote: On Mar 25, 4:52 pm, Salad <o... (AT) vinegar (DOT) com> wrote: jbguernsey wrote: Hi all. I have an odd problem. I have 4 pc's on a small network, all Win XP SP2. I'm using Access XP (2002 I think). Program works fine on 3 PCs and won't compile (or run successfully) on 4th. Lots of code in Forms and Modules. I've tried decompile with no joy. I've tried re- registering a couple of DLLs (DAO360, for example) but no effect at all. I don't believe it's a corruption problem in the Access file since it works fine on the other 3 PCs - and at home too. Next stage is to re-install the Office package I suppose but I thought I'd throw this to the group to see if anyone else has come across a similar problem (and solved it!). Thanks. JB What happens if you create a new mdb on that computer? Can you create a table, a query, form, a simple function that runs from a module? Can you create a new mdb and import all objects into it? Do the references on that computer look correct? That's what odd about it. I have another Access program on the offending PC that runs fine - compiles OK and everything! It seems to be just this one program on this one PC. I'm thinking of trying SavetoText but don't really believe it will work - decompiling certainly didn't ... Thanks I don't know if reinstalling Access will help your problem if you can compile another program on that computer. I'd create a new mdb and import the objects. See if that does anything in the new mdb. JB Yeah, tried that. Didn't help. My thinking is along the lines of corrupted library somewhere. Might be an Office lib or maybe even a Windows lib. If it's Office a re-install mught help. If it's Windows I dread to think of the effort that's going to be reqd. - machine is heavily used for lots of different purposes! Thanks for your help. JB |
#7
| |||
| |||
|
|
jbguernsey wrote: On Mar 25, 8:06 pm, Salad <o... (AT) vinegar (DOT) com> wrote: jbguernsey wrote: On Mar 25, 4:52 pm, Salad <o... (AT) vinegar (DOT) com> wrote: jbguernsey wrote: Hi all. I have an odd problem. *I have 4 pc's on a small network, all Win XP SP2. *I'm using Access XP (2002 I think). *Program works fine on3 PCs and won't compile (or run successfully) on 4th. *Lots of code in Forms and Modules. *I've tried decompile with no joy. *I've tried re- registering a couple of DLLs (DAO360, for example) but no effect at all. *I don't believe it's a corruption problem in the Access file since it works fine on the other 3 PCs - and at home too. *Next stage is to re-install the Office package I suppose but I thought I'd throw this to the group to see if anyone else has come across a similar problem (and solved it!). *Thanks. JB What happens if you create a new mdb on that computer? *Can you create a table, a query, form, a simple function *that runs from a module? Can you create a new mdb and import all objects into it? Do the references on that computer look correct? That's what odd about it. *I have another Access program on the offending PC that runs fine - compiles OK and everything! *It seems to be just this one program on this one PC. I'm thinking of trying SavetoText but don't really believe it will work - decompiling certainly didn't ... Thanks I don't know if reinstalling Access will help your problem if you can compile another program on that computer. I'd create a new mdb and import the objects. *See if that does anything in the new mdb. JB Yeah, tried that. *Didn't help. *My thinking is along the lines of corrupted library somewhere. *Might be an Office lib or maybe even a Windows lib. *If it's Office a re-install mught help. *If it's Windows I dread to think of the effort that's going to be reqd. - machine is heavily used for lots of different purposes! Thanks for your help. JB I really don't know. *What happens if you import the tables, queries, and maybe 3 or 4 forms? |
#8
| |||
| |||
|
|
On Mar 26, 1:43 pm, Salad <o... (AT) vinegar (DOT) com> wrote: jbguernsey wrote: On Mar 25, 8:06 pm, Salad <o... (AT) vinegar (DOT) com> wrote: jbguernsey wrote: On Mar 25, 4:52 pm, Salad <o... (AT) vinegar (DOT) com> wrote: jbguernsey wrote: Hi all. I have an odd problem. I have 4 pc's on a small network, all Win XP SP2. I'm using Access XP (2002 I think). Program works fine on 3 PCs and won't compile (or run successfully) on 4th. Lots of code in Forms and Modules. I've tried decompile with no joy. I've tried re- registering a couple of DLLs (DAO360, for example) but no effect at all. I don't believe it's a corruption problem in the Access file since it works fine on the other 3 PCs - and at home too. Next stage is to re-install the Office package I suppose but I thought I'd throw this to the group to see if anyone else has come across a similar problem (and solved it!). Thanks. JB What happens if you create a new mdb on that computer? Can you create a table, a query, form, a simple function that runs from a module? Can you create a new mdb and import all objects into it? Do the references on that computer look correct? That's what odd about it. I have another Access program on the offending PC that runs fine - compiles OK and everything! It seems to be just this one program on this one PC. I'm thinking of trying SavetoText but don't really believe it will work - decompiling certainly didn't ... Thanks I don't know if reinstalling Access will help your problem if you can compile another program on that computer. I'd create a new mdb and import the objects. See if that does anything in the new mdb. JB Yeah, tried that. Didn't help. My thinking is along the lines of corrupted library somewhere. Might be an Office lib or maybe even a Windows lib. If it's Office a re-install mught help. If it's Windows I dread to think of the effort that's going to be reqd. - machine is heavily used for lots of different purposes! Thanks for your help. JB I really don't know. What happens if you import the tables, queries, and maybe 3 or 4 forms? Well, I haven't had a chance to try too much yet. One problem is that lots of code routines call other routines/refer to open forms etc. so a partial import falls over when compiling cos so much is missing! Another thought I had was that maybe something installed on the PC which is not on the others is causing some kind of clash. The real b*ll-breaker, however, is the fact that the same prog compiles and works fine everywhere else. Seems to preclude a problem in the prog and to point to something odd about the PC. I can't get to it now until next week and I'll have another attack at it then. Nil carborandum illigitimi! |
#9
| |||
| |||
|
|
I have an odd problem. I have 4 pc's on a small network, all Win XP SP2. I'm using Access XP (2002 I think). Program works fine on 3 PCs and won't compile (or run successfully) on 4th. Lots of code in Forms and Modules. I've tried decompile with no joy. I've tried re- registering a couple of DLLs (DAO360, for example) but no effect at all. I don't believe it's a corruption problem in the Access file since it works fine on the other 3 PCs - and at home too. |
#10
| |||
| |||
|
|
jbguernsey <j... (AT) angelsystems (DOT) co.uk> wrote: I have an odd problem. *I have 4 pc's on a small network, all Win XP SP2. *I'm using Access XP (2002 I think). *Program works fine on 3 PCs and won't compile (or run successfully) on 4th. *Lots of code in Forms and Modules. *I've tried decompile with no joy. *I've tried re- registering a couple of DLLs (DAO360, for example) but no effect at all. *I don't believe it's a corruption problem in the Access file since it works fine on the other 3 PCs - and at home too. * Do you get any messages? * I see you've tried importing into another MDB so that should clean out your references. * Or did you add some back in? *Nevertheless run the following code and let us know what's in there. Sub ViewReferenceDetails() Dim ref As Reference * * For Each ref In Access.References * * * * Debug.Print ref.Name & " - " & ref.Major & "." & ref.Minor & " - " & ref.FullPath * * Next ref End Sub Tony -- Tony Toews, Microsoft Access MVP * *Please respond only in the newsgroups so that others can read the entire thread of messages. * *Microsoft Access Links, Hints, Tips & Accounting Systems athttp://www.granite.ab.ca/accsmstr.htm * *Tony's Microsoft Access Blog -http://msmvps.com/blogs/access/ |
![]() |
| Thread Tools | |
| Display Modes | |
| |