Make VB6 applications look, feel and work state-of-the-art.
See this video for more:
https://youtu.be/2RPnJotSYj0
I HAVE HEAVILY MODIFIED THE CODE NOT COMPLETELY CODED IT. THE CREDITS CAN BE FOUND BELOW. I HAVE ALSO CONSOLIDATED OTHER PROJECTS TO CREATE A BASIC PACKAGE FOR BEGINNERS THAT WILL MAKE YOUR APPLICATIONS LOOK GREAT.
With the following code, your form controls will automatically resize with the forms and look awesome (The looks have to do with manifests which I have credited below). Also, it is responsive to resolution changes.
Version History:
3.0
Fixed bugs with fixed aspect ratio scaling. Some still present.
Attached files here.
Removed unnecessary references
2.0
Added fixed aspect ratio scaling. Just add the optional parameter true to the ResizeControls Call and the forms will scale keeping the aspect ratio constant
1.0
Initial Release
To use the source code:
Visit the manifest creator page for instructions on theming.
For the automatic resizing:
Add the module ScalingModule (Module2) to your project.
Then declare in each form:
Private InitialControlList() As ControlInitial
Then insert the following code in all forms to be resized:
Private Sub Form_Load()
InitialControlList = GetLocation(Me)
ReSizePosForm Me, Me.height, Me.width, Me.Left, Me.Top
End Sub
Private Sub Form_Resize()
ResizeControls Me, InitialControlList
End Sub
Play around with the sample project for more! You may need to add a few components/references for it to work. The exe should probably work out of the box (But I can't assure it).
Credits:
I modified (heavily) the inefficient code for resizing form and controls found here:
http://www.dreamincode.net/forums/to...reen-size-vb6/
The manifest creator for better looks:
http://www.vbforums.com/showthread.p...nifest-Creator
(See #79 on page 2 for better code, or you can even neglect the module totally)
A TON of interfaces to make VB6 look better:
http://www.vbforums.com/showthread.p...ary-oleexp-tlb
Taskbar Progressbar Animation:
http://www.vbforums.com/showthread.p...n-taskbar-etc)
Please credit me and the others above!
See this video for more:
https://youtu.be/2RPnJotSYj0
I HAVE HEAVILY MODIFIED THE CODE NOT COMPLETELY CODED IT. THE CREDITS CAN BE FOUND BELOW. I HAVE ALSO CONSOLIDATED OTHER PROJECTS TO CREATE A BASIC PACKAGE FOR BEGINNERS THAT WILL MAKE YOUR APPLICATIONS LOOK GREAT.
With the following code, your form controls will automatically resize with the forms and look awesome (The looks have to do with manifests which I have credited below). Also, it is responsive to resolution changes.
Version History:
Quote:
3.0
Fixed bugs with fixed aspect ratio scaling. Some still present.
Attached files here.
Removed unnecessary references
2.0
Added fixed aspect ratio scaling. Just add the optional parameter true to the ResizeControls Call and the forms will scale keeping the aspect ratio constant
1.0
Initial Release
Visit the manifest creator page for instructions on theming.
For the automatic resizing:
Add the module ScalingModule (Module2) to your project.
Then declare in each form:
Private InitialControlList() As ControlInitial
Then insert the following code in all forms to be resized:
Private Sub Form_Load()
InitialControlList = GetLocation(Me)
ReSizePosForm Me, Me.height, Me.width, Me.Left, Me.Top
End Sub
Private Sub Form_Resize()
ResizeControls Me, InitialControlList
End Sub
Play around with the sample project for more! You may need to add a few components/references for it to work. The exe should probably work out of the box (But I can't assure it).
Credits:
I modified (heavily) the inefficient code for resizing form and controls found here:
http://www.dreamincode.net/forums/to...reen-size-vb6/
The manifest creator for better looks:
http://www.vbforums.com/showthread.p...nifest-Creator
(See #79 on page 2 for better code, or you can even neglect the module totally)
A TON of interfaces to make VB6 look better:
http://www.vbforums.com/showthread.p...ary-oleexp-tlb
Taskbar Progressbar Animation:
http://www.vbforums.com/showthread.p...n-taskbar-etc)
Please credit me and the others above!