C# - opening process and changing window position
Posted
by bartq
on Stack Overflow
See other posts from Stack Overflow
or by bartq
Published on 2010-06-13T12:41:04Z
Indexed on
2010/06/13
12:52 UTC
Read the original article
Hit count: 151
c#
I want to open from c# an application (standalone flashplayer) and set it position to (0,0) on the screen. How can I do this? So far I've managed to open flashplayer:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace swflauncher
{
class Program
{
static void Main(string[] args)
{
Process flash = new Process();
flash.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
flash.StartInfo.FileName = "D:\\development\\flex4\\runtimes\\player\\10\\win\\FlashPlayer.exe";
flash.Start();
}
}
}
© Stack Overflow or respective owner