dbTalk Databases Forums  

App path oddity

comp.databases.ms-access comp.databases.ms-access


Discuss App path oddity in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Lou O
 
Posts: n/a

Default App path oddity - 03-10-2011 , 11:21 AM






I can't seem to find anything about this on the ng.
Using Access2007 I have created an app in a certain directory in the
root drive. The app is linked to tables on a LAN server. The app runs
fine in this directory or it's sub-directories.
However when I move/copy the app to another directory in the root, the
program will not run properly.
The app will load but no events will fire. Nothing happens in break
mode. Upon closing the app in the new directory, it compacts to 70
percent of it's original size. Odd. There are a number of references
to objects in the native directory (i.e. C:\MyDir\Obj.***) in the
event code but these objects still exist in the native directory. So
the references aren't broken. I'm wondering if anyone has seen this
seeming anomaly and has a suggestion as to the cause.

Reply With Quote
  #2  
Old   
Clif McIrvin
 
Posts: n/a

Default Re: App path oddity - 03-10-2011 , 02:01 PM






"Lou O" <lgeastwood (AT) gmail (DOT) com> wrote

Quote:
I can't seem to find anything about this on the ng.
Using Access2007 I have created an app in a certain directory in the
root drive. The app is linked to tables on a LAN server. The app runs
fine in this directory or it's sub-directories.
However when I move/copy the app to another directory in the root, the
program will not run properly.
The app will load but no events will fire. Nothing happens in break
mode. Upon closing the app in the new directory, it compacts to 70
percent of it's original size. Odd. There are a number of references
to objects in the native directory (i.e. C:\MyDir\Obj.***) in the
event code but these objects still exist in the native directory. So
the references aren't broken. I'm wondering if anyone has seen this
seeming anomaly and has a suggestion as to the cause.

At a guess you are having trouble with Trusted Locations: that is, your
initial location (and the subfolders beneath it) are all known by Access
as Trusted Locations, but your second location is not a Trusted Location
(so the A2007 security won't allow your VBA Project code.)

I've never run A2007; I think you get to Trusted Locations through the
Office button.

--
Clif McIrvin

(clare reads his mail with moe, nomail feeds the bit bucket :-)

Reply With Quote
  #3  
Old   
Jens Schilling
 
Posts: n/a

Default Re: App path oddity - 03-10-2011 , 02:23 PM



Hi

Lou O wrote:
Quote:
I can't seem to find anything about this on the ng.
Using Access2007 I have created an app in a certain directory in the
root drive. The app is linked to tables on a LAN server. The app runs
fine in this directory or it's sub-directories.
However when I move/copy the app to another directory in the root, the
program will not run properly.
The app will load but no events will fire. Nothing happens in break
mode. Upon closing the app in the new directory, it compacts to 70
percent of it's original size. Odd. There are a number of references
to objects in the native directory (i.e. C:\MyDir\Obj.***) in the
event code but these objects still exist in the native directory. So
the references aren't broken. I'm wondering if anyone has seen this
seeming anomaly and has a suggestion as to the cause.
I'm with Clif - I also guess the problem is based on the trusted locations.

So let me point you to this site not only for the informations you may find
there, but for a little free tool that let you easily set a path for a
trusted location.

http://www.accessribbon.de/en/?Trust...sted_Locations

Regards
Jens

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.