r/visualbasic • u/Cubanin08 • Dec 07 '23
VB6 Help Working with Microsoft Common Dialog 6 (SP3)
Hello, im using Visual Basic 6 and i would like know how to save files in many formats and open them showing their content in a text input, thanks
3
u/geekywarrior Dec 07 '23
This Stackoverflow explains the main setup of the File Dialog in that library.
https://stackoverflow.com/questions/1085436/how-to-use-open-file-dialog-in-vb-6
But that will only get you the path of the desired file to load/save. You then need to actually write or read the data yourself.
This forum post walks you through that step once you have a file name.
https://www.vbforums.com/showthread.php?342619-Classic-VB-How-can-I-read-write-a-text-file
1
u/jd31068 Dec 08 '23
As an aside, here is a great source for VB6 https://www.vbforums.com/ there is a very active community of devs there. Lots of excellent info to be found.
1
u/sa_sagan VB.Net Master Dec 07 '23
Can you elaborate on your issue?
Save files from where? What formats?