launch picturebox

How do i create a vb program so that when executed, there is no form window but only a picturebox shown



Answer this question

launch picturebox

  • JoseVillalobos

    Using the designer set the form properties as follows:

    • Menu property to "None" and
    • WindowState to "Maximized"

    This will remove the menu and task bar.

    Manav



  • swapna_n

    You can't have both! You need resize controls without showing the toolbar and this is not possible. You can however add some event handlers such that if user clicks on the picture box - you can resize the window.

    Manav



  • Tilfried Weissenberger

    thanks for the tip.

    also, how do i remove the task bar and the button keys i only want to show the picturebox itself, and preferably a smaller size picturebox than the whole form size.


  • Tdar

    thanks.
    but now i cant resize the whole form. i'd like to show just the picturebox i have added on my form when i execute my app. how do i do it

  • DavidW57

    Drag and drop picture box onto the form and maximize it fill the entire form. Now when you run the application your form will be filled by the picture box.

    Remember - Form is the parent and will be present in your app.

    Manav



  • launch picturebox