用我的项目打开XML文件 [英] open XML file with my project

查看:103
本文介绍了用我的项目打开XML文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1.在.net Project的页面中,我正在通过控件创建逻辑.我将所有信息保存在XML文件中.我希望当我单击该XML文件时它会随项目自动打开,因此在从该XML文件获取变量并控制值之后,我可以重新设计该Logic.

2.是否可以提供自定义扩展名,例如.ckt或其他在.XML

1. In a page of .net Project I m creating a logic through controls. I save all information in XML file. I want that when I click on that XML file it automatically open with my project so after taking variable and controls value from that XML file I can re-design that Logic.

2. Is that possible to give custom extension like .ckt or something else which is not used before at the place of .XML

推荐答案

1处未使用的扩展名. CodeProject文章" VB.NET中的文件关联 [
2.是的,文件名和扩展名取决于文件的内容.
1. The CodeProject article, "File Association in VB.NET[^]", tells you what you need to do to associate a file with your program.

2. Yes, the file name and extension is relivent to the content of the file.


这篇关于用我的项目打开XML文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆