PC Review


Reply
Thread Tools Rate Thread

Changing the path in security shortcut

 
 
=?Utf-8?B?dG9yY2hfbXVzaWM=?=
Guest
Posts: n/a
 
      8th May 2005
Hi,
I have used the security wizard to set up basic security on my front end
database, and as part of it, it creates a shortcut on the desktop. I have
moved the shortcut to be in the same folder as the database and security
file, and want to amend the path variables so that they use relative path
names, but it doesnt seem to be working.
Any ideas?

The original string was:
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "F:\Final Year
Project\DatabaseFrontEnd.mdb" /WRKGRP "F:\Final Year Project\Security.mdw"

And I changed it to:
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
"DatabaseFrontEnd.mdb" /WRKGRP "Security.mdw"

Thanks
 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a
 
      9th May 2005
Unless the shortcut's "Start In" property is set to point to the correct
folder, Access has no way of knowing where to find the mdb and mdw files.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)



"torch_music" <(E-Mail Removed)> wrote in message
news:A43F19E7-3751-4299-8510-(E-Mail Removed)...
> Hi,
> I have used the security wizard to set up basic security on my front end
> database, and as part of it, it creates a shortcut on the desktop. I have
> moved the shortcut to be in the same folder as the database and security
> file, and want to amend the path variables so that they use relative path
> names, but it doesnt seem to be working.
> Any ideas?
>
> The original string was:
> "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "F:\Final Year
> Project\DatabaseFrontEnd.mdb" /WRKGRP "F:\Final Year Project\Security.mdw"
>
> And I changed it to:
> "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
> "DatabaseFrontEnd.mdb" /WRKGRP "Security.mdw"
>
> Thanks



 
Reply With Quote
 
=?Utf-8?B?dG9yY2hfbXVzaWM=?=
Guest
Posts: n/a
 
      9th May 2005
I have tried various combinations of . and .\ , both of which should indicate
the current directory, where all three files are located, but none of them
seem to work.
The most obvious one is to have the following
Start In: .
Target: "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
".\DatabaseFrontEnd.mdb" /WRKGRP ".\Security.mdw"

But it returns the error message cannot find database file
".\DatabaseFrontEnd.mdb"

I cant see anything wrong with the syntax, is what I am trying to do just
not possible? Do you have to have completely hard coded paths?

Thanks
Peter

"Douglas J. Steele" wrote:

> Unless the shortcut's "Start In" property is set to point to the correct
> folder, Access has no way of knowing where to find the mdb and mdw files.
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
>
> "torch_music" <(E-Mail Removed)> wrote in message
> news:A43F19E7-3751-4299-8510-(E-Mail Removed)...
> > Hi,
> > I have used the security wizard to set up basic security on my front end
> > database, and as part of it, it creates a shortcut on the desktop. I have
> > moved the shortcut to be in the same folder as the database and security
> > file, and want to amend the path variables so that they use relative path
> > names, but it doesnt seem to be working.
> > Any ideas?
> >
> > The original string was:
> > "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "F:\Final Year
> > Project\DatabaseFrontEnd.mdb" /WRKGRP "F:\Final Year Project\Security.mdw"
> >
> > And I changed it to:
> > "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
> > "DatabaseFrontEnd.mdb" /WRKGRP "Security.mdw"
> >
> > Thanks

>
>
>

 
Reply With Quote
 
Paul Overway
Guest
Posts: n/a
 
      9th May 2005
What you are trying to do is impossible. You can't use relative paths in a
shortcut.

--
Paul Overway
Logico Solutions
http://www.logico-solutions.com


"torch_music" <(E-Mail Removed)> wrote in message
news:CE07B3D6-C3B6-4D26-AA5B-(E-Mail Removed)...
>I have tried various combinations of . and .\ , both of which should
>indicate
> the current directory, where all three files are located, but none of them
> seem to work.
> The most obvious one is to have the following
> Start In: .
> Target: "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
> ".\DatabaseFrontEnd.mdb" /WRKGRP ".\Security.mdw"
>
> But it returns the error message cannot find database file
> ".\DatabaseFrontEnd.mdb"
>
> I cant see anything wrong with the syntax, is what I am trying to do just
> not possible? Do you have to have completely hard coded paths?
>
> Thanks
> Peter
>
> "Douglas J. Steele" wrote:
>
>> Unless the shortcut's "Start In" property is set to point to the correct
>> folder, Access has no way of knowing where to find the mdb and mdw files.
>>
>> --
>> Doug Steele, Microsoft Access MVP
>> http://I.Am/DougSteele
>> (no e-mails, please!)
>>
>>
>>
>> "torch_music" <(E-Mail Removed)> wrote in message
>> news:A43F19E7-3751-4299-8510-(E-Mail Removed)...
>> > Hi,
>> > I have used the security wizard to set up basic security on my front
>> > end
>> > database, and as part of it, it creates a shortcut on the desktop. I
>> > have
>> > moved the shortcut to be in the same folder as the database and
>> > security
>> > file, and want to amend the path variables so that they use relative
>> > path
>> > names, but it doesnt seem to be working.
>> > Any ideas?
>> >
>> > The original string was:
>> > "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "F:\Final
>> > Year
>> > Project\DatabaseFrontEnd.mdb" /WRKGRP "F:\Final Year
>> > Project\Security.mdw"
>> >
>> > And I changed it to:
>> > "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
>> > "DatabaseFrontEnd.mdb" /WRKGRP "Security.mdw"
>> >
>> > Thanks

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?dG9yY2hfbXVzaWM=?=
Guest
Posts: n/a
 
      9th May 2005
Paul,
Pity, otherwise you need to edit the shortcut to correct the path depending
on where the user, or in this case my lecturer, puts the database. Never
mind, I'll just have to mention it in my final report.
Thanks for your reply.
Peter

"Paul Overway" wrote:

> What you are trying to do is impossible. You can't use relative paths in a
> shortcut.
>
> --
> Paul Overway
> Logico Solutions
> http://www.logico-solutions.com
>
>
> "torch_music" <(E-Mail Removed)> wrote in message
> news:CE07B3D6-C3B6-4D26-AA5B-(E-Mail Removed)...
> >I have tried various combinations of . and .\ , both of which should
> >indicate
> > the current directory, where all three files are located, but none of them
> > seem to work.
> > The most obvious one is to have the following
> > Start In: .
> > Target: "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
> > ".\DatabaseFrontEnd.mdb" /WRKGRP ".\Security.mdw"
> >
> > But it returns the error message cannot find database file
> > ".\DatabaseFrontEnd.mdb"
> >
> > I cant see anything wrong with the syntax, is what I am trying to do just
> > not possible? Do you have to have completely hard coded paths?
> >
> > Thanks
> > Peter
> >
> > "Douglas J. Steele" wrote:
> >
> >> Unless the shortcut's "Start In" property is set to point to the correct
> >> folder, Access has no way of knowing where to find the mdb and mdw files.
> >>
> >> --
> >> Doug Steele, Microsoft Access MVP
> >> http://I.Am/DougSteele
> >> (no e-mails, please!)
> >>
> >>
> >>
> >> "torch_music" <(E-Mail Removed)> wrote in message
> >> news:A43F19E7-3751-4299-8510-(E-Mail Removed)...
> >> > Hi,
> >> > I have used the security wizard to set up basic security on my front
> >> > end
> >> > database, and as part of it, it creates a shortcut on the desktop. I
> >> > have
> >> > moved the shortcut to be in the same folder as the database and
> >> > security
> >> > file, and want to amend the path variables so that they use relative
> >> > path
> >> > names, but it doesnt seem to be working.
> >> > Any ideas?
> >> >
> >> > The original string was:
> >> > "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "F:\Final
> >> > Year
> >> > Project\DatabaseFrontEnd.mdb" /WRKGRP "F:\Final Year
> >> > Project\Security.mdw"
> >> >
> >> > And I changed it to:
> >> > "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
> >> > "DatabaseFrontEnd.mdb" /WRKGRP "Security.mdw"
> >> >
> >> > Thanks
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access User-level Security - changing the shortcut? Ugiliz Microsoft Access 4 6th Sep 2009 02:10 PM
Shortcut Path John Gregory Windows XP General 6 13th Feb 2009 06:55 PM
Get a shortcut target path =?Utf-8?B?UGF1bG9fQW1hcmFs?= Microsoft Dot NET Framework 1 11th Oct 2007 08:08 PM
Outlook Bar: Can I find out a shortcut's original path if the destination path has been moved deleted? Dame Joselyn Van Hire Microsoft Outlook Discussion 0 12th Jan 2007 02:39 PM
Difficulty in changing the Connection Server control path changing ... Samridhi Kumar Shukla Microsoft ASP .NET 1 30th Nov 2003 02:31 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:08 AM.