由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - excel problem
相关主题
Powerbuilder SaveAs excel file 关于FoxPro的容量问题
看来确实不能从程序里去删Excel Recordquestion on oracle archive file
Access database 求助design query for db
csv fileMySQL全文搜索的问题
求问一个对我来说很难的问题mysql query question
seeking your cool ideaRookie's question again
How to insert a string into table? Thanks北京MM来指教我一下
[转载] Help: O(|E|) algorithm for Minimal Spanning Tree刚装的 SQL server 2012 express 咋打不开呀?
相关话题的讨论汇总
话题: vb话题: excel话题: records话题: codes话题: buttons
进入Database版参与讨论
1 (共1页)
l******n
发帖数: 9344
1
I have a excel file containing many VB codes. I need to save the results as
records. But I do not want the buttons and VB codes saved in the records.
How can I do that? Now I am using saveas, and set the buttons in records
invisible. The codes are still there.
Thanks you,
b*****e
发帖数: 364
2
If you can provide some screen shot, it will be better for people to learn
what you are doing.

as

【在 l******n 的大作中提到】
: I have a excel file containing many VB codes. I need to save the results as
: records. But I do not want the buttons and VB codes saved in the records.
: How can I do that? Now I am using saveas, and set the buttons in records
: invisible. The codes are still there.
: Thanks you,

S***k
发帖数: 370
3
I guess you have VB code to create the excel file, and the created excel
file includes not only the results but the VB code itself also.
If this is the case, you may try
This.Visible = false;
Response.clear();
Response.ClearContent();
Response.ClearHeaders();
Response.WriteFile(…);
Response.End();
c**t
发帖数: 2744
4
FYI: http://www.vb-helper.com/howto_excel_save_without_macros.html

as

【在 l******n 的大作中提到】
: I have a excel file containing many VB codes. I need to save the results as
: records. But I do not want the buttons and VB codes saved in the records.
: How can I do that? Now I am using saveas, and set the buttons in records
: invisible. The codes are still there.
: Thanks you,

c**t
发帖数: 2744
5
another approach is to use VSTO. End user will see data, all code behind are
binary code, invisible to them.

as

【在 l******n 的大作中提到】
: I have a excel file containing many VB codes. I need to save the results as
: records. But I do not want the buttons and VB codes saved in the records.
: How can I do that? Now I am using saveas, and set the buttons in records
: invisible. The codes are still there.
: Thanks you,

l******n
发帖数: 9344
6
thanks

【在 c**t 的大作中提到】
: FYI: http://www.vb-helper.com/howto_excel_save_without_macros.html
:
: as

l******n
发帖数: 9344
7
thanks

【在 S***k 的大作中提到】
: I guess you have VB code to create the excel file, and the created excel
: file includes not only the results but the VB code itself also.
: If this is the case, you may try
: This.Visible = false;
: Response.clear();
: Response.ClearContent();
: Response.ClearHeaders();
: Response.WriteFile(…);
: Response.End();

1 (共1页)
进入Database版参与讨论
相关主题
刚装的 SQL server 2012 express 咋打不开呀?求问一个对我来说很难的问题
Can you cluster two different sql server version together?seeking your cool idea
免费讲座SQL Server CDC (转载)How to insert a string into table? Thanks
Free Session: Big Data Real User Case in Financing[转载] Help: O(|E|) algorithm for Minimal Spanning Tree
Powerbuilder SaveAs excel file 关于FoxPro的容量问题
看来确实不能从程序里去删Excel Recordquestion on oracle archive file
Access database 求助design query for db
csv fileMySQL全文搜索的问题
相关话题的讨论汇总
话题: vb话题: excel话题: records话题: codes话题: buttons