How to open a vbp file from visual basic application
Posted on 2002-06-19
This must be simple, but i dont seem to get it right?
I have an application which has to open the source code of any application(ie will open a vbp file).
I have a TextBox (say text1) on the form which shows the path of the vbp project.
Now at the click of a CommandButton, I write the following code:
Private Sub Command1_Click()
'it gives me an error at this call procedure, saying "Invalid procedure call or argument"
Call Shell(Text1, vbMaximizedFocus)
But if i open an exe it works fine. I know I am missing something, anybody who can tell me what?