|
-
Apr 11th, 2001, 06:39 PM
#1
Thread Starter
Frenzied Member
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/
-
Apr 11th, 2001, 07:25 PM
#2
Hyperactive Member
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....
-
Apr 11th, 2001, 07:58 PM
#3
Thread Starter
Frenzied Member
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/
-
Apr 11th, 2001, 08:14 PM
#4
Hyperactive Member
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)
-
Apr 11th, 2001, 08:35 PM
#5
Thread Starter
Frenzied Member
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/
-
Apr 12th, 2001, 01:25 AM
#6
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|