By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,905 Members | 2,075 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,905 IT Pros & Developers. It's quick & easy.

Switchboard Master

Presto731
P: 53
I have a pretty extensive switchboard set up. I need to have set of buttons that will open web pages.

Is it possible to make this happen from the switchboard?
Jul 20 '07 #1
Share this Question
Share on Google+
8 Replies


Rabbit
Expert Mod 10K+
P: 12,366
I don't think you can do that using the default switchboard options, you'll have to program that functionality into the switchboard.
Jul 20 '07 #2

Presto731
P: 53
I don't think you can do that using the default switchboard options, you'll have to program that functionality into the switchboard.

Any idea how that would go
Jul 20 '07 #3

Rabbit
Expert Mod 10K+
P: 12,366
You'll have to create a new command number, program it into the switch statement of the switchboard form, and then use the new command number in the switchboard items table for those items you want to open a website. I think anything after command 9 is available to use. I usually program my own switchboards from scratch so I don't use the Access ones much. But that's the gist of it.
Jul 20 '07 #4

ADezii
Expert 5K+
P: 8,638
I have a pretty extensive switchboard set up. I need to have set of buttons that will open web pages.

Is it possible to make this happen from the switchboard?
  1. Copy and Paste this code into a Standard Code Module:
    Expand|Select|Wrap|Line Numbers
    1. Public Function fGoToHyperLink()
    2.   Application.FollowHyperlink "http://www.TheScripts.com"
    3. End Function
  2. Create a New Switchboard Item.
    1. Text: Let's visit the guys and girls at TheScripts
    2. Command: Run Code
    3. Function Name: fGoToHyperlink
  3. Clicking this button will Navigate to this Web Page, assuming an active Internet Connection.
  4. I know it's oversimplified, ,but it's only for demo purposes only.
Jul 21 '07 #5

Presto731
P: 53
i'll give it a shot, thanks



  1. Copy and Paste this code into a Standard Code Module:
    Expand|Select|Wrap|Line Numbers
    1. Public Function fGoToHyperLink()
    2.   Application.FollowHyperlink "http://www.TheScripts.com"
    3. End Function
  2. Create a New Switchboard Item.
    1. Text: Let's visit the guys and girls at TheScripts
    2. Command: Run Code
    3. Function Name: fGoToHyperlink
  3. Clicking this button will Navigate to this Web Page, assuming an active Internet Connection.
  4. I know it's oversimplified, ,but it's only for demo purposes only.
Jul 22 '07 #6

Presto731
P: 53
OK, it worked. However I would I do more then one page in the same switchboard. what do I put in for my vb code to open a second page.

I tried using "fGoToHyperlink1()" with a different webpage, but it still opened the first page.


  1. Copy and Paste this code into a Standard Code Module:
    Expand|Select|Wrap|Line Numbers
    1. Public Function fGoToHyperLink()
    2.   Application.FollowHyperlink "http://www.TheScripts.com"
    3. End Function
  2. Create a New Switchboard Item.
    1. Text: Let's visit the guys and girls at TheScripts
    2. Command: Run Code
    3. Function Name: fGoToHyperlink
  3. Clicking this button will Navigate to this Web Page, assuming an active Internet Connection.
  4. I know it's oversimplified, ,but it's only for demo purposes only.
Jul 23 '07 #7

Presto731
P: 53
OOPS, I'm a knucklehead. Nevermind, I got it working. Thanks Dezii


OK, it worked. However I would I do more then one page in the same switchboard. what do I put in for my vb code to open a second page.

I tried using "fGoToHyperlink1()" with a different webpage, but it still opened the first page.
Jul 23 '07 #8

ADezii
Expert 5K+
P: 8,638
OOPS, I'm a knucklehead. Nevermind, I got it working. Thanks Dezii
You're quite welcome.
Jul 23 '07 #9

Post your reply

Sign in to post your reply or Sign up for a free account.