Click here to Skip to main content
15,302,455 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
VB
Private Sub Form_Load()

    frmmain.Visible = False
    cdlC.Flags = cdlCFBoth
    lUpdateOK = False
    lMenuWasUp = False
    Call OpenDatabaseMaster
    
End Sub


Equivalent in vb.net for cdlC.Flags = cdlCFBoth
Posted
Updated 3-Jan-12 4:46am
v2
Comments
Wendelius 3-Jan-12 10:46am
   
Pre tags added

1 solution

Are you referring to a font dialog? If that's the case, in .Net there's FontDialog Class[^].

As far as I know there's no direct equivalent for cdlCFBoth but you can exclude for example vector fonts or vertical fonts if needed.
   
Comments
Tony Radu 3-Jan-12 11:35am
   
yes refering font dialog, in vb6 it is refering commondialogue.Flags = cdlCFBoth

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900