troubleshooting Question

Simple Visual Basic How To

Avatar of Computer Guy
Computer Guy asked on
Visual Basic.NET
3 Comments2 Solutions301 ViewsLast Modified:

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?
Mike Tomlinson
High School Computer Science, Computer Applications, Digital Design, and Mathematics Teacher
Join our community to see this answer!
Unlock 2 Answers and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros