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
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:
https://i.imgur.com/zcczcxY.jpg
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.
Re: Resize Dialogs in vb6ide.dll
Many thx for this. Shame about the open/save dialogs though.
Re: Resize Dialogs in vb6ide.dll
The vbAdvance Add-In should just do this all:
http://vb.mvps.org/tools/vbAdvance/
Re: Resize Dialogs in vb6ide.dll
Quote:
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.
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
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
Re: Resize Dialogs in vb6ide.dll
Thx. I'll have a look at that.
Re: Resize Dialogs in vb6ide.dll
Quote:
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
Re: Resize Dialogs in vb6ide.dll
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?
Re: Resize Dialogs in vb6ide.dll
Quote:
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.
Re: Resize Dialogs in vb6ide.dll
Only makes it larger by about the height of a 16x16 icon for me, and only vertically :confused:
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?
1 Attachment(s)
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.
Attachment 165495
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.
https://s8.hostingkartinok.com/uploa...742882eb5e.jpg
ADDED:
For images dialog you can do the same at 0x16bc36.
Re: Resize Dialogs in vb6ide.dll
4 years later (I'm new to VB6 :wave:) : thank you very much for the tricks !
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 :D
Re: Resize Dialogs in vb6ide.dll
Quote:
Originally Posted by
Arnoutdv
i can't download vbAdvance ,do you have new link url?
Re: Resize Dialogs in vb6ide.dll
Quote:
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
Re: Resize Dialogs in vb6ide.dll
sorry,i can't find 0x16c6fd,Can you tell me how to modify it in detail?