I want to know how can i open some text file data using microsoft common dialog control.6 I know how to save text data using microsoft common dialog control.6
code are here,
[CODE=vb]cdlfiles.filter ="files(*.srt)\ *.ami"
cdlfiles.Defaul tExt="str"
cdlfiles.dialog Title="save str notepad file"
cdlfiles.Dialog Titel=cdlOFNOve rwritePrompt + cdlOFNPathmuste xist
on Error GoTo e
cdlfiles.showsa ve
Open cdlfiles/FileName for Output As #1
Print#1,Text1.T ext
close 1
Exit Sub
e:
Resume Exitline
Exitline:
Exitsub
end sub[/CODE]
please give me open code using microsoft common dialog control.6
code are here,
[CODE=vb]cdlfiles.filter ="files(*.srt)\ *.ami"
cdlfiles.Defaul tExt="str"
cdlfiles.dialog Title="save str notepad file"
cdlfiles.Dialog Titel=cdlOFNOve rwritePrompt + cdlOFNPathmuste xist
on Error GoTo e
cdlfiles.showsa ve
Open cdlfiles/FileName for Output As #1
Print#1,Text1.T ext
close 1
Exit Sub
e:
Resume Exitline
Exitline:
Exitsub
end sub[/CODE]
please give me open code using microsoft common dialog control.6
Comment