Actually I solved this problem about a half an hour after asking you about that 😉 and It's pretty simple to implement....
///////////////////////////////////////////////////////////////////////////// // // PNG // IDB_PNG1 PNG "C:\\Path\\To\\Icons\\Folder\\Autocad.png"
Change "IDB_PNG1" according to the name you specified in your cui file.
Then save and build your project. Give the same name to the resulting DLL as your cui file has and put it in the cui folder. That's it! Should be working.... I find this method it's much more easier then using "Resource Hacker".
Actaully it's much easier than that, especially if you don't have C++.
Download XN Resource Editor and then open the DLL file attached for the format the icons must follow. Then name the DLL the same as your menu file( test.mnu and test.dll). In your menu file you call the icons by the name you give them in the DLL, so per my example DLL you would call the icon for Layer Isolate by LAYISO16.
Hope that helps,
Jim
Not using a resource DLL but this method seems to work with PNGs...
Within the CUIX file the [Content_Types].XML file exists (CUIX is just a zip file)... Make sure it understands that a PNG file is an image file by adding the line:
<Default Extension="png" ContentType="image/png" /> using a text editor.
Copy the PNG files so they are inside the CUIX.
Rename everything back to the way it was and restart AutoCAD*
This seemed to work for me. The PNG files cannot be seen in the Image Manager, but the ribbon buttons seem to work now... My CUIX is a partial CUIX being added using the Autoloader. I like that the images are embedded in the CUIX... very clean.
Why not copy a base Icon menu renaming it to you want, go into it, delete what you don't want and add components you do? There is a Icon Menu Modifying tool under the schematic tab on the far right (sorry out of town and VPN tunneling isnt working from the hotel to get a network license and give you screen shots).
Hello
I know, but i don't find this *.rc file in the Visual Studio. It's because it is an Express Version?
4. Go back to "Solution Explorer" tab, expand "Resource Files" folder, find there *.rc file, right click on it -> "View Code". Find there your icons paths, they will look something like this:
Kind regards
Are you showing all files?
I have it!
Now i have just one more Problem!
How i build my Project? Because i have a lot of Errors.
Please Help...