Results 1 to 11 of 11

Thread: [RESOLVED] Main form doesn't show when I click on Notify Icon

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Feb 2016
    Location
    Tennessee
    Posts
    2,437

    Resolved [RESOLVED] Main form doesn't show when I click on Notify Icon

    I'm completely confused about something weird going on with my program working. My program stopped showing the main form for no apparent reason. Now here's the weird part. If I rename the folder, it starts working again???

    Can anyone tell me what's going on? I've never come across this before

    Any help greatly appreciated!



    Edit: I've cleaned the solution and rebuilt the project, but that doesn't help

  2. #2
    PowerPoster Poppa Mintin's Avatar
    Join Date
    Mar 2009
    Location
    Bottesford, North Lincolnshire, England.
    Posts
    2,423

    Re: Main form doesn't show when I click on Notify Icon

    Hi,

    I think we're going to have to see some of the relevant coding before we can suggest what the problem might be.


    Poppa.
    Along with the sunshine there has to be a little rain sometime.

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Feb 2016
    Location
    Tennessee
    Posts
    2,437

    Re: Main form doesn't show when I click on Notify Icon

    The code has not changed. It was working then stopped. It only started working again when I changed the name of the directory that the project is in...

  4. #4
    You don't want to know.
    Join Date
    Aug 2010
    Posts
    4,578

    Re: Main form doesn't show when I click on Notify Icon

    We don't have a crystal ball and we can't touch your machine. He asked for your code so we can try running it on our machines to see if we get the same behavior. You won't get results if you ride a bike to a mechanic shop and describe what your car is doing back at home.
    This answer is wrong. You should be using TableAdapter and Dictionaries instead.

  5. #5

    Thread Starter
    PowerPoster
    Join Date
    Feb 2016
    Location
    Tennessee
    Posts
    2,437

    Re: Main form doesn't show when I click on Notify Icon

    Thanks Sitten. But I'm positive that it will work on other people's machines. It's only an issue on my end. So I'll just mark this thread as resolved. Thanks for your input.

  6. #6
    PowerPoster Poppa Mintin's Avatar
    Join Date
    Mar 2009
    Location
    Bottesford, North Lincolnshire, England.
    Posts
    2,423

    Re: Main form doesn't show when I click on Notify Icon

    Quote Originally Posted by jumper77 View Post
    The code has not changed. It was working then stopped. It only started working again when I changed the name of the directory that the project is in...
    Did you also make a new shortcut when you changed the folder the .exe file is in ?


    Poppa.
    Along with the sunshine there has to be a little rain sometime.

  7. #7

    Thread Starter
    PowerPoster
    Join Date
    Feb 2016
    Location
    Tennessee
    Posts
    2,437

    Re: [RESOLVED] Main form doesn't show when I click on Notify Icon

    I renamed the project folder to it's original name and created a shortcut for the solution file, but the program still doesn't work with the original folder name

    thanks for the reply

  8. #8
    PowerPoster Poppa Mintin's Avatar
    Join Date
    Mar 2009
    Location
    Bottesford, North Lincolnshire, England.
    Posts
    2,423

    Re: Main form doesn't show when I click on Notify Icon

    Quote Originally Posted by jumper77 View Post
    Thanks Sitten. But I'm positive that it will work on other people's machines. It's only an issue on my end. So I'll just mark this thread as resolved. Thanks for your input.
    Bit of a waste of time then !
    Along with the sunshine there has to be a little rain sometime.

  9. #9

    Thread Starter
    PowerPoster
    Join Date
    Feb 2016
    Location
    Tennessee
    Posts
    2,437

    Re: [RESOLVED] Main form doesn't show when I click on Notify Icon

    Thanks

  10. #10
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,532

    Re: [RESOLVED] Main form doesn't show when I click on Notify Icon

    Not sure what a NotifyIcon has to do with Shortcuts or Folders, so I don't see how changing the folder is relevant... so there's something fishy going on.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  11. #11

    Thread Starter
    PowerPoster
    Join Date
    Feb 2016
    Location
    Tennessee
    Posts
    2,437

    Re: [RESOLVED] Main form doesn't show when I click on Notify Icon

    Thanks tg. About the notify icon, I only meant that using the original folder name clicking the icon would not show the form (which is what it's supposed to do). But when I rename the folder, it does.

    I really don't think there's an answer for this. It may be an issue with Visual Studio? I really don't know.

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