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 941949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:11:42+00:00 2026-05-15T22:11:42+00:00

Rather than build a whole project group (several DLLs and an executable) I want

  • 0

Rather than build a whole project group (several DLLs and an executable) I want to run the group from the command line like this:
VB6 /runexit project

It eliminates the compile step and keeps the registry clean.

I can setup a Hudson job which gets the latest code from source control and runs the command line. The problem I’ve run into is that the target program hangs up part way through. I can abort it through the Hudson web interface OK.

What is happening?

  • 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-15T22:11:42+00:00Added an answer on May 15, 2026 at 10:11 pm

    The actual problem being encountered here is that VB6 looks to the registry for some of its system settings. When you run the project yourself, VB picks up settings from your user. When Hudson runs as a service it logs in as Local System, which has its own registry settings.

    The VB6 setting that is relevant here is Options/ErrorTrapping. By default the registry contains ‘Break on All Errors’. The project in question requires ‘Break on Unhandled Errors’. The symptom seems to be that VB6 locks up when an error is raised.

    The solution involves exporting the relevant settings from my user and importing them to Local System.

    There is an answer with a link about running regedit under Local System, but my answer is to use Hudson itself to run regedit as Local System. Also there is a question here about vb6 ide settings.

    1. Use a Command Window to export VB settings from this key to a file like this:

      regedit /e vbide-1.reg "HKEY_CURRENT_USER\Software\Microsoft\VBA\Microsoft Visual Basic"

    2. Create a new job in Hudson which does nothing for now, but click Build Now to create a job folder.

    3. Find the folder it creates and copy vbide-1.reg to the ‘workspace’ folder there.

    4. Configure the Hudson job to execute this Windows batch command:
      regedit /s vbide-1.reg

    5. Click Build Now again and the batch command should run. Verify in the Console Output:
      ...\workspace>regedit /s vbide-1.reg

    6. Disable the Build, or just delete the project.

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

Sidebar

Related Questions

I'm working with an incorrectly built spring application. Rather than use IOC, objects that
Rather than population said DOM object with an external page such as HTML CFM
Rather than scraping a Ruby version of this algorithm off the net I wanted
Has anyone used Lucene.NET rather than using the full text search that comes with
I'm developing an operating system and rather than programming the kernel, I'm designing the
(This is a question about the UI rather than the technology required to do
Does creating an object using reflection rather than calling the class constructor result in
Using C# and WPF under .NET (rather than Windows Forms or console), what is
Why would you do an automatic HTML post rather than a simple redirect? Is
I have been sold on mod_wsgi and apache rather than mod_python. I have all

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.