PDA

View Full Version : Solved: vbExclamation in UserForm



compariniaa
07-18-2006, 11:00 AM
I'd like to include the vbExclamation picture (as in, msgbox "Example", vbExclamation) in a UserForm, but I don't know the path for its filename. Does anybody know?

oh yeah, I've already tried searching (hidden and system folders as well) for "critical" and "exclamation"

OBP
07-18-2006, 11:09 AM
Doesn't it put it in when you include the vbExclamation in your msgbox code?

Jacob Hilderbrand
07-18-2006, 11:13 AM
I am not sure where it is stored, but I would just take a screen shot of it, and attach it directly to the form.

compariniaa
07-18-2006, 11:27 AM
Doesn't it put it in when you include the vbExclamation in your msgbox code?
it does when i code for a msgbox, but i want it to show up on a userform. :dunno

DRJ, if i did that, would other users need to have that file on their computer? pictures in a userform is uncharted waters for me

lucas
07-18-2006, 12:14 PM
No it will travel with the file. see attached. it is a picture on a form with a button added.

compariniaa
07-18-2006, 12:32 PM
ok...then I guess that makes knowing where the file is useless. Thanks for all your help everyone :D

Marcster
07-19-2006, 10:53 AM
They reside in the dll file:
<system root> system32\user32.dll
I think.

Marcster.

compariniaa
07-19-2006, 12:39 PM
thanks marc!

ilyaskazi
07-19-2006, 09:20 PM
They reside in the dll file:
<system root> system32\user32.dll
I think.

Marcster.

Marc, you are correct. But how we should use to apply any of those image to userform ??

kylle200
02-20-2008, 05:37 AM
Yes...

Can any of you make it obvious for a newbie also?

thanks Carsten

lucas
02-20-2008, 10:55 AM
you have to do a screen capture of the image and then save it using a graphics program as a jpg.....then insert an image control in your userform and use the jpg you created.

Bob Phillips
02-20-2008, 11:30 AM
If it's in the dll Steve, you should be able to use a program like Icon Extractor to pull it out.

kylle200
02-20-2008, 12:36 PM
If it's in the dll Steve, you should be able to use a program like Icon Extractor to pull it out.

oh yeah. Very nice. Thanks guys!

lucas
02-20-2008, 06:27 PM
Thanks Bob, I guess I didn't exactly understand the problem. You could also do a screen capture on one you made from a msgbox as I understood from post #4