Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 150
  • Last Modified:

Database programming and image display

I would like to develop a web page that accesses to SQL Server and show an image(TIFF format). What 's the way I should do ?

My environtmet:
Web Server => NT4, IIS(as web server)
DBMS => MS SQL Server 7
Client => Window 98 + IE5

Note: I used to use ActiveXForm and ADO. When a client accesses to the web page, there will be errors such as
- Interface not support
- ADO cound not find the specified provider.
- Timeout

The errors type of errors are upto a client's system environment.

Thanks in advance,
Arrak

0
Arrak
Asked:
Arrak
1 Solution
 
kubeerjaCommented:
I don't think you can show a tiff format image on the browser, you have to convert it to jpeg or gif.
Do you want to use Delphi to do that?
in this case you need to build a CGI or ISAPI application. You can also use ASP to do that.
0
 
Mr_PeerapolCommented:
Listening ....

What's an ISAPI application ?

0
 
Mr_PeerapolCommented:
Listening ....

What's an ISAPI application ?

0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
kubeerjaCommented:
An ISAPI Web server application is a DLL that is loaded by the Web server. Client request information is passed to the DLL as a structure and evaluated by hte Application, which creates a Request and a Response objects. Each request message is automatically handled in a separate execution thread.

for Arrak,

if you are using an active form then you have to use a remote connection to your server. It looks that the active form try to connect to the client machine and it fails because he don't have the Database.
0
 
ArrakAuthor Commented:
kubeerja,
Could you please show me an example of ISAPI with Delphi programming?
0
 
flooderCommented:
Your first problem in my view is displaying the tiff image. You should first have a look how to go about doing that or you should convert all the images to bmp which would cause a major increase in size but then you could store it in your database directly. A problem I found with images and paradox is that certain images are just too big and does not get displayed. Maybe this is just the case with paradox but just maybe you will find the error in sql server as well
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now