Ah, well, I would suggest googling "XRC editor" and checking out SourceForge. There are a number of open source XRC editors available.
You should be aware, though, that XML isn't a picture file format. If you save a BMP in an XRC file it is still a BMP, just mime-encoded so that it can be handled as text. What that does, actually, is increase the size of your BMP file...
If you still want to do it, maybe it would be easier just to use one of those editors to add your BMP to a form, save it, then with a text editor just copy out the part with the saved image?
XRC is a file format used by wxWidgets programs to store the layout and arrangement of buttons and other widgets on a form. A program that uses wxWidgets can create a form using this resource format.
The file is an XML file. There shouldn't be any code in it at all.
Could you be more specific as to what you are trying to do?
I may have a similar issue. I am new to programming. I used DialogBlock to create a window with frames, buttons, etc. DialogBlock gives you the option to generate a code--and this is where the confusion comes into play. It looks as if the coding is either XRC or XML--I don't know enough to distinguish. The question is what to do with this code once I've obtained it.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...