您的位置:程序门 -> windows专区 -> windows nt/2000/xp/2003



using cfiledialog in windows service


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


using cfiledialog in windows service
发表于:2007-03-23 10:39:58 楼主


question:   i   am   using   a   windows   service   program   to   open   a   cfiledialog.   the   normal   operation   of   the   file   dialog   works   fine   except   that:

1.   when   choosing   my   documents,   it   goes   to   "c:\documents   and   settings\default   user\my   documents "   instead   of   the   logged   in   user 's   my   documents   folder   (e.g.   "c:\documents   and   settings\administrator\my   documents ")

2.   when   choosing   desktop,   it   goes   to   "c:\documents   and   settings\all   users\desktop "   instead   of   the   logged   in   user 's   desktop   folder   (e.g.   c:\documents   and   settings\administrator\desktop)

3.   when   clicking   on   the   create   new   folder   icon,   no   new   folder   icon   is   displayed   until   f5   is   pressed

4.   after   changing   the   folder/file   name   in   the   dialog,   the   displayed   name   turned   back   to   the   original   name.   after   pressing   f5,   the   displayed   name   updates   to   the   new   name.

5.   after   deleting   the   folder/file   in   the   dialog,   the   icon   still   exists   in   the   dialog   until   f5   is   pressed


when   i   copy   the   code   using   cfiledialog   to   a   non-service   application   program,   the   above   problems   do   not   appear.

does   anyone   know   how   to   solve   the   problem?
thanks!!


发表于:2007-03-23 10:50:211楼 得分:0
你先查看一下cpu使用率,查看一下内存占用情况。怀疑是负载过重造成的!
发表于:2007-03-23 12:47:282楼 得分:0
oh,   see   your   note   again


快速检索

最新资讯
热门点击