VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



How to open a file in your BV program (executable) from windows browser

by Iv¨n Gavancho Reinaga (1 Submission)
Category: Files/File Controls/Input/Output
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 22nd April 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)

How to open a file in your BV program (executable) from windows browser

Rate How to open a file in your BV program (executable) from windows browser



' (rigth click : open with...)


Sub Main()
SourceFile = Command()
SourceFile = Replace(SourceFile,Chr(34),"") 'in order to remove the ""
If Len(SourceFile) > 0 Then
    'Call here to your procedure or function than opens the filename...
    'Enjoy it..
End If

End Sub

'Thats all, no API, no Activex...

Download this snippet    Add to My Saved Code

How to open a file in your BV program (executable) from windows browser Comments

No comments have been posted about How to open a file in your BV program (executable) from windows browser. Why not be the first to post a comment about How to open a file in your BV program (executable) from windows browser.

Post your comment

Subject:
Message:
0/1000 characters