Sign in to follow this  

VB Code Mistake

Recommended Posts

This code: Private Sub cmdSave_Click() CommonDialog1.ShowSave Open CommonDialog1.FileName For Ouput As 1 (ERROR HERE) Print #1, Text1.Text Close 1 End Sub I am trying to make a save dialog but the 3rd line down causes problems. The error says: Expected Input or Output or Append or Binary or Random I'm unsure what this means and what I should add to my code, could somebody please help. Thanks!!!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this