Results 1 to 5 of 5

Thread: Triggering an event

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2006
    Posts
    6

    Question Triggering an event

    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...

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Triggering an event

    Moved from FAQ forum

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Triggering an event

    The EXE must be able to accept parameters that in turn invoke the form that you want. Is it your EXE?

  4. #4

    Thread Starter
    New Member
    Join Date
    Oct 2006
    Posts
    6

    Re: Triggering an event

    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....

  5. #5
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Triggering an event

    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width