473,748 Members | 10,771 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Open Image in 'Kodak Image Edit Control' with web browser.

hi,
1.I want to show a image file of type '.tif' in the browser window;
for that I'm writting as ASP code page.

2.This '.tif' type image can be shown better with 'Kodak Image
Control'.

3.To have this 'Kodak Image Control' on my code page I just add it's
..ocx to tool box and then drag it from 'Toolbox' to the page.

4.Now after dropping this control to the code it's type is getting
changed to 'object' instead of type 'ImgEdit'(and I think this is the
reason I don't get correct result).

5.On one button's 'Onclick' event I'm calling a javascript function
with which I'm setting a 'Path'and'Displ ay' property of a control.

6.And want to show a image at location --
'..\MF\\TDRCMF9 \196\85173-62.tif'
which get shown in new browser window but could not get shown in that
particular control. That means the path is correct, then what is the
problem?

For better understanding of problem I'm pasting a following code which
I've tried up till now......
............... ............... ............... ............... ......
<%@ Language=VBScri pt %>
<% OPTION EXPLICIT %>

<HTML>
<HEAD>
<META NAME="GENERATOR " Content="Micros oft Visual Studio 6.0">

<SCRIPT LANGUAGE=javasc ript>
<!--
function showpic()
{
var path;
path = document.frmtif .path.value;
alert(path);
document.frmtif .ImgEdit1.Image =path;
document.frmtif .ImgEdit1.Displ ay;
window.parent.s elf.open(path);
}

//-->
</script>

</HEAD>
<BODY bgColor=#ffe4e1 >
<form name="frmtif">
The Image
<P>
<OBJECT id=ImgEdit1 style="WIDTH: 409px; HEIGHT: 218px" type="ImgEdit"
align=left
border=1 classid=clsid:6 D940280-9F11-11CE-83FD-02608C3EC08A
name=imgtif></OBJECT>

<input type="hidden" name="path"
value="..\MF\\T DRCMF9\196\8517 3-62.tif">
<input type="button" name="show" value="Show" onclick="showpi c();">
</P>

</form>
</BODY>
</HTML>

............... ............... ............... ............... ......

Thanks in advance,
Amita....
Jul 19 '05 #1
0 4952

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

Similar topics

1
2648
by: John L | last post by:
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...
2
2239
by: Hemant | last post by:
I am using the Kodak Image Edit Control in one of the applications that I have been working in .Net. However, one of my requirement is to zoom the image to best fit the window size available. Can anybody guide me any direction or help me with the required code? Thanks in advance - Hemant
0
3978
by: Kevin Myers | last post by:
Hello, On an Access 2000 form under Windows 2000 I would like to use a Kodak Image Edit Control to display the contents of a TIFF image file. According to the very limited documentation that I have been able to locate so far, all I should need to do is to drop the Image Edit Control onto the form in design mode, set the control's Image property to the location of my TIFF file, and then possibly add the following lines to the Current...
4
8384
by: Kevin Myers | last post by:
Hello, Please forgive my reposting of this note with hopefully a more relevant subject line. On an Access 2000 form under Windows 2000 I would like to use a Kodak Image Edit Control to display the contents of a TIFF image file. According to the very limited documentation that I have been able to locate so far, all I should need to do is to drop the Image Edit Control onto the form in design mode, set the control's Image property to...
1
1126
by: kaczmar2 | last post by:
I have an image in a in one column of my datagrid, along with other data. During the edit, a file control is loaded so the user can edit data and specify a new image, if needed. Everything works just fine, and the data is refreshed in the grid after an edit, but if a new image has been chosen by the user, on postback, the old image still shows until the user manually refreshes the browser. How can I get this image to refresh after the...
6
2403
by: Shimon Sim | last post by:
Hi 1) Is it possible to force browser to open image in default windows application? That is what specifies in Folder Options for jpg extension. 2) Also if the 1) is possible is it possible to send few jpg files at the same time. The problem that I am facing is that the client needs to print some files that are saved on the server. Usually before printing user needs to resize them. It would be the best if image opens right away in the...
19
2240
by: **Developer** | last post by:
When I get the image from the file the file remains locked so the Delete fails with a "used by another process" So I tried using a clone and disposing the obtained image. But that didn't fix the problem. Can you help?
6
10035
by: qysbc | last post by:
I have a web page and there is a link to open a TIFF file. The way I do it is to have the server code open a binary stream, set the content type to "image/tiff" and call Response.BinaryWrite. On the client machine, the file type TIFF is associated with Kodak Imaging Preview. This app works on most client machines. When you click on the link, Kodak Imaging Preview will open the TIFF file on the client machine. However, on some machines, the...
5
18418
by: MoshiachNow | last post by:
HI, How do I force a browser to open a certain file with notepad ? <LI><A HREF="D:/Program Files/yohoLogFile.txt.4" ><p style="font-family:font-size: 7pt;"yohoLogFile.txt.4 </A></LI>'; Thanks
0
8989
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9367
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9319
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6795
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6073
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4599
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3309
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2213
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.