Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. xzhang

    print thread id in TRACE

    What code I should use to access current threadID and print it in TRACE statement when running a app in debugger mode? I tried 'TRACE(&quot;+ + somewhere in a function=<%d> + +\n&quot;, @TIB + 0x24 );' and it did not work, though '@TIB + 0x24' worked in watch window. Thanks. Xiaoming
  2. xzhang

    How to show 2 CListCtrl in one CControlBar

    Hi, Jeffery: My goal is to have one CControlBar-derived class object which shows two objects of CListCtrl derived classes in the CMDIFrameWnd of my application. One CListCtrl object will be at the left and the other CListCtrl object will be at the right of client area of the CContrlBar object...
  3. xzhang

    How to show 2 CListCtrl in one CControlBar

    Hi, Is it possible to create 2 CListCtrl in a CControlBar? Thanks. Xiaoming
  4. xzhang

    How to create a second CSplitterWnd in CMainFrm

    Hi, Our app's main frame contains a client window on left side and CSplitterWnd on right side of the Main frame's client area. My question is that: is there way to create a second CSplitterWnd which is independent with the first CSplitterWnd? The second CSplitterWnd is expected to located at...
  5. xzhang

    How to call a function in CMainFrm.cpp of a exe from a function in a d

    HI, Is there any MS article which describes how to repeatly call a function of CMainFrm class in a .exe file from a function of a class in a .dll file? Thanks. Xiaoming
  6. xzhang

    FirstDayOfMonth function shown y2k problem

    Hi, We use Coldfusion Server 4.5 on Unix. The following code produced unexpected date: <cfoutput> #DateFormat(now()-1,&quot;mm/dd/yyyy&quot;)#<br> #DateFormat(FirstDayOfMonth('01/01/1900'),&quot;mm/dd/yyyy&quot;)#<br> #DateFormat(FirstDayOfMonth('01/01/1950'),&quot;mm/dd/yyyy&quot;)#<br>...
  7. xzhang

    Time Compare: show the elapsed time

    Hi, Following is a coldfusion code that roughly calculates the time in second used by a stored procedure. If you want the formate in your post, you can further convert the time in second to hour, minute, and second. <cfset smpstart=((hour(now()))*3600 + (minute(now()))*60 + second(now()))>...
  8. xzhang

    performance question

    Hi, I am writing a cfm page, which calls four stored procedures to get info from Informix Database. My question is: do I get fast response/performance boost if I combine/integrate the four into one stored procedure, which return all info the page required. Thanks. Xiaoming
  9. xzhang

    how to set timeout parameter for a specific cfm file

    Hi, I am writting a cfm page which queries data from informix databse and it takes a couple of seconds up to dozens of minutes dependent on input argments for the query. From coldfusion admin page, we set up the timeout request as 30 seconds. However, I like to know whether there is a...

Part and Inventory Search

Back
Top