如何将.doc文件转换为十六进制值。 [英] How to transfor .doc file into an hex value.
本文介绍了如何将.doc文件转换为十六进制值。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
来自codeproject的人们。
我需要在Visual C或Visual Studio(vb.net)中创建一个上传.doc或.docx文件的工具并获取同一文件的十六进制值。
我已经拥有该软件的其他部分,从十六进制到文本的翻译。
有什么想法吗?谢谢你提前。
Hello people from codeproject.
I need to create a tool in Visual C or Visual Studio (vb.net) that upload a .doc or .docx file and also obtain the hexadecimal values of this same file.
I already have the other part of the software, the translator from Hexadecimal to Text.
Any idea? Thanks in advanced.
推荐答案
你的问题没有解决办法。
-首先,我不明白为什么你有问题从文本转换为十六进制,因为你知道如何从十六进制到文本。
-Second,我不明白你为什么要使用十六进制编码,因为它没有任何帮助。
正如评论中所报道的那样,因为.docx是压缩的,所以除了第一步的解压缩之外什么都不会帮助你。
当我手动读取.doc时,我直接阅读。
There is no solution to your question.
-First, I don't understand why you have a problem to convert from text to hex since you know how to do from hex to text.
-Second, I don't understand why you want to use hex encoding since it is of no help.
As reported in comments, since .docx are compressed, nothing will help you but a decompression as first step.
When I read .doc manually, I do direct reading.
这篇关于如何将.doc文件转换为十六进制值。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文