Results 1 to 10 of 19

Thread: Start DBExplorer/DBBuilder from your application

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Location
    Fresno, CA
    Posts
    938

    Default Start DBExplorer/DBBuilder from your application

    The attached file contains a couple of procedures that you can add to your application that will start either DBBuilder or DBExplorer up with the workspace that is currently in use by your application. This is mainly for when you are working on a client's system, just to save you all that tedious mucking about with starting the utilities from an Explorer or Command Prompt window and going through the workspace selection dialog.

    Oh yeah, it also sets dbAdminMode to DDB automatically for you. Of course, if the sysadmin has locked down HKEY_LOCAL_MACHINE, that won't do you much good. (This last weekend I ran into a system where I was locked out of REGEDIT, but the program could still write to HKEY_LOCAL_MACHINE, so this did the trick.)

    If you've subclassed the Panel class, that would be a good place to put these procedures, then you can just set up secret shortcut keys, toolbar buttons or menu options to activate the utilities. The only thing these depend on is the classic DoStartDocument procedure which is included if you don't happen to already have it.

    This should work on any version of VDF (tested on 12.1 and 14.0).
    Attached Files Attached Files
    Best regards,

    Matt Davidian
    Datatech
    Fresno, CA
    www.datatechag.com

Similar Threads

  1. Start menu item(s) and start center
    By Knut Sparhell in forum Visual DataFlex 2010 Testing
    Replies: 5
    Last Post: 3-May-2010, 10:20 AM
  2. DBExplorer & DBBuilder lose track of the workspace
    By Garret Mott in forum Windows Applications
    Replies: 18
    Last Post: 8-Apr-2010, 10:46 AM
  3. How to check running application is Basic application ?
    By Nayan Geet in forum Windows Applications
    Replies: 2
    Last Post: 10-Jun-2009, 06:30 AM
  4. Running dbExplorer fro VDF is closing application since VDF10 !?
    By Stephen W. Meeley in forum Windows Applications
    Replies: 0
    Last Post: 15-Nov-2005, 10:16 AM
  5. Replies: 0
    Last Post: 15-Nov-2005, 09:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •