Link to home
Start Free TrialLog in
Avatar of Computer Guy
Computer Guy

asked on

Simple Visual Basic How To

Hi,

I have an application that will have 3 forms plus the main application.

The main application will have a file menu

The file menu will contain:
Add Record
Search Record
Print Record

When the main application opens, the user will be prompted to enter a filename to open via StreamReader and will have an input box.

What is the best way store that file name in a variable so when I click file so I can open another form, I will be adding a record to that file, or searching. So where can I store that file name?

ALSO: How can I copy a form and It's code to another application?
ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Computer Guy
Computer Guy

ASKER

Great!