Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Programming. | 3 guests |
Acmlm's Board - I2 Archive - Programming - Bah. Why must XP be stupid? | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 45/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Well I wrote up a VB program, and couldn't help noticing its interface was ugly. So I figured why not add XP's themed ontrols? So I did all that InitCommonControls() junk, made a manifest file, etc. All it does now is make that error sound and close. WTF? | |||
Jesper Busy, busy, busy. Level: 69 Posts: 46/2390 EXP: 2856000 For next: 13743 Since: 03-15-04 From: Sweden. Since last post: 176 days Last activity: 79 days |
| ||
I think there's an article on this on vbcity.com, in their FAQs section. | |||
dan Snap Dragon Level: 43 Posts: 6/782 EXP: 534516 For next: 30530 Since: 03-15-04 Since last post: 20 hours Last activity: 14 hours |
| ||
XP theming Visual Basic applications is a waste of time really. Some controls don't get themed properly, and it's never going to get a fix from Microsoft. I found a page on how to (probably) fix your crash: http://www.vbaccelerator.com/home/VB/Code/Libraries/XP_Visual_Styles/index.asp (edited by dan on 03-16-04 08:38 PM) |
|||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 53/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Hmm, I tricked VB into using themes and now I can at least see how it looks. It's nice, but there seems to be some problems with frames. Things don't draw right on them. I might have to remove all manner of frames. Damn. But I think I know why it wasn't starting up, and hopefully fixed it. (Haven't tried it compiled tho.) |
|||
Kenny3900 Newcomer Level: 6 Posts: 1/9 EXP: 659 For next: 248 Since: 03-15-04 Since last post: 576 days Last activity: 339 days |
| ||
Originally posted by HyperHacker After adding a frame, also add a PictureBox in the frame, and add the controls you originally want to put inside the frame in the PictureBox. Like this:
If you cancel out the border of the pic.box, you'll see the controls looks normally "inside" the frame. |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Programming - Bah. Why must XP be stupid? | | | |