Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
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
Posted on 03-17-04 12:27 AM Link | Quote
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
Posted on 03-17-04 01:28 AM Link | Quote
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
Posted on 03-17-04 05:33 AM Link | Quote
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
Posted on 03-17-04 06:39 AM Link | Quote
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
Posted on 03-18-04 12:29 PM Link | Quote
Originally posted by HyperHacker
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.



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:


_____________________________
| Frame |
| ________________________ |
| | PictureBox | |
| | [Controls] | |
| | [Controls] | |
| | [Controls] | |
| | [etc.] | |
| |________________________| |
|_____________________________|


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? | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.006 seconds.