CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - memorystream
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - memorystream - List
[
Windows Develop
]
Ghost_drag_image
DL : 0
Have you noticed the cool ghost image that Windows Explorer produces when you start dragging files/folders from it? Well, I wanted to implement this in a C# project when dragging files between it and Windows Explorer. After a lot of Googling, I found out that there are three directions to start working on, as follows: Using a \"custom\" cursor created from a MemoryStream initialized from an Image, as shown in this article. Using the ImageList_BeginDrag and related APIs, as shown in this article: Dragging tree nodes in C#. Using the IDragSourceHelper and IDropTargetHelper interfaces.
Update
: 2008-10-13
Size
: 85.02kb
Publisher
:
haha
[
WEB Code
]
vcode
DL : 0
很好的验证码生成程序。使用方法: picid = Request.QueryString[\"time\"].ToString().Trim() picid =Math.Round((Convert.ToDouble(picid)*10000),0).ToString() Tools.image.VerifyImage pic = new Tools.image.VerifyImage(picid, 90, 50) System.IO.MemoryStream ms = new System.IO.MemoryStream() pic.Image.Save(ms, System.Drawing.Imaging.ImageFormat.Png) Response.ClearContent() Response.ContentType = \"image/png\" Response.BinaryWrite(ms.ToArray()) Response.Cookies[\"Vcode\"].Value = picid
Update
: 2008-10-13
Size
: 5.24kb
Publisher
:
pipi
[
RichEdit
]
ManOriKnowledge
DL : 0
最近弄一个可以编辑显示文本、图片、公式、表格、超链接等内容的东东,将其保存好数据库(DB4O),然后直接在内存中打开。最先想到的当然是dotNet的RichTextBox,但它对这些格式数据支持并不好,尤其是上下标。然后就是微软的Office Framer Control,没有什么问题,但是需要运行word进程,那玩意太庞大,尤其是在打开多个文档的时候占用内存过多。最后想到了wpf的Flowdocment,它虽然不直接支持公式,但在能直接将相关内容转换为图片形式,且不会改变显示样式。使用WPF的richTextBox可以直接将word编辑好的内容复制过来,然后保存。 同时文档保存形式也就讲究,应该保存为XamlPackage,这是一种压缩格式,把流文档的各种相关数据一同保存,因此很省事,不用关系连接或图片、多媒体的数据源问题。当然XamlPackage只保存Section节点。 在数据库中文档用byte[]表示,从数据库中打开文档时,可以使用byte[]实例化MemoryStream然后直接加载到相应的流文档显示控件中,但保存到数据库时却需要使用临时文件转储。相应的代码如下(C#):
Update
: 2008-10-13
Size
: 38.49kb
Publisher
:
hanunhua
[
Windows Develop
]
Ghost_drag_image
DL : 0
Have you noticed the cool ghost image that Windows Explorer produces when you start dragging files/folders from it? Well, I wanted to implement this in a C# project when dragging files between it and Windows Explorer. After a lot of Googling, I found out that there are three directions to start working on, as follows: Using a "custom" cursor created from a MemoryStream initialized from an Image, as shown in this article. Using the ImageList_BeginDrag and related APIs, as shown in this article: Dragging tree nodes in C#. Using the IDragSourceHelper and IDropTargetHelper interfaces.
Update
: 2025-03-14
Size
: 143kb
Publisher
:
[
WEB Code
]
vcode
DL : 0
很好的验证码生成程序。使用方法: picid = Request.QueryString["time"].ToString().Trim() picid =Math.Round((Convert.ToDouble(picid)*10000),0).ToString() Tools.image.VerifyImage pic = new Tools.image.VerifyImage(picid, 90, 50) System.IO.MemoryStream ms = new System.IO.MemoryStream() pic.Image.Save(ms, System.Drawing.Imaging.ImageFormat.Png) Response.ClearContent() Response.ContentType = "image/png" Response.BinaryWrite(ms.ToArray()) Response.Cookies["Vcode"].Value = picid -Verification Code to generate a good program. Usage: picid = Request.QueryString [ time ]. ToString (). Trim () picid = Math.Round ((Convert.ToDouble (picid)* 10000), 0). ToString () Tools.image.VerifyImage pic = new Tools.image.VerifyImage (picid, 90, 50) System.IO.MemoryStream ms = new System.IO.MemoryStream () pic.Image.Save (ms, System.Drawing.Imaging.ImageFormat.Png) Response.ClearContent () Response.ContentType = image/png Response.BinaryWrite (ms.ToArray ()) Response.Cookies [ Vcode ]. Value = picid
Update
: 2025-03-14
Size
: 5kb
Publisher
:
pipi
[
RichEdit
]
ManOriKnowledge
DL : 0
最近弄一个可以编辑显示文本、图片、公式、表格、超链接等内容的东东,将其保存好数据库(DB4O),然后直接在内存中打开。最先想到的当然是dotNet的RichTextBox,但它对这些格式数据支持并不好,尤其是上下标。然后就是微软的Office Framer Control,没有什么问题,但是需要运行word进程,那玩意太庞大,尤其是在打开多个文档的时候占用内存过多。最后想到了wpf的Flowdocment,它虽然不直接支持公式,但在能直接将相关内容转换为图片形式,且不会改变显示样式。使用WPF的richTextBox可以直接将word编辑好的内容复制过来,然后保存。 同时文档保存形式也就讲究,应该保存为XamlPackage,这是一种压缩格式,把流文档的各种相关数据一同保存,因此很省事,不用关系连接或图片、多媒体的数据源问题。当然XamlPackage只保存Section节点。 在数据库中文档用byte[]表示,从数据库中打开文档时,可以使用byte[]实例化MemoryStream然后直接加载到相应的流文档显示控件中,但保存到数据库时却需要使用临时文件转储。相应的代码如下(C#):
Update
: 2025-03-14
Size
: 38kb
Publisher
:
[
Delphi VCL
]
ByteArray
DL : 0
Run an Executable from a MemoryStream
Update
: 2025-03-14
Size
: 18kb
Publisher
:
Liam
[
Delphi VCL
]
hkmemtab
DL : 0
THKMemTab是一个内存表数据控件,用在开发时存放临时数据,它使用MemoryStream存放数据,不需要BDE引擎,支持关键数据库和字段的方法,但是不支持索引,过滤和排序,支持的字段类型有ftString, ftBoolean, ftFloat, ftSmallInt, ftInteger, ftDate, ftTime.-THKMemTab is a memory-based Dataset with Data-Aware components support developed for storing Temporary Data in Memory using MemoryStreams. Doesn t need the BDE. Supports primary Dataset- and Field access Methods but no Indexing, Filtering or Sorting. Supported Field types: ftString, ftBoolean, ftFloat, ftSmallInt, ftInteger, ftDate, ftTime.
Update
: 2025-03-14
Size
: 32kb
Publisher
:
大勇
[
Delphi VCL
]
Abbrevia-5.0
DL : 1
-个delphi写的 zip 文件和内存流操作控件 使用很方便-a delphi vcl for zip file and memorystream, easy,usefull
Update
: 2025-03-14
Size
: 5.64mb
Publisher
:
zzj9001
[
Other
]
Using-MemoryStream
DL : 0
使用 MemoryStream ,並將檔案讀出暫存在 MemoryStream中。-Using MemoryStream, and the file is read out temporarily in a MemoryStream.
Update
: 2025-03-14
Size
: 1kb
Publisher
:
stanChen
[
OS program
]
CPPMemStrm
DL : 0
C++ 实现的内存流源码。用C语言实现的。方便实用。-C++ memorystream
Update
: 2025-03-14
Size
: 3kb
Publisher
:
iinsnian
[
CSharp
]
mgen-blockingReadMemoryStream
DL : 0
大数据缓存,内存块读写核心代码,包括read,write的块操作。应用于大文件、大数据集的缓存或快速读取操作。(Large data cache, memory block read and write the core code, including read, write block operation. Cache or quick read operations for large files, large data sets.)
Update
: 2025-03-14
Size
: 1kb
Publisher
:
一角空弦
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.