jhwkgirl 12-04-2002, 10:08 AM I have my forms set to ShowInTaskbar = true but when I compile and install the program as an .exe file, my program doesn't appear in the menu at the bottom of my desktop. What am I doing wrong? Help!!
jhwkgirl :confused:
dexmix 12-04-2002, 10:43 AM Show in task bar doesnt mean add a shortcut to the start menu
jhwkgirl 12-04-2002, 10:44 AM and how would someone do that?
Ptchaopr 12-04-2002, 10:44 AM Does the program show up in task bar when you just run it in VB? Post your project source code here so we can see what's going on.
jhwkgirl 12-04-2002, 10:48 AM it is in the taskbar at run-time but not in the start menu at the bottom of the desktop. didn't know if there was a short trick to fix this.
dexmix 12-04-2002, 10:48 AM you need to create an install package... useing the package and deployment wizard, or windows installer. when your makeing the installer, you can set it ti add a shortcut to the start menu. That way when you actually 'install' your program, it puts its shortcut in the start menu.
jhwkgirl 12-04-2002, 10:50 AM I did use the deployment wizard. I saw that and thought it meant to add a shortcut within the Start menu not a window box at the bottom of the screen
Ptchaopr 12-04-2002, 10:52 AM In the start menu? That would definitely fall under the package & deployment wizard just like what dexmix said. You could also manually create a short cut for your exe in the menu. I'm still not certain if that's what you are talking about. Are you also referring to the system tray??
Ptchaopr 12-04-2002, 10:54 AM Can you post a picture of what the "window box" are you referring to? What windows version are you using?
Are you talking about Windows Toolbar???
jhwkgirl 12-04-2002, 11:08 AM attached picture
Ptchaopr 12-04-2002, 11:17 AM Hmm...maybe you should have circled the portion of the bar you are referring to. I'll assume it's windows Toolbar that you want your program to show up. Tell me if that's what you want. If it was adding to the system tray, then I can help.
dexmix 12-04-2002, 11:19 AM are you talking about the quick launch bar?
jhwkgirl 12-04-2002, 11:20 AM No, after the quick launch.......where Inbox and folder and Assignment windows are.
jhwkgirl 12-04-2002, 11:21 AM here
dexmix 12-04-2002, 11:21 AM ah... so it should only show up while your program is running.
Ptchaopr 12-04-2002, 11:25 AM Hmm..so it's the task bar that you are talking about. Setting the Showintaskbar = true should definitely make your program show up during the vb run-time as well as in the compiled version run-time.
Perhaps you can post the source code here? I'll compile it myself and then run it. I don't see why you would have that problem if you can see the program running during the vb run-time.
jhwkgirl 12-04-2002, 11:31 AM it has nothing to do with the source code and NO ShowInTaskbar isn't making it show up there.
dexmix 12-04-2002, 11:33 AM well you got the right property... the only thing i can think of is if you dont have it set for an MDI form
Ptchaopr 12-04-2002, 11:46 AM Let me rephrase: No it's not the source code that's having a problem, it's the settings you have on your project. Perhaps it's the MDIChild property, but that would give you an error to start with. I understand if you don't want to post your project here, but not much else I can help with other than suggesting that you check all your properties again. Maybe create a simple program as a new project and try if the same problem occurs.
jhwkgirl 12-04-2002, 11:49 AM It is the MDI child thing that is the problem, thanks dexmix....but Now that I have done that the individual forms will not center in the MDI form. HELP!!
jhwkgirl 12-04-2002, 11:50 AM it says that center screen StartupPosition propery is an invalid property value.
Ptchaopr 12-04-2002, 11:51 AM Try setting the StartUp position property to CenterOwner.
jhwkgirl 12-04-2002, 12:02 PM still gives the same error.
dexmix 12-04-2002, 02:16 PM yeah its restricted... you have to do it manually
for every child form you need
Private Sub Form_Load()
Me.Top = (MDIForm1.ScaleHeight - Me.Height) / 2
Me.Left = (MDIForm1.ScaleWidth - Me.Width) / 2
End Sub
jhwkgirl 12-04-2002, 02:49 PM I used this:
frmAuth.BorderStyle = 1
frmAuth.ScaleMode = 3
frmAuth.Left = (frmMDI.ScaleWidth / 2) - (frmAuth.Width / 2)
frmAuth.Top = (frmMDI.ScaleHeight / 2) - (frmAuth.Height / 2)
and got it to work. Now, what is the point of MDIchildren? They seemed to interfere with my axsResizer so I turned the children option to false, all except the initial logon screen. That seemed to work as well. Regardless, it seems to be fixed. Thanks for all your help!
jhwkgirl
|