is this possible?

K

karim

Hello All,
lets say that I made a form with bottons that open shortcuts on the
local computer. is it possible to make it so that the user can choose what
shortcut a certain botton on the form would open? and can he change that
later to a different shortcut? this is without using vb at all, everything
right from the form...?
 
D

Dirk Goldgar

karim said:
Hello All,
lets say that I made a form with bottons that open shortcuts on the
local computer. is it possible to make it so that the user can choose what
shortcut a certain botton on the form would open? and can he change that
later to a different shortcut? this is without using vb at all, everything
right from the form...?


It's certainly possible, so long as "without using vb" means that the user
doesn't need to use VB -- you, the form developer, would almost certainly
need to use VB to make it work. Also, what do you mean by "shortcuts," and
what would it mean to open one?
 
K

karim

thanks for the replay Dirk...

for me, yes I will use vb to design the form. and what i ment be shortcuts
and opening it is for example, the button would open internet explorer, or my
computer...but lets say the user does not want the button to open my
computer, he would rather have it open my documents...is there a way for him
to change that right from the form?
 
D

Dirk Goldgar

karim said:
thanks for the replay Dirk...

for me, yes I will use vb to design the form. and what i ment be shortcuts
and opening it is for example, the button would open internet explorer, or
my
computer...but lets say the user does not want the button to open my
computer, he would rather have it open my documents...is there a way for
him
to change that right from the form?


I can only speak about Access here, and you said earlier that you were
really talking about VB.Net. For Access, I would consider storing the
shortcuts as hyperlink fields in a table, one per record, with a primary key
field that would associate each hyperlink with a button on the form. I'd
use the RunCommand acCmdEditHyperlink method to allow the user to edit the
hyperlinks in this table.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top