views:

19

answers:

0

I Am using vs10. I have the processid and the title of the window that is running. How do i do formborderstyle.none to that window. oops EDIT::::The window that i want to edit is the one that opens from Shell("....") here is my code so far.

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    AppActivate("HTWBTA")
    SendKeys.SendWait("move")
    SendKeys.SendWait("{ENTER}")
End Sub
Dim HtwPID As String

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Dim HTW_OPEN
    HTW_OPEN = Shell("HTWumpusFunc", 1)
    HtwPID = HTW_OPEN
End Sub

End Class