Welcome![Sign In][Sign Up]
Location:
Search - memorystream

Search list

[Windows DevelopGhost_drag_image

Description: 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.
Platform: | Size: 87056 | Author: haha | Hits:

[WEB Codevcode

Description: 很好的验证码生成程序。使用方法: 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
Platform: | Size: 5364 | Author: pipi | Hits:

[RichEditManOriKnowledge

Description: 最近弄一个可以编辑显示文本、图片、公式、表格、超链接等内容的东东,将其保存好数据库(DB4O),然后直接在内存中打开。最先想到的当然是dotNet的RichTextBox,但它对这些格式数据支持并不好,尤其是上下标。然后就是微软的Office Framer Control,没有什么问题,但是需要运行word进程,那玩意太庞大,尤其是在打开多个文档的时候占用内存过多。最后想到了wpf的Flowdocment,它虽然不直接支持公式,但在能直接将相关内容转换为图片形式,且不会改变显示样式。使用WPF的richTextBox可以直接将word编辑好的内容复制过来,然后保存。 同时文档保存形式也就讲究,应该保存为XamlPackage,这是一种压缩格式,把流文档的各种相关数据一同保存,因此很省事,不用关系连接或图片、多媒体的数据源问题。当然XamlPackage只保存Section节点。 在数据库中文档用byte[]表示,从数据库中打开文档时,可以使用byte[]实例化MemoryStream然后直接加载到相应的流文档显示控件中,但保存到数据库时却需要使用临时文件转储。相应的代码如下(C#):
Platform: | Size: 39417 | Author: hanunhua | Hits:

[Windows DevelopGhost_drag_image

Description: 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.
Platform: | Size: 146432 | Author: | Hits:

[WEB Codevcode

Description: 很好的验证码生成程序。使用方法: 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
Platform: | Size: 5120 | Author: pipi | Hits:

[RichEditManOriKnowledge

Description: 最近弄一个可以编辑显示文本、图片、公式、表格、超链接等内容的东东,将其保存好数据库(DB4O),然后直接在内存中打开。最先想到的当然是dotNet的RichTextBox,但它对这些格式数据支持并不好,尤其是上下标。然后就是微软的Office Framer Control,没有什么问题,但是需要运行word进程,那玩意太庞大,尤其是在打开多个文档的时候占用内存过多。最后想到了wpf的Flowdocment,它虽然不直接支持公式,但在能直接将相关内容转换为图片形式,且不会改变显示样式。使用WPF的richTextBox可以直接将word编辑好的内容复制过来,然后保存。 同时文档保存形式也就讲究,应该保存为XamlPackage,这是一种压缩格式,把流文档的各种相关数据一同保存,因此很省事,不用关系连接或图片、多媒体的数据源问题。当然XamlPackage只保存Section节点。 在数据库中文档用byte[]表示,从数据库中打开文档时,可以使用byte[]实例化MemoryStream然后直接加载到相应的流文档显示控件中,但保存到数据库时却需要使用临时文件转储。相应的代码如下(C#):
Platform: | Size: 38912 | Author: | Hits:

[Delphi VCLByteArray

Description: Run an Executable from a MemoryStream
Platform: | Size: 18432 | Author: Liam | Hits:

[Delphi VCLhkmemtab

Description: 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.
Platform: | Size: 32768 | Author: 大勇 | Hits:

[Delphi VCLAbbrevia-5.0

Description: -个delphi写的 zip 文件和内存流操作控件 使用很方便-a delphi vcl for zip file and memorystream, easy,usefull
Platform: | Size: 5915648 | Author: zzj9001 | Hits:

[OtherUsing-MemoryStream

Description: 使用 MemoryStream ,並將檔案讀出暫存在 MemoryStream中。-Using MemoryStream, and the file is read out temporarily in a MemoryStream.
Platform: | Size: 1024 | Author: stanChen | Hits:

[OS programCPPMemStrm

Description: C++ 实现的内存流源码。用C语言实现的。方便实用。-C++ memorystream
Platform: | Size: 3072 | Author: iinsnian | Hits:

[CSharpmgen-blockingReadMemoryStream

Description: 大数据缓存,内存块读写核心代码,包括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.)
Platform: | Size: 1024 | Author: 一角空弦 | Hits:

CodeBus www.codebus.net