473,387 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Starting a process, controling the window

I would like to be able to start a process, but then maintain some control
over the window it creates. (Size, position, always on top, etc.)

Can't seem to locate documentation on this one. Can anyone point me
somewhere? Thanks.

(The ultimate goal would be the ability to make an external program behave
as if it was an MDI child in my program.)

--
--Zorpie
Feb 6 '06 #1
2 1118
jvb
Zor,

See if this helps...

Dim frmNew as New MyForm

MyForm.TopMost = True
MyForm.Size = New System.Drawing.Size(<width>, <height>)
MyForm.Location = New System.Drawing.Point(<x>, <y>)

MyForm.MDIParent = Me

MyForm.Show()

Feb 6 '06 #2
Thanks, but I'm trying to control an external process' window, not a form
that is native to my program.

--
--Zorpie
"jvb" wrote:
Zor,

See if this helps...

Dim frmNew as New MyForm

MyForm.TopMost = True
MyForm.Size = New System.Drawing.Size(<width>, <height>)
MyForm.Location = New System.Drawing.Point(<x>, <y>)

MyForm.MDIParent = Me

MyForm.Show()

Feb 6 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Saso Zagoranski | last post by:
Hi! I'm trying to run a decryption utility (des), which needs the following parameters: -D-u -k "key" input.file output.file If I run this from the command-prompt it works but when I try to...
3
by: Just close your eyes and see | last post by:
i am trying to run a process through that code Process.Start("myApllication.exe"); but the command prompet window opens while starting of the process i want to delete this effect how ? thx all
8
by: Mike | last post by:
Inside a HttpHandler I'm trying to spawn an EXE (console app). Although it shows up in the process list, it doesn't seem to do anything. (And even if I specify ProcessWindowStyle.Normal, it doesn't...
1
by: abcd | last post by:
I am using Python to create a process on another computer. Both computers are on the same domain with admin privileges. On computer B I have a batch script which starts a python script. From...
0
by: cvetomir.todorov | last post by:
We have an app which must be single instance. When we start the app we check if it is already running (using the Process object in the System.Diagnostics namespace) locating it by the name of the...
4
by: Zorpiedoman | last post by:
dim FileName as string = "Test.doc" dim P as Process = Process.Start(FileName) '--P is NOTHING even though document opens!!! dim Q as new process Q.StartInfo.FileName = FileName P = Q.start...
1
by: Tombo | last post by:
I've been studying this solution, yet can not duplicate. http://www.thescripts.com/forum/thread351439.html I have a form with a single button. When the button is clicked, I want Internet...
0
by: Dominic | last post by:
Every thing work fine when I am not starting process as another user. When I am starting process as another user, the authentication is working (I can see it in my workstation security log), but...
0
by: sigsik | last post by:
Hi, I'd like to run an executable process without the need to be logged on to the computer. that is why i want to run it as a window service. The executable opens a form (ui) that does not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.