Jump to content

Using Resource Hacker to modify Veracrypt to check the "display password" box by default - Help please.

BecauseICanTBH
Go to solution Solved by vanished,
2 minutes ago, BecauseICanTBH said:

 

Thanks for that.

ES_PASSWORD is a few lines above. Any ideas on what exactly I'd change on this?

Ah, well, I'd just remove it.  That should accomplish what you want :)

There is no option within the program to check this box by default. I'd like to modify the .exe file to check it by default.

 

Any idea what I should change to get that effect? I found the dialog I was looking for. Here's where I am now:

 

Capture.PNG.c07032302699fb70336a971be95810a4.PNG

 

Capture2.PNG.07a986728c924490cdf0a588ffbb7fe4.PNG

Link to comment
Share on other sites

Link to post
Share on other sites

I tried something similar in a different program not that long ago.  The short answer is I don't think you can, for two reasons.  One, afaik, there is no "style" flag you can pass that causes it to be checked by default.  You'd have to send it a message to do that (not something you can make happen by modifying resources).  Two, even if you did manage it, just because it appeared checked, doesn't necessarily mean it would be.  If the program is not configured to read the state from the button upon launch (and why would it be?  It probably sets it if anything), it would not change the operation that actually matters.

 

You might have more luck trying to change the flags of the password field itself.  iirc, there is a flag that makes it display stars.  If they've used that, you might be able to change it that way.  If not, and they've decided to handle that manually, then there's probably no hope.  "ES_PASSWORD" is what you'd be looking for btw.

Solve your own audio issues  |  First Steps with RPi 3  |  Humidity & Condensation  |  Sleep & Hibernation  |  Overclocking RAM  |  Making Backups  |  Displays  |  4K / 8K / 16K / etc.  |  Do I need 80+ Platinum?

If you can read this you're using the wrong theme.  You can change it at the bottom.

Link to comment
Share on other sites

Link to post
Share on other sites

11 minutes ago, Ryan_Vickers said:

I tried something similar in a different program not that long ago.  The short answer is I don't think you can, for two reasons.  One, afaik, there is no "style" flag you can pass that causes it to be checked by default.  You'd have to send it a message to do that (not something you can make happen by modifying resources).  Two, even if you did manage it, just because it appeared checked, doesn't necessarily mean it would be.  If the program is not configured to read the state from the button upon launch (and why would it be?  It probably sets it if anything), it would not change the operation that actually matters.

 

You might have more luck trying to change the flags of the password field itself.  iirc, there is a flag that makes it display stars.  If they've used that, you might be able to change it that way.  If not, and they've decided to handle that manually, then there's probably no hope.  "ES_PASSWORD" is what you'd be looking for btw.

 

Thanks for that.

ES_PASSWORD is a few lines above. Any ideas on what exactly I'd change on this?

 

Capture.PNG.b7ef7d0191bf434cf340e2851e6629a2.PNG

 

Capture2.PNG.835fa4dff57304c1f5cdb731172b490d.PNG

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, BecauseICanTBH said:

 

Thanks for that.

ES_PASSWORD is a few lines above. Any ideas on what exactly I'd change on this?

Ah, well, I'd just remove it.  That should accomplish what you want :)

Solve your own audio issues  |  First Steps with RPi 3  |  Humidity & Condensation  |  Sleep & Hibernation  |  Overclocking RAM  |  Making Backups  |  Displays  |  4K / 8K / 16K / etc.  |  Do I need 80+ Platinum?

If you can read this you're using the wrong theme.  You can change it at the bottom.

Link to comment
Share on other sites

Link to post
Share on other sites

10 minutes ago, Ryan_Vickers said:

Ah, well, I'd just remove it.  That should accomplish what you want :)

 

Got it, tyvm!

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×