Results 1 to 3 of 3

Thread: commondialogue boxes and icons

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2000
    Location
    UK
    Posts
    164
    2 simple questions:

    1) How do I check if the user has clicked cancel in a common dialogue box, (I think it has something to do with vbCancel)?

    2) How do you give your compiled Vb program a custom icon

    thanks

    Alex

  2. #2
    Hyperactive Member marnitzg's Avatar
    Join Date
    Oct 2000
    Location
    South Africa
    Posts
    372
    1.
    Code:
    If CommonDialog1.FileName = "" Then Exit Sub
    2. Change the icon of the main form. This will be the icon of the compiled project

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2000
    Location
    UK
    Posts
    164
    Thanks!

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