Click to See Complete Forum and Search --> : Triggering an event
raja83v
Oct 24th, 2006, 07:28 AM
hello everybody,
i wrote a function for scheduling a particular task in .NET with C#.the problem i m facing is i m not able to call a particular form in a particular project. i m able to call only the .exe files.
how to do this....? can anyone solve my problem...
si_the_geek
Oct 24th, 2006, 10:15 AM
Moved from FAQ forum
mendhak
Oct 24th, 2006, 04:19 PM
The EXE must be able to accept parameters that in turn invoke the form that you want. Is it your EXE?
raja83v
Oct 25th, 2006, 12:15 AM
No..the EXE file does not accept any parameters...how to pass the parameters to an EXE file....but i need an particular form to be triggered in a task...so can u help me how to do tat.... :confused:
jmcilhinney
Oct 25th, 2006, 12:39 AM
It is up to the EXE to decide which form it displays. If it wasn't written in such a way as to provide a choice of which form to display then you cannot do it. Would you want to distribute your applications and have just anyone pick and choose forms from it to display whenever and wherever they felt like? Of course not. You write your applications to be used in a certain way, with the appropriate form displayed at the appropriate time. If you wanted to let anyone show any form at any time then you'd have created a library, and so would the author of the executable you're talking about.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.