Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > TechHelp > Directory > Access > Task Priority < Web API | Find Between >
Back to Task Priority    Comments List
Upload Images   Link   Email  
Guidance Needed Please
Sandra Truax 
        
15 months ago
I have a listbox with all my databases listed (e.g. Software) that is set up according to one of your previous videos to open all the databases from the one shared database.  

After watching this video, I tried to modify the code to include the /high parameter, but I can't get it to work.  I'm hoping someone can help.  Here's my original code:

    Dim S As String
    S = CurrentProject.Path & "\" & DatabaseListbox & ".accdb"
    FollowHyperlink S
Kevin Robertson 
          
15 months ago
What happens when you run the code?

You could try using Shell (or the ShellEx function in the Code Vault) instead of FollowHyperlink.

Dim S As String
If Not IsNull(DatabaseListbox) Then
   S = CurrentProject.Path & "\" & DatabaseListbox & ".accdb"
   Shell "C:\Program Files\Microsoft Office\root\Office16\MSACCESS.EXE " & S, vbMaximizedFocus
End If
Kevin Robertson 
          
15 months ago
Are all the database located in the same folder as the current database?
Sandra Truax OP 
        
15 months ago
Kevin, thanks for your response, but I think I have you confused.  My code works, but what I wanted was to know how to add the /high priority to it like Rick demonstrated in the "Task Priority" Video.  He showed how do Open them using a .bat file, but I was wanting to run it from within Access.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Task Priority.
 

 
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 12/14/2024 8:25:08 AM. PLT: 1s