-
Aug 22nd, 2017, 08:35 AM
#1
Thread Starter
PowerPoster
[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
-
Aug 22nd, 2017, 08:50 AM
#2
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.
-
Aug 22nd, 2017, 08:52 AM
#3
Thread Starter
PowerPoster
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...
-
Aug 22nd, 2017, 09:32 AM
#4
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.
-
Aug 22nd, 2017, 09:34 AM
#5
Thread Starter
PowerPoster
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.
-
Aug 22nd, 2017, 09:37 AM
#6
Re: Main form doesn't show when I click on Notify Icon
Originally Posted by jumper77
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.
-
Aug 22nd, 2017, 09:42 AM
#7
Thread Starter
PowerPoster
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
-
Aug 22nd, 2017, 09:48 AM
#8
Re: Main form doesn't show when I click on Notify Icon
Originally Posted by jumper77
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.
-
Aug 22nd, 2017, 09:49 AM
#9
Thread Starter
PowerPoster
Re: [RESOLVED] Main form doesn't show when I click on Notify Icon
-
Aug 22nd, 2017, 10:09 AM
#10
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
-
Aug 22nd, 2017, 10:25 AM
#11
Thread Starter
PowerPoster
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|