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

  • SEARCH
  • Home
  • 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 7981221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:18:15+00:00 2026-06-04T10:18:15+00:00

We have a legacy VB6 application from which we have migrated the licencing code

  • 0

We have a legacy VB6 application from which we have migrated the licencing code to a Net executable. The choice for a separate executable was made because this code needs elevation. The Net executable needs to get the version number of the VB6 to check if use of this version is compliant with the licence. We are struggling with how to pass hidden or encrypted data from the VB6 app to the licence Net app. As the VB6 app runs under the credentials of the current user and the Net app needs elevation passing this information through the registry does not reliably work.

Please give some guidance on how to do this!

EDIT:
The links and advice given were useful and instructive. But too much hassle to just get one hidden parameter accross the Process boundary. I implemented it differently.
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-06-04T10:18:16+00:00Added an answer on June 4, 2026 at 10:18 am

    You can always pass the sensitive data to the .NET executable using command line parameters when it is launched. You can use a free API such as CryptoSys or the .NET Framework cryptography classes to encrypt/decrypt the sensitive license data.

    The VB6 application can call into the CryptoSys or .NET cryptography libraries using COM interop and of course the .NET application can call them directly.

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

Sidebar

Related Questions

I have a directory full of legacy code from a VB6 application. I have
I have a legacy VB6 application which contains this code: Begin VB.Label LblStDate Alignment
I have inherited some legacy vb6 code. It's a tool which generates a local
We have a legacy VB6 application which has worked just fine on Windows XP
In a legacy VB6 application I have the following code: Select Case lngItemID 'Other
I have some legacy application in vb6 and I am interoping into .net It
We have some legacy ASP.NET code that detects if a request is secure, and
We have a legacy VB6 application that updates itself on startup by pulling down
I have a legacy VB6 application that has the following structure defined: Public Type
We have a legacy VB6 application that uses Crystal Reports XI to generate printed

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.