|
-
Feb 6th, 2019, 04:25 AM
#1
Thread Starter
Junior Member
Resize Dialogs in vb6ide.dll
Hi
Has anyone used ResourceHacker to make the vb6 file open/save dialogs bigger? They look so small on these higher res monitors!
If so, would you be able to share your new design so I can mimic your changes. ISTR this being available somewhere on the web many years ago but can't locate it now.
Many thx IA
s
Last edited by SWo777; Feb 6th, 2019 at 04:25 AM.
Reason: clarification
-
Feb 6th, 2019, 05:10 AM
#2
Re: Resize Dialogs in vb6ide.dll
That's a good idea but the open/save dialogs don't seem to be located in either vb6ide.dll or vb6.exe.
It was nice to make the References dialog bigger though:

Resource Hacker is still maintained, updated very recently, and freeware: http://www.angusj.com/resourcehacker/
It opens the dialogs just as they appear, you can resize and drag things around just like in VB. If you can make VB forms you can use ResHacker. Just modify the forms to your liking, click the green arrow for 'Compile Script', then Save. ResHacker makes a copy of the original before modifying it, but always safer to make your own backup just in case.
-
Feb 6th, 2019, 05:23 AM
#3
Thread Starter
Junior Member
Re: Resize Dialogs in vb6ide.dll
Many thx for this. Shame about the open/save dialogs though.
-
Feb 6th, 2019, 05:30 AM
#4
Re: Resize Dialogs in vb6ide.dll
The vbAdvance Add-In should just do this all:
http://vb.mvps.org/tools/vbAdvance/
-
Feb 6th, 2019, 06:52 AM
#5
Re: Resize Dialogs in vb6ide.dll
 Originally Posted by SWo777
Has anyone used ResourceHacker to make the vb6 file open/save dialogs bigger? They look so small on these higher res monitors!
Which dialogs are you talking about? Those that prompt you to open/save a project or those related to the common dialog that you use in code? For the project-related ones, I believe if vb6 is manifested to be DPI-aware, the dialogs are larger. However, not all graphics in the dialog are scaled properly.
-
Feb 6th, 2019, 10:31 AM
#6
Thread Starter
Junior Member
Re: Resize Dialogs in vb6ide.dll
Hi Thx for responding ... yes it is the "in-ide" open/save file dialogs I was referring to. Could you point me to a link wrt "manifesting vb6 to be dpi-aware"? (sorry if I have used the terminology incorrectly!)
Many thx
s
-
Feb 6th, 2019, 10:32 AM
#7
Thread Starter
Junior Member
Re: Resize Dialogs in vb6ide.dll
Hi Thx for responding ... yes it is the "in-ide" open/save file dialogs I was referring to. Could you point me to a link wrt "manifesting vb6 to be dpi-aware"? (sorry if I have used the terminology incorrectly!)
Many thx
s
-
Feb 6th, 2019, 10:33 AM
#8
Thread Starter
Junior Member
Re: Resize Dialogs in vb6ide.dll
Thx. I'll have a look at that.
-
Feb 6th, 2019, 12:06 PM
#9
Re: Resize Dialogs in vb6ide.dll
 Originally Posted by SWo777
Hi Thx for responding ... yes it is the "in-ide" open/save file dialogs I was referring to. Could you point me to a link wrt "manifesting vb6 to be dpi-aware"? (sorry if I have used the terminology incorrectly!)
Many thx
s
A project I created can be found in the forums, here. Not trying to push that project, but it has posts related to manifesting that could be of interest, specifically, in your case, jump to post #3. What isn't mentioned in that post is that sometimes, the only way to get VB to recognize an external manifest if all other attempts fail is to "touch" the vb6.exe, making its date modified change. There is another way to add a manifest by using apps like "Resource Hacker" that will go an actually edit/modify your vb6.exe file -- however, I choose not to mess with rewriting exes if a less permanent fix is available. And that less permanent fix is an external manifest file.
Do note, that there are annoyances when the IDE is manifested. Most notably is the loss of the color palette in the properties sheet. You still have the system colors, but no standard palette colors are drawn. However, VB does offer palette selection another way, via its IDE menubar: Edit | Color Palette
-
Feb 6th, 2019, 12:18 PM
#10
Thread Starter
Junior Member
Re: Resize Dialogs in vb6ide.dll
-
Feb 6th, 2019, 12:51 PM
#11
Re: Resize Dialogs in vb6ide.dll
If I made VB6 dpi (un)aware, all that happens is all the toolbar buttons and dialog icons get insufferably tiny, but nothing is made larger. Are others getting a different outcome?
-
Feb 6th, 2019, 12:55 PM
#12
Re: Resize Dialogs in vb6ide.dll
 Originally Posted by fafalone
If I made VB6 dpi (un)aware, all that happens is all the toolbar buttons and dialog icons get insufferably tiny, but nothing is made larger. Are others getting a different outcome?
The size of dialog is larger. I think that was the gist of this thread. But, yep, @ 200 DPI, the icons are so tiny.
-
Feb 6th, 2019, 01:02 PM
#13
Re: Resize Dialogs in vb6ide.dll
Only makes it larger by about the height of a 16x16 icon for me, and only vertically 
But the bigger problem seems to be, that open project window isn't any standard dialog call I've ever heard of, so where's its dialog resource, or does it just not have one? Does vbAdvance make it sizable somehow too, or just the actual common dialogs in various parts of the IDE?
-
Feb 7th, 2019, 09:37 PM
#14
Re: Resize Dialogs in vb6ide.dll
When I said the dialogs resize when DPI aware... Below is dialog @ 150% DPI and to the right, typical 100% DPI.
-
Feb 8th, 2019, 07:56 AM
#15
Re: Resize Dialogs in vb6ide.dll
If you want to do it simple you can just replace the byte 0x20 to 0xA0 at the 0x16c6fd address in VB6.EXE (6.00.9782) but you'll have the strange behavior of the tab.

ADDED:
For images dialog you can do the same at 0x16bc36.
Last edited by The trick; Feb 8th, 2019 at 08:27 AM.
-
Aug 14th, 2023, 05:09 AM
#16
-
Aug 14th, 2023, 07:47 AM
#17
Re: Resize Dialogs in vb6ide.dll
I didn't notice it when the thread was new, but now I'm intrigued by The trick's secret project
-
Aug 14th, 2023, 08:01 AM
#18
Re: Resize Dialogs in vb6ide.dll
 Originally Posted by Arnoutdv
i can't download vbAdvance ,do you have new link url?
-
Aug 14th, 2023, 01:24 PM
#19
Lively Member
Re: Resize Dialogs in vb6ide.dll
 Originally Posted by xiaoyao
i can't download vbAdvance ,do you have new link url?
If you can access github where you are this will do the trick.
https://github.com/FrannDzs/addins/t...ster/vbAdvance
Last edited by DrBobby; Aug 14th, 2023 at 01:25 PM.
Reason: Added quote
-
Mar 9th, 2024, 03:18 AM
#20
New Member
Re: Resize Dialogs in vb6ide.dll
sorry,i can't find 0x16c6fd,Can you tell me how to modify it in detail?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|