473,324 Members | 2,166 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,324 software developers and data experts.

image display inconsistencies

Thanks in advance...
I have an image control into which I load a .tif image, which
loads fine...
And when I select a rectangle to zoom down to , and click on a
cmdButton ("ZOOM IN"), I zoom to selected rectangle as I expected, BUT
ONLY when I run from within the .vbp. The cmdButton code is a 1 liner,
namely: Me.imgMain.ZoomToSelection...
If I create an executable, and perform the same thing, the image
flashes once, showing me that the zoom worked, but then disappears to
a gray image control.Now, if I LEFT click anywhere on the grayed out
image, the zoomed in image now displays.
What's going on here... what am I missing ?
Can anyone help ?
I have tried invoking a mouse LEFT click in code on the image when
the cmdButton is clicked, but I still get the same thing.
I am running VB6 on a Windows 2000 platform.
Jul 17 '05 #1
1 2624
jl******@abhct.com (John L) wrote in message news:<1b**************************@posting.google. com>...
Thanks in advance...
I have an image control into which I load a .tif image, which
loads fine...
And when I select a rectangle to zoom down to , and click on a
cmdButton ("ZOOM IN"), I zoom to selected rectangle as I expected, BUT
ONLY when I run from within the .vbp. The cmdButton code is a 1 liner,
namely: Me.imgMain.ZoomToSelection...
If I create an executable, and perform the same thing, the image
flashes once, showing me that the zoom worked, but then disappears to
a gray image control.Now, if I LEFT click anywhere on the grayed out
image, the zoomed in image now displays.
What's going on here... what am I missing ?
Can anyone help ?
I have tried invoking a mouse LEFT click in code on the image when
the cmdButton is clicked, but I still get the same thing.
I am running VB6 on a Windows 2000 platform.


Thanks for the response Raoul...
I am using KODAK's imgedit control to zoom in on the the image. And
since it is referenced in the vbp, can I assume that it has been
registered correctly ?
I also tried the refresh idea without any success.
And I just upgraded to SP5, which also did nothing to fix this
problem.
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Doug Mazzacua | last post by:
I noticed that that <ul> lists display differently with <br> between <li>s in IE and Mozilla. Does anyone know of a reference that catalogs all of the known types of differences in display...
26
by: Yeah | last post by:
I have a web site which changes the header logo based on the upcoming holiday. For example, from December 10th to 25th, XMAS.JPG is displayed. From October 20th to 31st, HALLWEEN.JPG is...
16
by: Walker | last post by:
I have a span containing two words. Eg. <span>Avant Garde</span> Using CSS, I pad the text to the right and assign a background-image. Eg. span { padding: 0 3px 0 11px; background:...
9
by: Rajesh | last post by:
Hi all, Im gonna display a list of images in an aspx page from sql server Db.Each image has a link.When someone clicks the image i want the width and size of the image to be displayed at the...
3
by: =?Utf-8?B?SlIx?= | last post by:
I would like to add text to an image. I have tried to use DrawString and it works on some images but on others it is very very small. I am pretty sure it has something to do with the size of the...
0
by: bindslind | last post by:
The script does most of what it's supposed to do, but I have what seems to be a simple problem that I can't figure out. When the page intitially loads the first page does not display images. The same...
4
by: Huseyin | last post by:
Dear alls I am trying to put an image with text wrapped all around it except the top part. Is it possible to do that without using invinsible tables? Any advice will be immencely appreciated....
11
by: Chris Beall | last post by:
See http://pages.prodigy.net/chris_beall/Demo/photo%20block%20experiments.html I've ended up with what seems like a rather complex structure for what I thought would be a somewhat simple...
3
by: Froefel | last post by:
Hi group, I'm looking for some help on how to achieve the following in a gridview control that is based on an ObjectDataSource. The SelectMethod of the datasource returns a list of Customer...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.