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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T16:45:17+00:00 2026-06-14T16:45:17+00:00

I have a VB6 MDI application and the users can select which database they

  • 0

I have a VB6 MDI application and the users can select which database they want to connect to (eg “archive” or “live”). When the users are accessing the “archive” database, I would like to have this prominantly displayed. Ideally as a watermark across the forms. All the controls would still be visible and work correctly. I need this watermark to persist when they use print screen. In fact, a solution where just the print screen is watermarked would be ok.

Also, I would prefer a solution which I could implement in the MDI parent form, so I don’t have to change all the individual child forms.

So far, I’ve tried.

  1. Add watermark to MDI parent background, and make MDI children semi-transparent. Unfortunately, it seeems that you can’t make MDI child forms transparent – the whole MDI application (parent and children) becomes transparent.

  2. Make the MDI application tranparent, then add a non-child form with the watermark behind the MDI parent form (this form moves and resizes in line with the MDI parent). This look ok, if a bit faint, but Alt-PrintScreen only captures the MDI window, so the watermark effect is not captured. PrintScreen is ok. So, I could consider adding a keyboard hook to disable Alt-Printscreen.

  3. Add a keyboard hook to trap the PrintScreen keypress and then display a transparent form with the watermark over the MDI application. As with 2, the Alt-PrintScreen only captures the MDI form, and does not show the watermark effect. Also, this solution only watermarks the print screen output.

  4. Adding a background image to the MDI form. This doesn’t show through the other controls, and with forms with a lot of frames, the watermark is not that obvious.

Is there some neat way to render the watermark graphics over the form window? Can you place a transparent picture box over the other controls and still have these controls work correctly?

All advice appreciated.

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-14T16:45:18+00:00Added an answer on June 14, 2026 at 4:45 pm

    The main reason for this fix was to prevent any reports or screen shots from the “archive” system getting confused with the “live” system. I would have liked to watermark the screens, but it seems too awkward. The helpful suggestions to change the colour/image of the form background, or add something to the title, etc. are good, simple solutions.

    Howevever, I did need to make sure any printed materials or screen shots were clearly marked.

    Watermarking the reports was pretty straight forward since they use Word/Excel automation etc. – so I could just add transparent text boxes etc. when printing from the “archive” database.

    Distinguishing the screen shots between “archive”/”live” was a bit more awkward. Eventually I went with the approach of setting a keyboard hook to trap any print screen key presses. This is only activated on the “archive” system. On the key-up event of the print screen, I copy the bitmap from the clipboard into a picturebox (on a hidden form); tile a transparent watermark image over it; then copy the picturebox image back to the clipboard. So, if it is pasted into another application it has the watermark. Seems to work well. Of course, this will watermark all screen shots, whether they are of the application forms or not – but that’s ok with the users.

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

Sidebar

Related Questions

I have a VB6 application (please don't laugh) which does a lot of drawing
I have a VB6 application which opens files with their associated application using: ShellExecute(0,
I have a VB6 Application which creates an instance of the internet explorer and
We have a VB6 application using CR 7. We want to move the VB
I have a VB6 application which someone wrote, which does not work for only
I have a VB6 application accessing a single table on a MSSQL2000 server via
I have VB6 application , I want to put some good error handling finction
I have a VB6 application running for years. This application always reference Excel 2003
I have a VB6 application that is creating a JSON string and posting it
I have a VB6 application implemented as an ActiveX exe. I also have a

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.