How to add program to Explorer Contextmenu correctly? - VB . NET

Asked

Viewed 19 times

1

I managed to add my program to the Xplore menu successfully, but now I can’t get the information about whether the user started the program normally or from the explorer.

I even found this code: Dim Arguments() As String = Environment.Getcommandlineargs()

    If Arguments.Length >= 2 Then
        MsgBox('explorer')
    End If

But as I am in Windows Forms, the builder is not him... Would anyone know how to do this check?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.