DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Resource Files?

  1. #1
    Join Date
    Sep 2004

    Resource Files?


    I've got an app that needs to be released in 3 different flavours - 1 for each of the companies in the group. This requires some very minor changes, form background/text colour changes, some string changes - ie, <company1> <productname>, <company2 productname> etc, and some graphics changes(background pics, splash screen, about box). Is it possible to embed all these in a resource file and have the app read a config file to give it it's company type. I've never (knowingly) used resource files and would like to know if this is possible.


  2. #2
    Join Date
    Nov 2003
    Portland, OR
    Yes, it is possible. See if this helps:
    Phil Weber

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Sep 2004

    Cheers Phil, I eventually got this sorted out although one thing that caused a problem was the bitmaps. I loaded them into public bitmap variables in my main form. When a sub form was opened, in the load sub i would do 'me.backgroundimage = frmMain.imgLogo'. This was throwing errors a few steps later during (i'd imagine) paint events. I had to change it to me.backgroundimage = new bitmap(frmMain.imgLogo) but I don't see any reason why I should have to do this. Can you recommend a good GDI+ book as I seems to be having regular headaches with images in various vb projects.

Similar Threads

  1. Resource files
    By Lithic in forum VB Classic
    Replies: 2
    Last Post: 03-03-2005, 10:46 AM
  2. Replies: 0
    Last Post: 10-17-2002, 11:51 AM
  3. Localization of Resource Files
    By Debdas in forum .NET
    Replies: 0
    Last Post: 01-12-2002, 03:25 AM
  4. Localization of Resource Files
    By Debdas in forum .NET
    Replies: 0
    Last Post: 01-12-2002, 03:21 AM
  5. Converting bmps to resource files
    By Vilas Jain in forum .NET
    Replies: 1
    Last Post: 01-11-2002, 11:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center