🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.intrabuilder.forms
2 messages
2 total messages Started by Anthony Bateman Thu, 06 Aug 1998 00:00
Using a File Open Dialog box ina form.
#122
Author: Anthony Bateman
Date: Thu, 06 Aug 1998 00:00
25 lines
1474 bytes
Hi,
I have an application where I would like somebody to load the contents of a
bitmap file into an image field. I would then transfer this data into a
BLOB field in a database. It seems to be an elegant way to allow users to
store images in a central database from the web browser.

I could ask the user to write the path to the file in a text box, but this
is not very end-user friendly. So I thought that it would be nice to call a
file open dialog box to do so.

Since it is HTML being generated, I guess that there is no way to do this -
or is there? This is an intranet application and Internet explorer version
3.0 is being used. Is there a way to make a direct call to the windows API?
I suspect not but look to others for clarification.

I thought that I would try to use an activeX control which encapsulates the
functionality of an Open File dialog box. I am trying to make this in
Delphi, but have run into a few problems with this approach.

If anybody has an elegant solution for me, I would be greatfyl to hear of
it.

Thanks, 

Tony Bateman.
Re: Using a File Open Dialog box ina form.
#126
Author: KJS
Date: Mon, 10 Aug 1998 00:00
18 lines
1043 bytes
Anthony Bateman wrote:

> I could ask the user to write the path to the file in a text box, but
> this
> is not very end-user friendly. So I thought that it would be nice to
> call a
> file open dialog box to do so.
>
> functionality of an Open File dialog box. I am trying to make this in
> Delphi, but have run into a few problems with this approach.
>

Tony,

Try using the <INPUT TYPE="FILE">.  Your help documentation should
give you more info on it.

Ken Siemek
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads