Running an exe automatically - form invisible


Author
Message
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
I have a small app(not strataframe, plain vanilla c#) which does some updating and consists of just one form with a few buttons. This exe is also set up to run automatically, which is controlled by means of a parameter passed in e.g. MyExe "1". If I just run a MyExe without the parameter, I want the form to appear so I can click a few buttons. if I run MyExe with the parameter, i just want the form to run stuff on one of the buttons. I have this all working. My problem is that , when I run in unattended mode, the form itself does not display on the screen. The form runs ok but I cant see what its doing. I know when the form is up and running there is no benefit to be able to 'see' the form (as it will be running in unattended mode)  but at this stage I would like to see the form and its associated messages. If I was doing this in VFP, I would have a MyForm.Show.

Is there something similar I need to do , to get visibility of the form ?

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search