Questions about resxgen, resgen, resedit and bitmap image resource

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to load a bitmap image into a resource file to use as a toolbar image. I have tried the resedit utility as well as the resxgen and resgen utilities as described in the Visual Studio help. I am getting an error indicating that the resource type is invalid when trying to load it into my application. I am using the resource manager .getobject call to retrieve the image from the .resources file. In this case, I know the code works because it is being used in other applications in our shop. The only difference I can see is that I am using the Microsoft .NET Framework 1.1 service pack. I am also using Visual Studio 2002 (Visual Basic).

Has anyone else had any problems like this?
Am I missing a Visual Studio configuration setting somewhere?
Is there a better way to handle bitmap image resources?

Thanks
 
You're using Visual Studio .NET 2002 with the Framework 1.1? I doubt that...

Post some code to see if anyone might be able to help.

--

Sven


Jim said:
I am trying to load a bitmap image into a resource file to use as a
toolbar image. I have tried the resedit utility as well as the resxgen and
resgen utilities as described in the Visual Studio help. I am getting an
error indicating that the resource type is invalid when trying to load it
into my application. I am using the resource manager .getobject call to
retrieve the image from the .resources file. In this case, I know the code
works because it is being used in other applications in our shop. The only
difference I can see is that I am using the Microsoft .NET Framework 1.1
service pack. I am also using Visual Studio 2002 (Visual Basic).
 
Back
Top