[dba-VB] Button Images - Where to Find?

Shamil Salakhetdinov shamil at smsconsulting.spb.ru
Wed May 11 04:32:17 CDT 2011


Hi Dan --

For left- and right- arrow buttons you might try the following "trick":

- create winform/usercontrol and bind it to a datasource - you'll get
{{DataSetName}}_BindingNavigator.

Now you can export button images into .png format from that
BindingNavigator's resource file, which will be part of hosting
winform/usercontrol resource file -
{{WinFormName/WinFromsuserControlName}}.resx - just open resource file using
designer, right-click button image, select 'Export To File...'...

Here is xml of MovePrevious button's resource (JFI):

  <data name="bindingNavigatorMovePreviousItem.Image"
type="System.Drawing.Bitmap, System.Drawing"
mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
 
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACx
jwv8
 
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAL1JREFUOE9j
YBgy
 
ILz9wX+yHRvf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w5sxZ//97lZ4gzYDQ1ntgza3rgLZ3
/v3v
 
kn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ14A0ChbVd8+3/6nN///bu+/dcpfPffImE9aQaA
DNFP
 
Of/fpOjFf5WsT/+NI5eRbgDIEIOkE/9l077+1w2eR54BYJekXv6v4TuNfANAhqh4TKDMALKTMc01
AgDQ
        FGCYkuTLEQAAAABJRU5ErkJggg==
</value>
  </data>
 

Thank you.

--
Shamil
 
-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Dan Waters
Sent: 11 ??? 2011 ?. 0:49
To: 'Discussion concerning Visual Basic and related programming issues.'
Subject: [dba-VB] Button Images - Where to Find?

In .Net for windows form is there a standard set of images for buttons like
Access has?  I'd hate to have to create left arrow and a right arrow images.

 

Thanks!

Dan

 





More information about the dba-VB mailing list