Results 1 to 6 of 6

Thread: loading next form.

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2008
    Location
    UK
    Posts
    171

    loading next form.

    Hi,

    I've got a app that once loaded shows the next form and unload me so only the second form shows while first one is closed. Say the app is called blah.exe, is there any chance to change the process name to the name of the second form for example.

    In taskmanager it shows the program name(blah.exe) not the forms name, is there any way to change this? or change the process name to a different one while running.

    cheers, hope you understand.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: loading next form.

    You can rename the exe file like you could any other file right through Windows Explorer.

    Or, you can open the project and recompile it under a new exe name.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2008
    Location
    UK
    Posts
    171

    Re: loading next form.

    Quote Originally Posted by Hack
    You can rename the exe file like you could any other file right through Windows Explorer.

    Or, you can open the project and recompile it under a new exe name.

    Not at run time.

  4. #4
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: loading next form.

    Once the process has started that is the process. You can't rename it. You might be able to poke around in the stack/memory and find the name and attempt to change it but I would expect the application to crash after that.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: loading next form.

    Quote Originally Posted by Bountyhuntr
    Not at run time.
    That is correct.

    When it is idle, or you have the project open in design time is the only shot you have of accomplishing what you need to do.

    For what possible reason would you want, or need, to change it at run time?

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Nov 2008
    Location
    UK
    Posts
    171

    Re: loading next form.

    n/m i'll use a binder.

    cheers for fast replys, delete thread or w/e.

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