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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by tek2tips

  1. tek2tips

    call windows media player in vfp

    Hi John, The following code closes Windows Media Player: #DEFINE WM_SYSCOMMAND 0x112 #DEFINE SC_CLOSE 0xF060 DECLARE INTEGER FindWindow IN user32; INTEGER lpClassName, STRING lpWindowName DECLARE SHORT PostMessage IN user32; INTEGER hWnd, INTEGER Msg, INTEGER wParam,; INTEGER...
  2. tek2tips

    ListBox and EditBox controls

    CLEAR CLEAR ALL obj = CREATEOBJECT('Tform') obj.Show(1) DEFINE CLASS Tform As Form Width=500 Height=300 Autocenter=.T. ADD OBJECT txt As TextBox WITH; Left=20, Top=20, Width=200, Height=23,; Format='K' * TabStop=.F. does the job ADD OBJECT lst As ListBox WITH; Left=20, Top=54...
  3. tek2tips

    creeper

    Hi Darrel, I wrote that creeper example (News2News). Testing it on WinXP+Vfp6, Pentium 4, 1.6GHz, 256 MB -- I have absoultely no trouble accessing radio buttons and moving the form while the creeper was running. Could you provide more details: OS, FoxPro version, CPU clock rate etc. I wonder...
  4. tek2tips

    How to obtain system information to be used for support purpose?

    Actually I put this update two days ago after reading this thread. Anything I can do :-)
  5. tek2tips

    How to obtain system information to be used for support purpose?

    Check this update showing how to call NetServerGetInfo under Win2000/XP: In the example convert cBuffer into cursor like the following: CREATE CURSOR csResult (ch C(1), asc I) FOR ii=1 TO Len(cBuffer) ch = SUBSTR(cBuffer, ii,1) INSERT INTO csResult VALUES (m.ch, asc(m.ch)) ENDFOR It...
  6. tek2tips

    WINDOWS API CONSTANTS

    Really you don't need to be a News2News member to get access to the list of constants at http://www.news2news.com/vfp/w32constants.php There is a limitation, comparing to member access, you are able to get one constant at a time. For example, typing name of constant EWX_ returns a list of six...
  7. tek2tips

    Suppressing PRINT SCREEN KEY

    There is another draconian way: use Timer event to clean clipboard like this: _CLIPTEXT = ' ' Sending any data to the Windows clipboard automatically removes its previous content.

Part and Inventory Search

Back
Top