VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

How to open a file with one line of code

Nick Pordash  (1 Submission)   Files/File Controls/Input/Output   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

You create a funtion that can open a file with just one line of code.

Inputs
Form is your Form, RichTextBox is your RichTextBox, and Commondialog is your Commondialog.

Assumes
This code requires a Commondialog and a RichTextBox.

Returns
The file you just open in the richtextbox you picked.

API Declarations

Rate How to open a file with one line of code (38(38 Vote))
How to open a file with one line of code.bas

How to open a file with one line of code Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters