CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: ShowInTaskbar

  1. #1
    Join Date
    Jun 2001
    Location
    Switzerland
    Posts
    4,443

    ShowInTaskbar

    Hi all.

    I have a data environ. EXE project set to start w/ Sub Main. The code in Sub Main is:

    public Sub Main()
    Dim szConnString as string
    szConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\DB.mdb;Persist Security Info=false"
    envMain.conPool.ConnectionString = szConnString
    frmMain.Show vbModal
    End Sub




    frmMain has ShowInTaskbar set to True, but it does not show in the taskbar. Does anyone know why?

    TIA,

    Gabriel.
    _
    Forever trusting who we are
    And nothing else matters
    - Metallica
    _
    Gabriel, CodeGuru moderator

    Forever trusting who we are
    And nothing else matters
    - Metallica

    Learn about the advantages of std::vector.

  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: ShowInTaskbar

    Because you show it as modal form.

    Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris
    and all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

    The Rater
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

  3. #3
    Join Date
    Jun 2001
    Location
    Switzerland
    Posts
    4,443

    Re: ShowInTaskbar

    In the meanwhile, I've noticed that. I'm actually a C++ programmer, and sometimes VB "hides" too much for my taste. anyway, thanx, pal.

    Gabriel.
    _
    Forever trusting who we are
    And nothing else matters
    - Metallica
    _
    Gabriel, CodeGuru moderator

    Forever trusting who we are
    And nothing else matters
    - Metallica

    Learn about the advantages of std::vector.

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

Featured