12 2009 档案

摘要:private void button13_Click(object sender, EventArgs e) { OpenFileDialog ofd = new OpenFileDialog(); ofd.Filter = "Word Documents(*.doc)|*.doc"; ofd.ShowDialog(); textBox3.Text = ofd.FileName; }privat... 阅读全文
posted @ 2009-12-31 13:30 greencolor 阅读(354) 评论(0) 推荐(0) 编辑
摘要:Microsoft.Office.Interop.Word.ApplicationClass wordApp = new Microsoft.Office.Interop.Word.ApplicationClass(); object file = path; object nullobj = System.Reflection.Missing.Value; Microsoft.Office.In... 阅读全文
posted @ 2009-12-31 12:53 greencolor 阅读(233) 评论(0) 推荐(0) 编辑
摘要:zip命令的基本用法是:zip [参数] [文件1] [文件2] 简单的例子: 把本目录下的test文件打包成test.zip文件:zip test.zip test/* unzip命令的基本语法是:unzip [参数] zip文件 简单例子: 把本目录下的test.zip文件解压:unzip test.zip 阅读全文
posted @ 2009-12-29 16:22 greencolor 阅读(203) 评论(0) 推荐(0) 编辑
摘要:Linux commandtouch filename 阅读全文
posted @ 2009-12-29 16:15 greencolor 阅读(148) 评论(0) 推荐(0) 编辑
摘要:You can easily install rpm file with rpm -ivhCode:rpm -ivh file-package.name.rpmTo view rpm file contentsCode:rpm -qlp file-package.name.rpmTo get info about rpm package itselfCode:rpm -qip file-packa... 阅读全文
posted @ 2009-12-27 21:54 greencolor 阅读(211) 评论(0) 推荐(0) 编辑
摘要:退出Portable Ubuntu,在命令行里打开系统文件夹中的images文件夹,输入指令 fsutil file createnew rootfs_.img 42949672960(为40G)创建一个新的映像文件。接着将config文件夹中的portable_ubuntu.conf的cobd3="D:\Documents and Settings\czw5hv\Application Data... 阅读全文
posted @ 2009-12-27 21:20 greencolor 阅读(276) 评论(0) 推荐(0) 编辑
摘要:To install a .deb file, simply double click on it, and then select Install PackageAlternatively, you can also install a .deb file by opening a terminal and typing:sudo dpkg -i package_file.deb 阅读全文
posted @ 2009-12-23 00:43 greencolor 阅读(1330) 评论(0) 推荐(0) 编辑
摘要:ls /usr/bin/gcc -l一般情况下,编译程序都是使用的/usr/bin/gcc它指向了/etc/alternatives/gcc,而/etc/alternatives/gcc是指向了/usr/bin/gcc-4.3,可以用ls命令查看ls /usr/bin/gcc -lls /etc/alternatives/gcc -l看一下当前安装的gcc的各个版本ls /usr/bin/gcc*... 阅读全文
posted @ 2009-12-20 23:14 greencolor 阅读(206) 评论(0) 推荐(0) 编辑
摘要:dpkg -i package.deb安装包dpkg -r package删除包dpkg -P package删除包(包括配置文件)dpkg -L package列出与该包关联的文件dpkg -l package显示该包的版本dpkg –unpack package.deb解开 deb 包的内容dpkg -S keyword搜索所属的包内容dpkg -l列出当前已安装的包dpkg -c... 阅读全文
posted @ 2009-12-20 22:21 greencolor 阅读(148) 评论(0) 推荐(0) 编辑
摘要:Install problem in Ubuntuproblem in make installinstall: cannot create regular file `/usr/local/bin/programname': Permission denieduse sudo make install 阅读全文
posted @ 2009-12-16 16:54 greencolor 阅读(320) 评论(0) 推荐(0) 编辑
摘要:tar zxvf programpack.tar.gzcd programpack.tar.gz./installer.sh--------------------------if permission denied in Ubuntuuse sudo ./installer.sh 阅读全文
posted @ 2009-12-16 16:16 greencolor 阅读(225) 评论(0) 推荐(0) 编辑
摘要:Ubuntu安装g++sudo apt-get install make gcc g++ 再装上函数手册  sudo apt-get install manpages-dev或者采用sudo apt-get install build-essential 阅读全文
posted @ 2009-12-16 15:25 greencolor 阅读(6792) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示