Visual Studio Issue

B5262118b588a5a420230bfbef4a2cdf
0
Stainless 151 Mar 19, 2012 at 11:05

I am in the process of porting “Winnie The Pooh”, …. please don’t laugh… it’s work …

They use bespoke file formats for everything, which I have hacked. I have a tool that extracts all the graphics and saves them as nice clean PNG files.

My problem is that when I add them to my visual studio project, it opens them with paint.net

This may not seem to be an issue, but when you add 220 graphics at once it bricks my machine.

Does anyone know of a way of stopping VS opening files automatically?

This is really annoying.

Cheers guys

2 Replies

Please log in or register to post a reply.

6837d514b487de395be51432d9cdd078
0
TheNut 179 Mar 19, 2012 at 21:05

I haven’t used the VC++ resource editor in a while (I prefer a 3rd party tool), but I don’t recall adding bitmaps would open them automatically. It would only show the most recent one in the IDE icon/palette editor. I know if you double click on an item it will load it in the default editor. Perhaps you have to set a configuration option (see tools / options) or disable MIME support in Paint.NET for those files. Anyway, you can always manually add them to an RC file and header. It’s just a simple addition IDI_APP_LARGE ICON “.\\app.ico”, or replace ICON with BITMAP for bitmaps. Although dealing with that many images, it begs why you would want to include them as resources into the EXE? Virus scanners tend to check the entire executable, which can freeze explorer (or even Windows) while it’s busy checking. Can you not just load them in as files or use a VFS?
@Stainless

porting “Winnie The Pooh”, …. please don’t laugh… it’s work ..

So long as at the end of the day you get a giant free plush doll of pooh bear. You know, the massive kind that’s hard to get through the front door :) That would command respect for anyone entering your crib.

B5262118b588a5a420230bfbef4a2cdf
0
Stainless 151 Mar 19, 2012 at 21:24

It turns out it’s our VS plugin that opens the files, they aren’t actually “resources” as they would be for win32, but they have to be in the project for the packing and encryption to work.

So long as at the end of the day you get a giant free plush doll of pooh bear. You know, the massive kind that’s hard to get through the front door :) That would command respect for anyone entering your crib.

It’s even sadder than that, my “crib” is a pub, I bought it a while back when I had this great idea about not having to pay for somewhere to live, having the place you live pay for you instead.

So now my customers are having to put up with “I have a rummbly in my tummy, I know what to do for that, I need honey!” coming from my office as they try to have a pint….. :wacko: