Cool Visual Basic
 
Main
Frequently Asked Questions
VB Helpdesk
Message Boards
Library
Downloads
View Guestbook
Add to Guestbook
Product Reviews
Bookstore
Links
Newsgroups
Vendors
Affiliates
Cooltech.org

Cool VB FAQ


Text Format

The best Visual Basic FAQ(Frequently Asked Quesitions) file on the internet. Do you have a problem that's got you stumped? Do you have the answer to one? We've done our best to make this the best resources for the questions and the answers. Post a question, or a answer to one, by sending email to VBQA@beadsandbaubles.com.

      Root

            Controls

  • How can I include a ampersand inside a control?

    Compatibility:VB3  VB4  VB5

    As you no doubt noticed, VB automatically converts ampersands to undescores. To fix this, use a double ampersand in place of a single ampersand.

     

     

  • Can I create a label that is vertically oriented?

    Compatibility:VB3  VB4  VB5

    Sure. Try this:

    dim s as string
    	
    for i = 1 to len(label1)
    	s = mid$(label1,i,1) & vbcrlf ' Replace vbcrlf with chr$(13) & chr$(10)
    next
    
    label1 = s
    

     

     

  • I have a Tab control on my form. If I start with tab # 1 selected, my controls disapear. What gives?

    Compatibility:VB3  VB4  VB5

    That's a definite bug.

    It should be fixed if you get DevStudio service pack 1. However, the easier fix is simply to always start on tab 1.

     

     

    LinkExchange
    LinkExchange Member Free Home Pages at GeoCities


    Copyright 2000, David J Berube<Form1@aol.com>. All Rights Reserved.