Open File Dialog in DHTML 
Author Message
 Open File Dialog in DHTML

Hi

I built a DHTML page which produced a (.dll) file and tried to open a file
and assign the text of the file to a text box (textarea) which I included
in my design.

It works fine when I run it from my PC. But when I run it on another PC it
fails, and I get a msg () and the Open Dialog box doesn't appear (I used the
setup wizard to install the application in the other PC)

The Code for the Open Dialog is

#####################################################
#Private Function Button1_onclick() As Boolean
#
#
#    cmd.FileName = ""
#    cmd.Flags = cdlOFNFileMustExist Or cdlOFNPathMustExist
#    cmd.Action = 1
#
#
#    If cmd.FileName <> "" Then
#        Open cmd.FileName For Binary As #1
#
#        Dim t As String
#        t = String(LOF(1), 0)
#        Get #1, , t
#        S1.Value = t
#        Close
#
#    End If
#End Function
#
#####################################################

    I don't know whether I am doing the right thing. All I want to do is to
create a page with a text box and a button which opens a text file and
assign it to the text box, and later on, put that page on my web-site

Thanks All

Dana




Sat, 09 Mar 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Open File Dialog in DHTML

2. invoke the Open file dialog box in DHTML

3. invoke the Open file dialog box in DHTML

4. Common Dialog's File Open dialog question

5. Open a file open dialog in Project

6. opening a browse or file open dialog

7. Open File Dialog not showing Files

8. selecting multiple files with file open common dialog?

9. Open file dialog box and upload file

10. DHTML Dialog Designer for VB

11. IE.App-DHTML Dialogs - Accessing HTML Element Styles

12. Dialogs/Message Box appearing behind IE window in VB DHTML

 

 
Powered by phpBB® Forum Software