Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7030105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:37:34+00:00 2026-05-28T00:37:34+00:00

I have a dll(written in vb6) that compiles VB6 code. I’m reading the VB6.exe

  • 0

I have a dll(written in vb6) that compiles VB6 code.
I’m reading the VB6.exe path from the registry and it works fine.

m_oRegTool.RegistryPath = "Applications\vb6.exe\shell\make\command"

sVB6EXEFile = m_oRegTool.GetValueData("", "")

The problem is that the VB6.exe path is located in different locations in the registry for XP and win 7 (64 bit).
Any ideas how I can find the VB6.exe in the registry without specifying the location in the registry?

thanks,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T00:37:34+00:00Added an answer on May 28, 2026 at 12:37 am

    I think that (in a standard install and if the user hasn’t changed the default) that the following registry key will contain the path the the exe:

    HKEY_CLASSES_ROOT\VisualBasic.Project\shell\open\command
    

    The Default value in this key contains the open command for vbp files – On my machine:

    "C:\Program Files (x86)\Microsoft Visual Studio\VB98\vb6.exe" "%1"
    

    So you could just remove the “%1” and the other double quotes to get your path

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a very simple DLL written in unmanaged C++ that I access from
I have a DLL that was written in C++ and called from a C#
I have a VB6 application that uses a COM DLL. The DLL is written
I have a legacy DLL written in C that I'd like to call from
I have a COM dll written in vb6. When I try to create a
I have a dll that was written in c++, I need to use this
I have a DLL that is written in C++ and I want to suppress
I have a test suite DLL written in C# that uses Selenium.This is then
I have an application written in PHP that uses a COM dll written in
I have written a DLL that uses MS Word to spell check the content

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.