PDA

Click to See Complete Forum and Search --> : resources?


MrPolite
May 18th, 2002, 01:18 AM
Umm I dont know if it has anything to do with resources:
I have a text file that each time my app loads it. I was just wondering if I can add the text file inside my exe so I wouldnt have an additional funky txt file with my app.
I've never used resources and I dont know if this is the use of it, but if it is possible, would someone tell me how

thanks in advance

wolfofthenorth
May 18th, 2002, 11:33 AM
Yes this type of thing is possible, and yes it is done with resources.

Try looking in the MSDN; there is a lot of good information in there to get you started. :D

MrPolite
May 18th, 2002, 07:15 PM
I'm lost! help PLZ:confused: :confused: :confused:

MrPolite
May 19th, 2002, 11:53 AM
ok I'm LOST!! someone help PLZ!!!!! ( did I say please? I'm being very polite:p :p :p )

Umm, added a text file to my project (like a normal file, not a resource) and then in the properties of the text file in VS there is something called Build Action, I set it to Embedded Resource

is that how it's suppose to be?! I cant figure out how to read the resource

help:D

MrPolite
May 19th, 2002, 03:13 PM
tnx alot, I'll try that :) :) :) :) :)