Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with commondialog.showfont

Status
Not open for further replies.

wraygun

Programmer
Dec 9, 2001
272
US
On a clean install of Windows ME and Visual Studio 6.0 SP5, when I use commondialog.showfont, VB tells me there are no fonts installed and throws an error, however if I use MS Word, or wordpad, the font dialog works fine from there. I've never experienced this with VB in the past. Any input will be appreciated.

Thanks,
WrayGun

***You can't change your past, but you can change your future***
 
It turns out the Flag property must be set to 1, 2, or 3. I guess it defaults to 0. Hope this helps someone.

***You can't change your past, but you can change your future***
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top