Click here to Skip to main content
Click here to Skip to main content

Using this component user can maxmize or minimize window size

By , 18 Sep 2006
 

Introduction

This component is used for zoom in or zoom out feature. Normally no zoom control / component shiped with visual studio 6.0. In this article you will find application as well as component. Feel free to communicate with me. Please share your views with me for imroving the functionality of this control/component.

First Screen with 80%

After zooming 120%

1. Zip file is selt expalnatory.

2. Add reference of dll.

3. Place code like

Dim objZommer As New Zoom
Private Sub Combo1_Click()
objZommer.Zoom Combo1, Me
End Sub

Private Sub Form_Load()

objZommer.LoadData Combo1
objZommer.LastIndex = 2
End Sub

 

Thanks

 

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Rajesh Jha
Technical Lead
India India
Member
No Biography provided

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralMy vote of 5membermanoj kumar choubey20 Feb '12 - 21:58 
Nice
GeneralMy vote of 5memberHeaven20203 Nov '10 - 8:57 
i like it
GeneralSource Codememberjmh55518 Oct '06 - 7:53 
This is a great tool but I need to use it in .Net. Can you provide the source code to the Zoomer.dll in either VB 6, VB.Net, or C#?
GeneralERROR FOUND [modified]memberSolanki Rajat22 Sep '06 - 0:19 
WHENE I RUN YOUR PROGRAM
I GET THIS ERROR "SPECIFIED CAST IS NOT VAILD"Frown | :(
PLEASE SOLVE THIS PROBLEM
ITS URGENT
 

 

-- modified at 6:32 Friday 22nd September, 2006
GeneralRe: ERROR FOUNDmemberRajesh Jha22 Sep '06 - 0:56 
Please eloborate the error, this error should not raise.
 
1. Have your registerd the control properly?
2. Have you taken component reference properly?
3. Please check and revert back to me
 
Smile | :)
 
~RJha

Generalmore detailsmemberpablleaf20 Sep '06 - 7:53 
how does the component work, screenshots would be great.
GeneralRe: more detailsmemberRajesh Jha20 Sep '06 - 19:21 
Hi All,
 
I have attached the screen shot. if you have any further query your most welcome.
 


 
~RJha

GeneralRe: more detailsmemberRajesh Jha20 Sep '06 - 20:07 
How to Use This Component
 
· Click on Run
· Copy Zoomer.dll into C: drive
· Register this component using Regsvr32.exe C:\ Zoomer.dll
· Open VB 6.0
· Create “Standard.Exe”
· Click on Project Menu -> Add MDI Form
· Drag and Drop Picture Box control on MDI Form
· Drag and Drop Combo Box control on MDI Form
· Make all child Form properties MDIChild = True
· Click On Project Menu - >Click on Reference
· Select Windows Zoomer 1.0
· Place this code
 
Option Explicit ‘Forcing Variable declaration
 
Dim objZommer As New Zoom ‘ create object of zoom component
 

‘ On click of Combo box use follwing code
objZommer.Zoom Combo1, Me ‘ We change the size of form
OR
 
Private Sub Combo1_Click()
objZommer.Zoom Combo1, Me
End Sub
 
On Form Load of MDI
 
objZommer.LoadData Combo1 ‘Filling combobox with appropriate value
objZommer.LastIndex = 2 ‘Seting default index e.g 100%
 
OR
 
Private Sub MDIForm_Load()
objZommer.LoadData Combo1
objZommer.LastIndex = 2
End Sub
 
Smile | :) Comment will be appreciable…………

 
~RJha

GeneralWe need a screenshotmemberPascal Ganaye18 Sep '06 - 5:37 
Please put a screenshot of your component.
GeneralRe: We need a screenshotmemberRajesh Jha20 Sep '06 - 19:23 
:Hi Pascal,
I have attached the screnn shot, welcome your next query..
 
Smile | :)
 
~RJha

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 18 Sep 2006
Article Copyright 2006 by Rajesh Jha
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid