Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

VB 6.0 question

  • 19-02-2004 9:10pm
    #1
    Registered Users, Registered Users 2 Posts: 1,182 ✭✭✭


    Need to write an application (in vb 6.0) in which its only window will remain on screen regardless of any other applications running. For example the program is called at startup and remains visible on screen at all times despite the user opening any other app. Anybody got any ideas?? Thanks in advance...


Comments

  • Closed Accounts Posts: 94 ✭✭boo-boo


    off the top of my head, I haven't enough time to check it out , but can you use the Modal keyword when showing a form ? If you can that'll do the trick I think


  • Registered Users, Registered Users 2 Posts: 1,182 ✭✭✭Beef


    Yeah but will that prevent the user from being able to open/use the applications behind my app until the modal window is destroyed? Sorry I should have said that initially. All programs must remain functional also...


  • Registered Users, Registered Users 2 Posts: 7,786 ✭✭✭slimjimmc


    Check out this link http://vbhelp.info/kb/kb0080006 for some sample code.

    It uses the Windows API to make a form stay on top of above all other apps and prevents users resizing or moving it.


  • Registered Users, Registered Users 2 Posts: 1,182 ✭✭✭Beef


    Worked a treat! cheers slim... ;)


Advertisement