FlexEdit
FlexEdit目前支持2000/XP/2003系统(Vista没有测试),几乎支持当前所有流行语言的高亮显示及符号解析功能,软件还内嵌了文件浏览窗口和DOS命令行,软件还保存了文件夹前进后退历史记录,FlexEdit没有工程的概念。
http://www.flexedit.org/
标签: Editor, Open Source
标签: Editor, Open Source
标签: .net, Open Source, PDF
标签: Intel, Open Source
标签: InfoWorld, Open Source
标签: Linux, Open Office, Open Source
I've recently come across a great utility for taking screen shots of either your entire desktop or an application window. This program,ZScreen , is packed with features! I find I always need to take screen shots but I find it's always been a pain because not only do I have to take the screen shot, I have to open it in a graphic editor to grab what I need from it, then upload it somewhere. All in all a good screen shot takes me about 2 minutes. I was really excited when i came across this.
Features
Full Screen or Window Screen Shots - With ZScreen you can take either full screen or screens shots of your active window. This comes in handy if you don't want to waste space or image area with unnecessary content. You can currently do this with Windows' build in screen shot feature (Print Screen Key).
Screen Shot Cropping - You also have the ability to crop your screen shots with ZScreen. Using hot keys, your able to take a screen shot then, using your mouse, highlight the area you wish to capture instead of the entire screen or application window. Further giving you freedom to grab just the parts you want.

Editing Your Screen Shot - ZScreen also has the great option to automatically open your favorite graphic editing program to modify or notate the screen shot. This is handy if you need something to be highlighted, pointed out, or easily visibly in anyway. Complete freedom to manipulate your screen shot quickly. Closing / Saving the image automatically saves the screen shot as you've modified it.

Automatic FTP of Your Screen Shot - This is my favorite feature by far. ZScreen allows you to input your settings in the back end control panel for FTP access. If you set this up, your screen shots will be instantly FTP'd to your server of choice. The advanced configuration allows you to set it up to make it as easy as possible allowing you to specify the domain and path that the link will then be created with.

Links Placed In Clipboard - The next great feature is the clipboard addition. With every screen shot you take that is automatically FTP'd to your server / hosting, a link is placed in your clipboard for easy pasting over instant message, IRC, email or wherever you may need it. This allows who ever you send it to the ability to instantly see what you want to show them on your screen.
Hot Keys - You can also setup hot keys for your screen capturing which helps keep things simple by being able to specify between an active window shot or a full screen shot with the ability to crop. For instance, I've mine setup as Shift + Alt+ i

There are many more features that I haven't listed. If you are a person that takes screen shots as often as I do, definitely check this out. It's 100% free and open source. Very good work by my standards and highly recommended.
I absolutely love this application. Since I do the majority of my graphics work in Windows this is a perfect addition to the tools I can't live without. Big thanks to Brandon at BrandonZ.net for creating this.
You can find more information, screen shots, features, and downloads by visiting the ZScreen Page at BrandonZ.net
http://www.alfredfox.com/blog/Software/44/ZScreen_-_A_Great_New_Open_Source_Screen_Shot_Utility
标签: Open Source, Screen Shot, ZScreen
wxWidgets的文档中都是使用在控制面板/数据源中设定DSN来创建ODBC连接。但是实际上很多小型的应用,只是使用本机的一个 Access数据库。而要求使用者学习ODBC的DSN配置明显的增加了软件的使用难度。因此,研究了一下wxforum.org中的帖子,试验成功!范 例如下:
wxDbConnectInf *DbConnectInf = NULL; // 定义数据库连接信息指针DB connection information
wxDb *PodDB = NULL; // 定义数据库连接指针Database connection
wxDbTable *table = NULL; // 定义数据表指针Data table to accessDbConnectInf = new wxDbConnectInf(0, wxT(""), wxT(""), wxT(""));//这里定义的内容基本没用,但不定义会报错
PodDB = new wxDb(DbConnectInf->GetHenv());
bool DBfailOnDataTypeUnsupported=!true;//
if(!DB->Open(wxT("DRIVER=Microsoft Access Driver (*.mdb);DBQ=D:\\pod.mdb;UID=admin;"),DBfailOnDataTypeUnsupported))//使用驱动 程序的方式打开数据库
{
if (PodDB->IsOpen())
{
// Connection is open, but the initialization of
// datatypes and parameter settings failed
return 0;
}
else
{
// Error opening datasource
//return HandleError(wxT("DB ENV ERROR: Cannot allocate ODBC env handle"));
return 0;
}
}
const wxString tableName = wxT("POD"); //定义要操作的表的名称
const UWORD numTableColumns = 8; //指出POD表中的列数(columns)
//建立到表的连接
table = new wxDbTable(PodDB, tableName, numTableColumns, wxT(""), wxDB_QUERY_ONLY, wxT(""));//将存放提取数据的变量清空
wxStrcpy(pPodPictureInfo->Title, wxT(""));
......//定义列的数据格式,和取出的格式。
//此处需要注意的是如果前面指明了numTableColumns为n的话,就一定要定义n条
table->SetColDefs(0, wxT("Pod_Title"), DB_DATA_TYPE_VARCHAR, pPodPictureInfo->Title, SQL_C_WXCHAR, sizeof(pPodPictureInfo->Title), true, true);
......//打开表
if (!table->Open())
{
//An error occurred opening (setting up) the table"));
}//限定取出Pod_When列值为1982的行(row)
table->SetWhereClause(wxT("Pod_When = '1982'"));//按照PodDate字段排序
table->SetOrderByClause(wxT("Pod_Date"));//根据上面的限定信息执行查询操作
if (!table->Query())
{
return HandleError(wxT("QUERY ERROR: "), table->GetDb());
//return 0;
}while (table->GetNext())//提取查询到的行
{
wxString msg; // Used for display messages
msg.Printf(wxT("Row #% lu --\nTitle : %s\nPodDate : %s\nWhere : %s\nWhen : %s\nWho : %s\nDisc : %s\nRelated : %s\nPhotoName :%s"),
table->GetRowNum(),
pPodPictureInfo->Title,
pPodPictureInfo->PodDate,
pPodPictureInfo->Where,
pPodPictureInfo->When,
pPodPictureInfo->Who,
pPodPictureInfo->Disc,
pPodPictureInfo->Related,
pPodPictureInfo->PhotoName
);
//检查表操作/现实获取的POD信息
//wxSafeShowMessage(wxT("Pod_wxDbTable Test"),msg);
}
------补充一点------
在SetColDefs中关联的变量不能使用wxString,只能使用wxChar[n]等格式。
struct PodPictrueInfo
{
wxChar Title[100];
......
}
http://flord.net/wxwidgets_wxodbc
标签: Open Source, wxWidgets
标签: Open Source
标签: Open Source, 学习