开发者

how to edit a resource file

开发者 https://www.devze.com 2023-03-13 17:59 出处:网络
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 butt

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

精彩评论

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

关注公众号