-
I'm currently working on a program that can read .txt and .rtf files. If you open a file from the open dialog in the program, it shows how cool VB can be...
Recently I found out how to register file types. So I registered .txt and .rtf to my program with the command "**prog. path + exe** %1". But then I tried to open a file and nothing happened. My program showed up with nothing in the RichTextBox...
------------------
Doomstar
http://come.to/Doomstar
-
you need to add this command to the on load sub of your form
If Command$ = "" Then
'if no file are loaded
Else
'load up - file
End If
-
It worked! Thanks!
------------------
Doomstar
http://come.to/Doomstar