Results 1 to 10 of 10

Thread: Why is my program not showing in the taskbar? *RESOLVED*

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2002
    Posts
    52

    Why is my program not showing in the taskbar? *RESOLVED*

    All the forms are set to "ShowInTaskbar=true" and I don't have any funky API calls or any advanced code for that matter. It's just a simple program used to make my life easier and it's not even showing up in the taskbar (either in project form or .exe form). I can't figure it out - I've checked the properties of every form and it's stumping me :S
    Last edited by homncruse; Aug 6th, 2003 at 07:32 PM.

  2. #2

  3. #3

    Thread Starter
    Member
    Join Date
    Mar 2002
    Posts
    52
    They are all set to "2 - sizable"

  4. #4

  5. #5

    Thread Starter
    Member
    Join Date
    Mar 2002
    Posts
    52
    All false.

  6. #6
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Are you calling the form from a Sub Main, and showing it as modal?
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  7. #7

  8. #8

    Thread Starter
    Member
    Join Date
    Mar 2002
    Posts
    52
    Yes, it is calling from sub Main() - how would I go about using Sub Main and still get a taskbar entry?

    VB Code:
    1. 'Below are constants for common HTML tags
    2. Public Const p As String = "<p>"
    3. Public Const b As String = "<b>"
    4. Public Const br As String = "<br>" & vbCrLf
    5. Public Const cp As String = "</p>"
    6. Public Const cb As String = "</b>"
    7.  
    8. Option Explicit
    9.  
    10. Sub Main()
    11.  
    12.     Load frmMain            'Loads the form into memory
    13.     frmMain.Show vbModal    'Shows the main form and waits
    14.     End                     'Ends the program
    15. End Sub

  9. #9
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Don't use vbModal, and don't use End. There should be no need for either.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  10. #10

    Thread Starter
    Member
    Join Date
    Mar 2002
    Posts
    52
    Originally posted by crptcblade
    Don't use vbModal, and don't use End. There should be no need for either.
    Sorry, force of habit. Thanks for the help everyone!

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