Friday, July 31, 2009

How do i open a file in a program i made with visual basic?

I made a text editing program and i want it to be able to save and open files. i have the savefiledialog and oenfiledialog things and the buttons that display them, but when i click ok, it doesnt do anything. Also when i print it, it jsut prints a blank page. Any ideas?

How do i open a file in a program i made with visual basic?
It sounds like you haven't assigned function to the events triggered after the open and save dialogs. The save function would take the text that has been entered into your application, I'm assuming either a text box or a richtext box and output it to a file as a stream. The load function would take an existing file as a stream and output the stream to a control in your application.


No comments:

Post a Comment