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 Andrzejek 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: *

  • Users: tsh73
  • Order by date
  1. tsh73

    how to save current line in a grid

    No, just on a form.
  2. tsh73

    how to save current line in a grid

    Thank you MikeLewis, it make me think differently so it helps. Apparently there are more then I just said... More than I thought then I type my question. Here's what's going on: I have a form named frmTermsR with a grid and Save button. On Form Load I create cursor (from table to be modified and...
  3. tsh73

    how to save current line in a grid

    Hello everibody. Excuse me - I'm sure there should be easy way to do it, but I just cannot figure out (or recall if I seen that before). Problem: I have a editable grid upon a table. Then I close grid, changes I made in current line are lost. (it seems that they saved only then I change current...
  4. tsh73

    PNG, GIF and TIFF

    >>You can read pixel by pixel , all the image, and create a new image that would be a bitmap. don't do that unless you really have to (or may be you just like to reinvent the wheel). Unless you 'll find a ready workable code to decode all formats you need. There are better things to spent a time on
  5. tsh73

    function graphic drawing

    So you want it to actually evaluate your input? basically you have two ways to do it. hard way - program math evaluator (or find working one). I'm pretty sure there are many, and Kernigan & Ritchie I think have one as example and may be Straustroup too. Use google for say Expression Evaluator...
  6. tsh73

    Calling Oracle Stored Procedure from Borland C++

    did you try to print q->SQL->Text string? does it look exactly as it runs un SQL Plus (quotes, parens, ...)?
  7. tsh73

    problem with OUT OF MEMORY

    Just my 2 cents. On each saving BASIC writes DECLARE (at least QBasic does that). so it puts parameter types in DECLARE, like DECLARE SUB wallcheck (playerdircheck!, playerwallcheck!) (see "!")? after adding DEFINT parameter type is changed, hence error "parameter type mismatch" You can just...
  8. tsh73

    A problem with Borland C++Builder for Microsoft Windows

    Islamshahin, >>But I didn't know the reason of that. ypu have to allocate memory before you read to it with scanf. Or you just writing at some random place at memory, may be over-writing critical data (part of DOS ;)) ) Windows does not allow for such things (or at least not supposed to). So...
  9. tsh73

    A problem with Borland C++Builder for Microsoft Windows

    You can use width in %s format. And don't forget that for char t[100] maximum string length is 99: scanf("%99s",t);
  10. tsh73

    How to detect and process multiple keys pressed at once?

    ok, I continue looking here in TekTips http://www.tek-tips.com/viewthread.cfm?qid=1023381 seems that API call GetAsyncKeyState could be of help.
  11. tsh73

    How to detect and process multiple keys pressed at once?

    I think that you get here is how Windows itself processes keyboard events. So to get past it you should go one layer deeper, probably Direct X. (this is just my musings. I never touched Direct X in my life). I did some search but found nothing of much use. May be you'll be more lucky. Here...
  12. tsh73

    Using TMemo

    like this: Form4->Memo1->Lines->Add("ghfffgjhg22"); See help on TStrings, Lines in Memo are actually TStrings
  13. tsh73

    Two or more IF commands doesn't work

    so you should use IF throw = 23 OR throw = 29 instead
  14. tsh73

    Russian (Cyrillic) support.

    we in Russia probably have Rusian as default charset ;) jf cource that mean we'll have same problems trying to implement accented characters of French and German. Two ideas come to my mind, both not tested. (I have no Builder after all) (I pretty sure I can do it in VB6 - at least there is...
  15. tsh73

    Two or more IF commands doesn't work

    >>You can use string labels , like "again". >It doens't really matter right? that's up to you. You are the programmer ;)) >>Help is your friend. Press F1 in Qbasic. >I'm aware of this function but i don't always understand the tiny help it gives, you know. then you can always ask here ;))...
  16. tsh73

    Two or more IF commands doesn't work

    You can use SELECT CASE for multiple select. You can use block IF (IF | END IF pair) to group several statements. You do not have to use line numbers unless you want to. You can use string labels , like "again". Last thing. Help is your friend. Press F1 in Qbasic. I still do not know that your...
  17. tsh73

    Converting 0x503B to decimal routine

    I was surprised but Hex is internally supprted by FoxPro. So: aStr = "0x503B" aDec = &aStr ?aDec
  18. tsh73

    image details shown in windows

    look this thread http://www.tek-tips.com/viewthread.cfm?qid=1290114 exactly what Explorer shows. Works only in XP, though (not earlier)
  19. tsh73

    MS Paint insert

    so do you want to be able to draw by hand (as in Paint) or draw math-related graphs from code?
  20. tsh73

    Windows Service from VB

    there is a free program (I believe) called srvany.exe. Google for it.

Part and Inventory Search

Back
Top