Location:
Search - addfile
Search list
Description: Add to the document, additional written records, documents can be arbitrary document types, additional attention is written records can remove records to write, and change parameters to be included in
Platform: |
Size: 2981 |
Author: 张力 |
Hits:
Description: 功能:
增加一个文件在工作区,增加一个打开文件对话框。
Platform: |
Size: 122841 |
Author: 陈诚和 |
Hits:
Description: Add to the document, additional written records, documents can be arbitrary document types, additional attention is written records can remove records to write, and change parameters to be included in
Platform: |
Size: 3072 |
Author: 张力 |
Hits:
Description: 功能:
增加一个文件在工作区,增加一个打开文件对话框。-Function: add a file in the work area, add a dialog box to open the file.
Platform: |
Size: 122880 |
Author: 陈诚和 |
Hits:
Description: XPBurn提供在WinXP环境下刻录CD的API。
C#示例代码:
//Create a new instance of the XPBurn component
XPBurn.XPBurnCD cd = new XPBurn.XPBurnCD()
//Add files (file path, name of file to use for CD
cd.AddFile(@"c:\pic1.jpg","pic1.jpg")
//... add all files...
/*
Record Disc begins the process,
Set 1st param to false if you want to actually burn the disk and not just simulate a burn
Set 2nd param to true if you want the disc to eject after burn
*/
cd.RecordDisc(false, true)
-XPBurn provides WinXP environment, burn CD' s API. C# sample code:// Create a new instance of the XPBurn component XPBurn.XPBurnCD cd = new XPBurn.XPBurnCD () // Add files (file path, name of file to use for CD cd.AddFile (@ " c: \ pic1.jpg " ," pic1.jpg " ) //... add all files .../* Record Disc begins the process, Set 1st param to false if you want to actually burn the disk and not just simulate a burn Set 2nd param to true if you want the disc to eject after burn*/cd.RecordDisc (false, true)
Platform: |
Size: 166912 |
Author: 丁发辉 |
Hits:
Description: 基于ArcEngine用VB语言来完成的添加ShapeFile的功能,例子简单明了-Based on ArcEngine use VB language to complete the Add ShapeFile functions, examples of simple and clear
Platform: |
Size: 17408 |
Author: 李艳 |
Hits:
Description: 使用MO和VB开发的,能实现动态的添加不同的图层。-MO and VB developers to use, can add a different dynamic layers.
Platform: |
Size: 5120 |
Author: cherry |
Hits:
Description: FileTool.exe 是一个示例,用于替换 打开 和 添加到项目 菜单项在 Visual c + + 中使用开发工具 Studio 对象模型。
在开发工作室对象模型包含同时打开的文件,并将文件添加到项目的方法。BuildProject 对象包含 AddFile 方法,它将文件添加到项目。该 文档 对象将包含到开发人员 Studio 可以打开文件的 Open 方法。这些可以使用宏或加载项中。-leTool. Exe is an example, used to replace the open and added to the project menu item in the Visual c + +, use the development tools Studio object model.
Platform: |
Size: 60416 |
Author: wangxh |
Hits:
Description: sonix编译器的附加文件,有的windows缺此文件导致无法运行sonix的软件-sonix edit software addfile
Platform: |
Size: 285696 |
Author: zhang |
Hits:
Description: 源码包含一个读取ISO文件和虚拟磁盘文件(VHD, VDI, XVA, VMDK, etc)的类和完整的调用示例。
对于ISO、UDF、FAT和NTFS的支持已经非常完善。支持VHD, XVA, VMDK 和VDI格式的读写与注册。
类库中还包含一个简单的iSCSI启动器,可以通过iSCSI和一个NFS客户端实现对磁盘的访问。
这里有几段简单的示例代码,可以看出来使用还是非常方便的:
新建一个ISO文件:
CDBuilder builder = new CDBuilder();
builder.UseJoliet = true;
builder.VolumeIdentifier = "A_SAMPLE_DISK";
builder.AddFile(@"Folder\Hello.txt", Encoding.ASCII.GetBytes("Hello World!"));
builder.Build(@"C:\temp\sample.iso");
你可以通过流或者文件的方式来进行ISO的操作。
从ISO文件中提取一个文件:
using (FileStream isoStream = File.Open(@"C:\temp\sample.iso"))
{
CDReader cd = new CDReader(isoStream, true);
Stream fileStream = cd.OpenFile(@"Folder\Hello.txt", FileMode.Open);
// Use fileStream...
}
同样,你也可以浏览ISO内部包含的目录或者作为启动盘。
新建一个虚拟磁盘:
long diskSize = 30 * 1024 * 1024; //30MB
using (Stream vhdStream = File.Create(@"C:\TEMP\mydisk.vhd"))
{
Disk disk = Disk.InitializeDynamic(vhdStream, diskSize);
BiosPartitionTable.Initialize(disk, WellKnownPartitionType.WindowsFat);
using (FatFileSystem fs = FatFileSystem.FormatPartition(disk, 0, null))
{
fs.CreateDirectory(@"TestDir\CHILD");
// do other things with the file system...
}
}
新建一个虚拟软盘:
using (FileStream fs = File.Create(@"myfloppy.vfd"))
{
using (FatFileSystem floppy = FatFileSystem.FormatFloppy(fs, FloppyDiskType.HighDensity, "MY FLOPPY "))
{
using (Stream s = floppy.OpenFile("foo.txt", FileMode.Create))
{
// Use stream...
}
}
}
也可以作为启动软盘使用。
Platform: |
Size: 438282 |
Author: twklzw |
Hits: