找回密码
 立即注册

QQ登录

只需一步,快速开始

zzxzr

银牌会员

12

主题

54

帖子

2430

积分

银牌会员

积分
2430

活字格认证微信认证勋章

QQ
zzxzr
银牌会员   /  发表于:2015-11-20 20:04  /   查看:27066  /  回复:64
提示TXTextControl.Web 找不到,为什么啊?

64 个回复

正序浏览
gw0506
超级版主   /  发表于:2015-12-14 12:26:00
65#
必须用Win8系统。
回复 使用道具 举报
zzxzr
银牌会员   /  发表于:2015-12-11 21:09:00
64#
这是windows 7操作系统。。。。
回复 使用道具 举报
zzxzr
银牌会员   /  发表于:2015-12-11 21:09:00
63#
QQ截图20151211210717.png
又出现在这个错
回复 使用道具 举报
zzxzr
银牌会员   /  发表于:2015-12-11 21:05:00
62#
QQ截图20151211204258.png
我在windows 7 、windows server 2003 发布后出现这个错误,但是在windows 8.1发布后运行正常,能加载数据,是不是,服务器必须是windows 8操作系统吗?这环境要求也太高啦吧!
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2015-12-9 13:42:00
61#
回复 58楼zzxzr的帖子

二进制流无法加载 rtf 格式,可加载格式列表如下:
Untitled.png

如果必须使用 rtf 格式,需要先使用 servertextcontrol 保存为物理 rtf 文件,再加载到 html5 viewer 中。
回复 使用道具 举报
gw0506
超级版主   /  发表于:2015-12-8 14:53:00
60#
关于读取rtf,你可以在文档中找到详细的帮助,包括代码和操作。ASP.NET User's Guide -> Document Automation -> Example - Loading and Saving
  1. [C#]
  2. protected void Button1_Click(object sender, EventArgs e)
  3. {
  4.         // create a new instance of ServerTextControl
  5.         using (TXTextControl.ServerTextControl tx =
  6.                 new TXTextControl.ServerTextControl())
  7.         {
  8.                 // load the document
  9.                 tx.Create();
  10.                 tx.Load(Server.MapPath("/documents/sample.docx"),
  11.                         TXTextControl.StreamType.WordprocessingML);
  12.                 // save the document in the internal format to a byte array
  13.                 byte[] data;
  14.                 tx.Save(out data, TXTextControl.BinaryStreamType.InternalUnicodeFormat);
  15.                 // load the byte array into the read-only DocumentViewer
  16.                 DocumentViewer1.LoadDocumentFromMemory(data,
  17.                         TXTextControl.DocumentServer.FileFormat.InternalUnicodeFormat);
  18.         }
  19.         btn_DownloadDocument.Visible = true;
  20. }
复制代码
回复 使用道具 举报
gw0506
超级版主   /  发表于:2015-12-8 10:23:00
59#
C:\Program Files\Text Control GmbH\TX Text Control 22.0.NET Server for ASP.NET\assembly\TXTextControl.Web.dll    检查一下这里有没有此dll。这个用来确认一楼,二楼的问题。
回复 使用道具 举报
zzxzr
银牌会员   /  发表于:2015-12-8 09:38:00
58#
我们这边测试时能从数据库表中取出二进制数据,并显示到页面上,现在又一个新问题,以前那个表中存储的是以rtf格式存进去的二进制文件,我想问一下,现在这个Tx控件提取rtf二进制文件,如何在页面上显示出来。。。
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2015-12-7 09:22:00
57#
回复 56楼zzxzr的帖子

下午三点半我们开一个视频会议,看看你的环境,到时我会电话联系您。
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部