逸逸记事
逸逸记事

我的分类(专题)

首页(175)
儿子(9)
SIP技术(9)
Web2.0(12)
摄影和DVD(8)
软件开发随笔(18)
名古屋打工生活(11)
微软技术开发(47)
Java技术(12)
加拿大移民生活(20)
生活点滴(6)
第一份工作--上海贝尔(18)
完成项目(13)
回国后的生活(0)


最新日志
独行者
终于知道什么叫外包了
人生悲哀之事
水晶报表中显示动态图片
水晶报表中的简单参数设置
怀念下小黑
dotnet中的数据连接Timeout
老板的思路
又买房了
交通事故

最新回复
回复:独行者
回复:怀念下小黑
回复:老板的思路
回复:mjSip学习笔记
回复:老板的思路
回复:dotnet中的数据连接Timeo
回复:mjSip学习笔记
回复:交通事故
回复:交通事故
回复:又买房了

留言板

签写新留言

您好,很希望问您一个关于jain-sip
生活经历就是最大的财富,羡哦~
java的Web开发问题
回复:疑问
IT还不如妓女呢,呵呵
myjavaserver的空间
求助
您的子域名已开通

统计
blog名称:人在旅途
日志总数:175
评论数量:505
留言数量:13
访问次数:1668885
建立时间:2005年12月7日

链接

 

生命是过客,人在旅途。奶奶是信基督教的,没啥文化,却养育了四子二女,还带过九个孙辈。老人家对生命的看法就是“人都是客人,迟早要回去的。”就以《人在旅途》来纪念她。

 

«September 2025»
123456
78910111213
14151617181920
21222324252627
282930

公告
  本人上传的源程序中可能引用或使用了第三方的库或程序,也可能是修改了第三方的例程甚至是源程序.所以本人上传的源程序禁止在以单纯学习为目的的任何以外场合使用,不然如果引起任何版权问题,本人不负任何责任.




     本站首页    管理页面    写新日志    退出
调整中...
[微软技术开发]TypeOf in the VB
人在旅途 发表于 2006/1/23 9:14:31

You can test the type of object in this way:
If TypeOf AddrBook Is ClsAddrBook Then MsgBox 12

阅读全文(3024) | 回复(0) | 编辑 | 精华 | 删除

[微软技术开发]Do not create or new an object in the loop like this(VB)
人在旅途 发表于 2006/1/23 9:13:14

 for each item in OjbsCollect
 dim obj as new ObjectX 'In this loop the obj will be created only once,and be used repeatedly.
 obj.operate=1
next item

阅读全文(2084) | 回复(0) | 编辑 | 精华 | 删除

[微软技术开发]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) | 编辑 | 精华 | 删除

[微软技术开发]How to search Japanese word in the richtext control?
人在旅途 发表于 2006/1/23 9:10:32

The end pos of the search must be double size of the text.
阅读全文(2128) | 回复(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) | 编辑 | 精华 | 删除

[微软技术开发]How to get the first 16 normal color values from the system palette
人在旅途 发表于 2006/1/23 9:05:43

1.program:
 PALETTEENTRY pe;
 CPalette* pPal = CPalette::FromHandle( (HPALETTE) GetStockObject(DEFAULT_PALETTE/*15*/));
 ASSERT(pPal != NULL);
 if (pPal->GetPaletteEntries(0/*1,2,...15*/, 1, &pe) == 0)
  return ::GetSysColor(COLOR_WINDOWTEXT);
2.Color names:
 MENUITEM "Black",                       ID_COLOR0   黒

阅读全文(5621) | 回复(1) | 编辑 | 精华 | 删除

[微软技术开发]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) | 编辑 | 精华 | 删除

[软件开发随笔]Edit in HTML
人在旅途 发表于 2006/1/23 8:56:51

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/editing/tutorials/html_editor.asp

阅读全文(2183) | 回复(0) | 编辑 | 精华 | 删除


站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.063 second(s), page refreshed 144765639 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号