Hi,
In my program, I have a menu option to open the Pocket PC Calculator program ("\Windows\calc.exe") which works fine, but I woud like to open it maximized so the user does not have access to the start button. Here is my current code:
'** Code Start ** (Visual Studio 2005, .Net Framework 2.0, Visual Basic Code)
imports system.diagnostics
imports system.io
...
Dim runCalc As New ProcessStartInfo()
runCalc.filename = "\Windows\calc.exe"
Process.Start(runCalc)
'** Code End **
One potential problem with running calc.exe maximized, though, is that the user will not be able to close the program as the "X" button will not be there. Any ideas on how to do this short of writing my own calculator program with a close button on the form
Thank you for you help!
-Corey

How to Maximize window when running external program?
mbaclawski
Thank you for the info, I appreciate your response!
Does anyone know of source code that is free and available for a calc application for the Pocket PC I don't want to write my own and take the time to test it, etc if there is one already out there. Maybe like an example file from Microsoft, etc. I have looked but have not found one yet.
Thank you,
Corey
darthziv
Perfect! Thank you, I appreciate yoru assistance!
-Corey
ForeverPuzzled
Unfortunately, the OS is not designed for this to be reliably possible. There are various techniques that might be tried, such as obscuring the start bar with a window that is on top of it, but the only reliable solution you will find is to write your own calculator application.
David Wrighton
.NET Compact Framework
Keren S
What about this sample http://msdn2.microsoft.com/en-us/library/besa58x7.aspx - written in VB.NET
Michael