开发者

how to edit a resource file

i am developing a program in C# and i need to use the integrated resource file it is .txt file i need to save dat开发者_运维百科a to it when a button is pressed , lets say the client will press a button and then a value of "1" is saved in that txt file which is in the program resource files


You're totally using resources wrong. That being said, you can change resources (add, delete, or modify) using UpdateResource. I don't know if it's exposed in .NET or if y You have to use PInvoke, however, as it's not exposed in .NET. Here's a post that will demonstrate it's use.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜