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 Wanet Telecoms Ltd 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 normanhk

  1. normanhk

    Is it possible to check whether a button on the keyboard is physically

    My situation is that some crazy users just press a key and do not release the key (of course I cannot educate the user to press a key properly). So Windows auto-repeat finction just keeps on sending repeating characters to the keyboard buffer. So if I try to show some pictures and sound clips at...
  2. normanhk

    VFP 3 and 1G RAM

    Thank you for your advices. Actually I have already upgraded. But there are hundreds of old forms which are very useful to me (actually they are real money). If I don't use VFP3, I can't even go inside and correct the error. It is not feasible to correct all the error as the quantity is so big...
  3. normanhk

    VFP 3 and 1G RAM

    Thank everybody. It seems that there is no solution. I have to use VFP3 as there are a lot of stuffs written in VFP3. Although I can transfer them to VFP8 easily, but sometimes VFP8 cannot open some forms. Those forms have some errors. VFP3 merely ignore those errors and allow it to run...
  4. normanhk

    VFP 3 and 1G RAM

    Recently I have upgraded my RAM from 512MB to 1G. My VFP 3 then go crazy. When I try to start it, it responds with "Insufficient memory". If I return to 512MB, the program works once again. Altough I also have VFP 8, I need to use VFP 3 occasionally for some old jobs. Is there any possible...
  5. normanhk

    SQL PassThrough and Transactions

    Hi itflash, Do you mean that you want to guarantee that every users can insert into the table and get a unquie ID to identify the record hey inserted? As MySQL does not support transaction, I am using the following method. =SQLEXEC(h,"LOCK TABLE XXX WRITE") =SQLEXEC(h,"INSERT...
  6. normanhk

    Why no sound when ? chr(7) in VFP8?

    Hi everybody, Finally I have make an exe. The exe gives sound in another computer. But the same exe cannot give sound in my computer still. So it is certainly a clash of something. If I have time I will try to identify the thing that cause the clash. Anyway the problem is already solved if it...
  7. normanhk

    Using GIF file in VFP8

    Hi mgagnon, Definely no problem in IE. I make the GIF myself with Flash. Best regards, Norman
  8. normanhk

    Why no sound when ? chr(7) in VFP8?

    Hi ramani & slighthaze, Thank you again. I have try slighthaze's code but it does not work. When I comment the line "SET BELL TO", I can play the sound after I close the form (type ? CHR(7) in command window). If all of you find that it works, I start to suspect my sound card driver...
  9. normanhk

    Using GIF file in VFP8

    Hi ramani, An interesting point is you can see the animation directly at the design stage (while you MODI FORM xxx). Even in the form designer, the gif is already played twice!! So it should not be your suggested reason. I wonder that actually when the object is activiated, it triggers some...
  10. normanhk

    Why no sound when ? chr(7) in VFP8?

    Ramani, Sorry to border you again. My case is: exactly the same thing gives sound in VFP3 but no sound in VFP8, in the same computer and same time. Even the simpliest form with a single button behaves like this. So I don't think that it is a problem of path and coding. Best regards, Norman
  11. normanhk

    Why no sound when ? chr(7) in VFP8?

    Ramani, I have tried exactly what you mentioned but no sound again. Are you really using VFP8 (I have found no problem in any previous versions) in Windows XP Pro? If yes, I start to puzzle anything wrong about my computer. Best regards, Norman
  12. normanhk

    Why no sound when ? chr(7) in VFP8?

    Ramani, thank you for your reply. Actually I have tried both ? and ??. Both do not work. I am using Windows XP Pro with all the updates done. Regards, Norman
  13. normanhk

    Why no sound when ? chr(7) in VFP8?

    I used to use the following way to play sound files in VFP3. It is perfectly OK. But when I update to VFP8, the old codes give no sound at all. SET BELL TO abc.wav ?? CHR(7) SET BELL TO One strange thing I have observed is that it fails to give sound only if there is a FORM running (after DO...
  14. normanhk

    Using GIF file in VFP8

    Slighthaze, thank you very much for your reply. Actually I already use a very silly (but practical) solution. I just make the GIF longer with a tail of fixed frames. After WAIT a certain time I just replace with a non-animated GIF that contains the last frame. So there is no chance to play...
  15. normanhk

    Using GIF file in VFP8

    When I use animated GIF in VFP8, I find some abnormal outcomes. If the GIF is a single round GIF, I always find the GIF played twice before it stops. What's wrong and is there any solution?

Part and Inventory Search

Back
Top