473,396 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Zooming problem

i m doing project in VB
what i want is when i wll click on zoomin and take mouse pointer over the map it should show zoomin image and same zoom out
in my project there r three images. 1> image displaing map 2>displaing zoomin and 3> displaing zoomout
in imagedisplay(of map) and event mouse move i have written the coding
Expand|Select|Wrap|Line Numbers
  1. If zoomani = 1 Then
  2.   Imgdisplay.MousePointer = LoadPicture(Apppath + "maps\zoomin.jpg")
  3. Else
  4.   Imgzoomout.MousePointer = LoadPicture(Apppath + "maps\index\zoom-out-icon.jpg")
  5. End If
  6. End Sub
and i have decleared zoomani as integer
and in zoonin zoomani = 1 (in private sub zoomin())
and in zoomout zoomani = 2 (in private sub zoomout())
and when i m running the program it is showing runtime error 6
overflow
so i wnt 2 know where i m wrong
Jun 24 '07 #1
2 1086
bartonc
6,596 Expert 4TB
Moving to the Visual Basic Forum and recommending that you read our Posting Guidelines. Welcome to TheScripts.com.
Jun 24 '07 #2
Killer42
8,435 Expert 8TB
I found the question quite difficult to follow. Could you show us the statement (and the context) where the error is reported?

Also, does "displaing" mean "displaying"?

And finally, what version of VB are you using?
Jun 25 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Deano | last post by:
I think that just about sums it up. Is there a fix/workaround for this?It's quite annoying behaviour and not user-friendly.thanksMartin
0
by: Gopi | last post by:
Hi All I have set a BackgroundImage for windows forms and i need to implement the image zooming feature for the form ie when ever i m zooming in or zooming out the form the corrosponding...
4
by: Bernie Yaeger | last post by:
I'd like to allow the user to zoom a window using a trackbar, say from 80% to 120% the size of the original window. I'm trying to do this with the following code, but it fails pretty miserably:...
0
by: gerstla | last post by:
hi I am building a simple control to view images with zooming capabilities. i want the image to zoom when it is clicked on. after zooming i want the control to try and move the point clicked to the...
0
by: pavanjosh | last post by:
Hello Frineds, Can anyone please help me in getting the code or library for written in C# for zooming in and zooming out the images in the picture box? Or is there any other way from which i can...
0
by: harwindersran | last post by:
hey guys i need implementation for tiff image zooming using DCT . its my project work.. is there anyone can help me.. it wud be very helpful to me.. nd very very thanks..
4
by: =?Utf-8?B?U3BlZWR5?= | last post by:
Hi there, I am currently writing an application where one inspects images and annotates certain features. Thus, one has to zoom in (4x) and pan around. The features are marked with little red...
0
by: sorab | last post by:
I hav created a bimap image at run time using graphics object in vb.net. i display that image in the picture box i have also implemented few mouse events on that image. e.g. I can draw lines with...
0
by: johot | last post by:
I am currently creating a little photo application. In this application the user is able to zoom in the image and after zooming panning around inside the zoomed image with the mouse. The strange...
4
by: alarock | last post by:
how can i do Zooming of a particular area using OnMouseWheel (that is zooming a mouse wheel point that should come into view with zoom ) using C# Regards, ALGATES
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.