统计 |
blog名称:人在旅途 日志总数:175 评论数量:505 留言数量:13 访问次数:1668885 建立时间:2005年12月7日 |
生命是过客,人在旅途。奶奶是信基督教的,没啥文化,却养育了四子二女,还带过九个孙辈。老人家对生命的看法就是“人都是客人,迟早要回去的。”就以《人在旅途》来纪念她。

« | September 2025 | » | 日 | 一 | 二 | 三 | 四 | 五 | 六 | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | | | | | |
|
公告 |
本人上传的源程序中可能引用或使用了第三方的库或程序,也可能是修改了第三方的例程甚至是源程序.所以本人上传的源程序禁止在以单纯学习为目的的任何以外场合使用,不然如果引起任何版权问题,本人不负任何责任. | |

|
本站首页 管理页面 写新日志 退出
调整中...
[微软技术开发]About the multithread in VB |
人在旅途 发表于 2006/1/23 9:12:03 | Yes, you can use VC to create an object by which you can use to create a thread. So that means you can use the function of multithread in VB. But remember that you can not use the event function of object in that thread. Because the excution belongs to the thread in that object and the resource you used are in VB, and VB do not allow multithread share it's resource.
|
阅读全文(2184) | 回复(0) | 编辑 | 精华 | 删除 |
[微软技术开发]RICHTEXT BOX'S IME'S SETTING |
人在旅途 发表于 2006/1/23 9:09:58 | 'LOAD hOldIMEHandle = 0 hNewIMEHandle = 0 hNewIMEHandle = ImmCreateContext() hOldIMEHandle = ImmAssociateContext(rtfMail.hwnd, hNewIMEHandle) ImmSimulateHotKey rtfMail.hwnd, 48
'UNLOAD If hOldIMEHandle <> 0 Then ImmAssociateContext rtfMail.hwnd, hOldIMEHandle End If If hNewIMEHandle <> 0 Then ImmDestroyContext hNewIMEHand
|
阅读全文(4314) | 回复(0) | 编辑 | 精华 | 删除 |
[微软技术开发]Popup Menu |
人在旅途 发表于 2006/1/23 9:04:38 | if you use a popup menu to open a open a modal dialog, then you can not use popup menu in that modal dailgo. Because in Vb there is only one popup menu can be open at a time.(it is ok for modalless dialog,because at that time, the popup menu in mother form is already be closed after the new dialog is opened.) To save this problem, I use the timer. In the menu handling of the popup menu, I start a timer which will raise an event a short time later(later then the closing of the popup menu
|
阅读全文(2710) | 回复(0) | 编辑 | 精华 | 删除 |
[微软技术开发]About the ref value in VB |
人在旅途 发表于 2006/1/23 9:03:40 | In normal the reference value you changed in a routine will afect the value in the calling value. But there is an exception, that is the value of a class.
For example /**************************************/ sub changeV(byref i as long) i = 5 endsub
sub main() l as long l = 6 changeV(l) 'now the value of l is 5 dim x as new someclass x.l=6 changeV(x.l) 'the value of x.l is still 6, it had
|
阅读全文(1936) | 回复(0) | 编辑 | 精华 | 删除 |
[Java技术]Something about code convert in java |
人在旅途 发表于 2006/1/23 8:58:30 | 0.The string in Java are all unicode format,but in file,ftp,unix file,they have defferent format,so when read or write you need to convert then with/to with the correct format. 1.In JSP,the request.getReader will return a reader with "ISO8859_1" code settings,but this is not right. So you will need to use "new String(what.getBytes("ISO8859_1"), "MS932");" to translate the got string or use the following way: BufferedReader in = new BufferedReader(new InputStreamRea
|
阅读全文(2821) | 回复(0) | 编辑 | 精华 | 删除 |
|