Results 1 to 3 of 3

Thread: Form manipulation via Process

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2005
    Posts
    21

    Form manipulation via Process

    Does anybody know how to manipulate the attributes of a form (Visibility, Minimize, Maximize, etc.) when you have the process. For example:

    Dim proc() As Process = Process.GetProcessesByName("notepad")
    If proc.Length > 0 Then
    Dim p As Process = proc(0)
    'How do I get control (if possible) to be able to manipulate the form and
    'or send form events to it?
    End If

  2. #2
    Hyperactive Member The_Duck's Avatar
    Join Date
    May 2005
    Location
    Leamington, UK
    Posts
    351

    Re: Form manipulation via Process

    This article: here should get you started

  3. #3
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Form manipulation via Process

    here is an example.

    The only thing it doesn't do, is if you set the window to invisible, its still running as a process in the background, and you can't make it visible again. (you need to end the process)

    I am sure there is a way to do it, however I don't have time to mess around with it at the moment..
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width