VB programs have a Vista theme...

PHTech

Senior Member
Joined
Aug 21, 2006
Messages
588
Reaction score
0
Location
Witbank
Hi there...

Is there a way to apply a theme in any VB2008 program...? I want to make my VB programs to have a Vista-ish theme (like the glassy appearance IN the program). Is there a way how I can do it (if it is possible)...?

Or is there a way to style your VB2008 program to have another feel other than the normal forms colour scheme...?

Thanx...
 
why do people want to design apps to look like aero for xp its just dumb.
 
Yes its called vista.

haha... And if I want to use a "Vista-type" of appearance when a client's PC is running XP...???

Like running Media Player 11 on XP for Example... Media Player has that nice appearance, looks like glass, etc... but XP is still looking like XP... Understand...?
 
haha... And if I want to use a "Vista-type" of appearance when a client's PC is running XP...???

Like running Media Player 11 on XP for Example... Media Player has that nice appearance, looks like glass, etc... but XP is still looking like XP... Understand...?

i understand what you are trying to achieve from your first post, but i just dont see the justification for making an application bloated with lame controls in order to mimic the transparency of a form dialog window. Its a waste of resources and your time. Instead let xp handle the GUI, honestly if it has a "vista" bar or not is not going to make a difference.
 
and just to clarify its no vb 2008, is vb.net, vb 2008 denotes that it could be related to the previous vb implementations such as vb4,5,6.
 
i understand what you are trying to achieve from your first post, but i just dont see the justification for making an application bloated with lame controls in order to mimic the transparency of a form dialog window. Its a waste of resources and your time. Instead let xp handle the GUI, honestly if it has a "vista" bar or not is not going to make a difference.

I don't agree - make it as nice as possible, even on xp machines.

a lot of programs use better titlebars, buttons and progress bars/etc to make it look better.
 
I don't agree - make it as nice as possible, even on xp machines.

a lot of programs use better titlebars, buttons and progress bars/etc to make it look better.

Yes and all those programs are sluggish, and resource hungry. My point is not the appearance my point is the requirements for those changes. In order to make what he wants you either write your own custom control (easy) or you have to buy devexpress which is a few thousand rands. And devexpress is **** SLOW, we use it at work and i hate it
 
I don't agree - make it as nice as possible, even on xp machines.

a lot of programs use better titlebars, buttons and progress bars/etc to make it look better.

I also like the programs to have a nice look and feel... If it is resource hungry, then you can actually sell more RAM to the client as well... :D

I just wanted to know IF there is a way to do it or not. If you can make an app look better, why not, and how can I style my app...? I don't want to create dull looking apps, and then the first impession someone gets, is "it looks dull, will it even do the job right...?"
 
Yes and all those programs are sluggish, and resource hungry. My point is not the appearance my point is the requirements for those changes. In order to make what he wants you either write your own custom control (easy) or you have to buy devexpress which is a few thousand rands. And devexpress is **** SLOW, we use it at work and i hate it

I say code 'em from Scratch! :)

Well, I code in a language which I Guarantee nobody on this forum has even heard of, except for 1 person which is Farlig.Optreden. I can code basically any Control I can think of - my latest app has the Office Ribbon, coded from scratch, and I promise you wouldn't even be able to tell the difference! Window Transparency? no problem - FLStudio Knob type controls? why not!

If I can do it in some crappy language, then I don't think somebody like Farlig coding in something like .NET would have any sluggish performance related problems.

I agree on the titlebar though, let the OS handle that, but controls ain't a problem really - make 'em look how you want!
 
I say code 'em from Scratch! :)

Well, I code in a language which I Guarantee nobody on this forum has even heard of, except for 1 person which is Farlig.Optreden. I can code basically any Control I can think of - my latest app has the Office Ribbon, coded from scratch, and I promise you wouldn't even be able to tell the difference! Window Transparency? no problem - FLStudio Knob type controls? why not!

If I can do it in some crappy language, then I don't think somebody like Farlig coding in something like .NET would have any sluggish performance related problems.

I agree on the titlebar though, let the OS handle that, but controls ain't a problem really - make 'em look how you want!

What language are you refering too?
 
*blushes*

i'd rather not say semaphore. (and farlig - you keep your mouth shut!) just know that it isn't as powerful as .NET/C++/whatnot and I can still make an App look/feel like anything I want it to.

You said it yourself, coding controls is peanuts. dunno why you are experiencing performance hits though....?
 
I say code 'em from Scratch! :)

Well, I code in a language which I Guarantee nobody on this forum has even heard of, except for 1 person which is Farlig.Optreden. I can code basically any Control I can think of - my latest app has the Office Ribbon, coded from scratch, and I promise you wouldn't even be able to tell the difference! Window Transparency? no problem - FLStudio Knob type controls? why not!

If I can do it in some crappy language, then I don't think somebody like Farlig coding in something like .NET would have any sluggish performance related problems.

I agree on the titlebar though, let the OS handle that, but controls ain't a problem really - make 'em look how you want!

Controls are the things I actually am reffering to... The title-bar can have it's own feel a bit later on, but what is happening ON the forms AND how the forms look, is what count...! How do I create the nice controls you are reffereing to...? Is there a tutorial somewhere...?
 
well ok, my language is a bit different so the code will be too, but i'm sure you will understand. The key here is maths in some of the controls, others are easier.

i'm not sure what you can and can't do cause I don't code in your language but here's an example, maybe you can even optimize it, i'm just showing you "a way"

Custom Button:
1) Create Graphics of the button in photoshop (or download them? I dunno, I make them myself..)
2) insert bitmap object
3) create code, that when you hover over the image, it changes the graphic of the object to your "ButtonHover.jpg" file.
4) Create code that when you click on it, it changes the image to a clicked picture, and when released, back to the normal button picture. also run code from the actual button that you want it to do.

Slider Object:
1) insert a custom photoshopped slider as a bitmap object.
2) insert a custom photoshopped slider BUTTON ontop of that.
3) Basic code for when you click-down on button:
MinX = *X-Co-ordinate of the 0-value position of scroll button (Left)
MaxX = *X-Co-ordinate of the 100% position of scroll button (Right)
For i = 1 to infinity
MouseX = *get current mouse X position vbcode*
if MouseX < MinX
MinX = MouseX
end
if MouseX > MaxX
MouseX = MaxX
end
PercentageValue = (MouseX - MinX)/(MaxX - MinX)
Move Button to Correct position on screen (Using MouseX Value)
Refresh
Next i
4) when you release the mouse button:
-Exit Loop
-use "PercentageValue" as needed.


That isn't actual code - I dunno VB/.NET but that is one way using bitmap objects, hope you understand.

just use your brain and basic commands to move stuff around/etc - it's really easy, I just can't give you working code cause i don't know ur language...heh..
 
Last edited:
*blushes*

i'd rather not say semaphore. (and farlig - you keep your mouth shut!) just know that it isn't as powerful as .NET/C++/whatnot and I can still make an App look/feel like anything I want it to.

You said it yourself, coding controls is peanuts. dunno why you are experiencing performance hits though....?

Why are you using it if it is inferior? And why would someone be embarrassed for using a certain computer language, that is just silly. If you are coding whole GUI's, from scratch, with that language it can't be that bad...
 
Why are you using it if it is inferior? And why would someone be embarrassed for using a certain computer language, that is just silly. If you are coding whole GUI's, from scratch, with that language it can't be that bad...

well OK then...

It's called "Multimedia builder" and I would be dumbstruck if anyone here knew what that is, lol.....

I would recommend it to anyone who would wanna code as a hobby, as it's k@k easy to do A LOT of stuff! but If you wanna do it for a living, rather study a course on something the rest of the guys here are using...

does anyone else code their own controls and what are your techniques?

I think this is an awesome topic!
 
Top
Sign up to the MyBroadband newsletter
X