VB with Taskbar

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jayachandra
    New Member
    • Mar 2007
    • 49

    #1

    VB with Taskbar

    Hi to all,

    Here I am having a doubt. Is it possible to control the taskbar properties by using VB 6. My question is I want to hide the taskbar while running the Visual Basic at run time. Is it possible ? If so then please give me a small example.

    Thank you to all,
    Bye
  • Robbie
    New Member
    • Mar 2007
    • 180

    #2
    Hello. Do you mean you want to hide the little button which appears in the taskbar for your program when it runs, which by default has the VB6 icon and says "Form1" or such?
    If so, then yes, you can hide it.
    E.g. If the form's called Form1, do this:
    Form1.ShowInTas kbar = False
    ...and similarly, set it to True again to make it re-appear.

    If you mean you want to make the entire taskbar disappear, you'll probably need some more complex 'API calls', which I'm afraid I won't be able to help you with.
    (Someone else may be able to though ;) )

    Comment

    • hariharanmca
      Top Contributor
      • Dec 2006
      • 1977

      #3
      Originally posted by Jayachandra
      Hi to all,

      Here I am having a doubt. Is it possible to control the taskbar properties by using VB 6. My question is I want to hide the taskbar while running the Visual Basic at run time. Is it possible ? If so then please give me a small example.

      Thank you to all,
      Bye
      Will you be clear that you want to hide the task bar or Hide VB form in Task bar?

      Comment

      • Ali Rizwan
        Banned
        Contributor
        • Aug 2007
        • 931

        #4
        Originally posted by Jayachandra
        Hi to all,

        Here I am having a doubt. Is it possible to control the taskbar properties by using VB 6. My question is I want to hide the taskbar while running the Visual Basic at run time. Is it possible ? If so then please give me a small example.

        Thank you to all,
        Bye
        Hi
        If u want to do something like that in runtime ur form will appear on whole screen then instead of using API commads use splash screen.Set its windowstate to maximize it will appear on whole screen and taskbar will disappear.
        Try this.
        Attached Files

        Comment

        • Robbie
          New Member
          • Mar 2007
          • 180

          #5
          Originally posted by Ali Rizwan
          Hi
          If u want to do something like that in runtime ur form will appear on whole screen then instead of using API commads use splash screen.Set its windowstate to maximize it will appear on whole screen and taskbar will disappear.
          Try this.
          Of course, your example would only work properly on displays set to 1024x768. ^-'

          Comment

          • Jayachandra
            New Member
            • Mar 2007
            • 49

            #6
            Thank you for ur reply.

            Now my question is I want to make entire taskbar to disappear while I run VB form. If I close the form then it should be appeared.

            Comment

            • Jayachandra
              New Member
              • Mar 2007
              • 49

              #7
              Thank you for ur reply.

              If I run a splash screen, by using ALT + TAB I can shift to other Application. But I don't want to move. i.e. I want to disable the ALT+TAB functions at VB Runtime.

              Comment

              • Jayachandra
                New Member
                • Mar 2007
                • 49

                #8
                Thank you for your reply.

                I want to hide TaskBar.

                Comment

                • hariharanmca
                  Top Contributor
                  • Dec 2006
                  • 1977

                  #9
                  Originally posted by Jayachandra
                  Thank you for your reply.

                  I want to hide TaskBar.
                  Just reffer this thread

                  Enable/Disable Taskbar

                  Comment

                  Working...