Results 1 to 6 of 6

Thread: Resource Editor HELP ME PLZ

  1. #1

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335

    Wink

    how do i use this someone told me before but i forgot. I do not want it only for images i want it text files like txt and stuff. How do i use this.
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  2. #2
    Hyperactive Member
    Join Date
    May 1999
    Location
    Sunny Southern Weather
    Posts
    406
    1) Load your project
    2) go to Add-Ins > add-in manager
    3) select resource editor
    4) choose loaded/unloaded then OK
    You'll get the new toolbar button. Click it to open the editor

    5) the buttons across the top allow you to create new "folders" to hold types of data
    6) click the one you need (custom, bitmap, icon,cursor, etc) - this creates the new "folder"
    7)select a folder then click the 'open' button - locate your file and load it
    8) repeat as necessary - each one is auto-numbered
    9) close the editor

    to access your resources in code:
    to load a bitmap into a picture object:
    pcircle.Picture = LoadResPicture(101, 0)

    You can get the rest from online help - lookup LoadResPicture and follow the trail....

  3. #3

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335

    Thanks But MORE HELP Needed

    ok thanks. But I am tryingf to load a custom text file and i cant seem to open it in a text box . How do i do this
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  4. #4
    Hyperactive Member
    Join Date
    May 1999
    Location
    Sunny Southern Weather
    Posts
    406
    You can store text in a res two ways:
    1) Use a string table and copy/paste or type in the text
    Access it like this:
    Text1.Text = LoadResString(101)


    Or, you can store it in a "Custom" and get it like this:
    Text1.Text = StrConv(LoadResData(101, "CUSTOM"), vbUnicode)

  5. #5

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    thanks it worked. Now can i ask where did you learn this stuff. Is there site
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  6. #6
    Hyperactive Member
    Join Date
    May 1999
    Location
    Sunny Southern Weather
    Posts
    406
    Where did I learn this?

    Ha, ha, ha!

    VB on line help, sample code and a LOT of dicking around!

    You can try these sites for sample code too:
    http://www.CodeArchive.com/
    http://www.devguru.com/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width