-
Ok, i am trying to make an Open dialog box to open a file.. and put it on to the form i have:
CommonDialog1.InitDir = App.Path & "\Blarb\"
CommonDialog1.filename = ""
CommonDialog1.Filter = "Blar (*.blah)|*.blah"
CommonDialog1.ShowOpen
And i can't figure out how to make it open the file that they have selected..
the File info has been saved as the following:
Text1.tag,Text1.caption,text1.value, text1.tooltiptext
then the text2.tag, Ect
And also..
how do u make a Button Copy ALL the text from text1.text???
Thanks
-
Not sure if this is what you want it:
CMDialog does not open a file but select it. You can open it via:
open CMDialog1.Filename for input as #1
...
...
And the other thing:
sub Button1_Click()
Clipboard.clear
clipboard.settext(text1.text)
end sub
Björn
------------------
EMAIL: [email protected]
PAGE: <A HREF="http://members.xoom.com/sharetools
" TARGET=_blank>http://members.xoom.com/sharetools
</A>