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 gkittelson 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. JoeyDC

    VFP on Windows 10 - Updated - Success

    It seems vernpace has been smoking something other than tobacco.
  2. JoeyDC

    chr(13)+chr(10) -- CR+LF

    Thanks, guys. I knew someone would know the answer.
  3. JoeyDC

    chr(13)+chr(10) -- CR+LF

    I saw some code the other day in this forum where the programmer printed the second line of a MESSAGEBOX() by using just "<string>"+chr(13)+<"string>". I have always seen this done by using "<string>"+chr(13)+chr(10+"<string>"), instead of chr(13) alone. So I had to try it for myself, and it...
  4. JoeyDC

    How do I get rid of that lousy bell?

    To all, Thanks for the very informative and instructive discussion. I thought I was asking a simple question and I'd get a simple answer.[bigsmile] But since I am my own user, this developer can cram (if he can figure out how) things down this user's throat and the user just has to take it...
  5. JoeyDC

    How do I get rid of that lousy bell?

    I guess you mean you want me to name names, as we say here in the US. Is this your way of calling me a liar? Just how much proof do you need if I reveal the name. Then are you going to say "Show me the code."? Since you are evidently so interested, the person in question is Andy Kramek. Back in...
  6. JoeyDC

    How do I get rid of that lousy bell?

    Olaf, Yes I can do that. Not a problem. I just never realized choosing the wrong icon would be so annoying. I don't understand that statement. Please enlighten me.
  7. JoeyDC

    How do I get rid of that lousy bell?

    So it is a windows thing. But I'm old and grouchy, so at the risk of becoming un-welcome here, I'm going to have to respectfully disagree with you about not messing with Windows Themes from with within VFP. If you really believe that, then logic would require that you to agree that the VFP...
  8. JoeyDC

    How do I get rid of that lousy bell?

    I've set the bell off in every way I can think of, and this messagebox() function still sounds it when it pops up --- LOCAL lnSomeThing as Number SET BELL off lnSomeThing=MESSAGEBOX('"Yes" to do something. "No" to do something else',4+16,"Do something?") IF lnSomeThing=6 ** do something ELSE...
  9. JoeyDC

    the file exists, but it doesn't exist ??

    I'm about to decide that keeping this thread alive is a waste of your time and bandwidth. Mike -- I now understand, after reading what Olaf said, the reason either command works in the demo and I mow fully understand your main point about which command is correct. Olaf -- Your statement --...
  10. JoeyDC

    the file exists, but it doesn't exist ??

    Olaf, I guess I don't understand the point you are trying to make. The code you presented works exactly as you state. Use (_samples+"Tastrade\data\customer.dbf") ? DBused("tastrade") ? indbc("customer","TABLE") && errors set database to tastrade ? indbc("customer","TABLE") && .T. However, it...
  11. JoeyDC

    the file exists, but it doesn't exist ??

    Dan, Thanks for responding. Yes, I paraphrased. The word The indeed does not appear at the beginning of the sentence, but unless you are looking the phrase up in some kind of table, which you obviously did, it shouldn't matter. The meaning is exactly the same. However, I did find the problem...
  12. JoeyDC

    the file exists, but it doesn't exist ??

    I found a demo online that I wanted to try. When I run the program, VFP throws up a dialog saying "The file does not exist." The offending line is the second line of this code: If File("Customer.dbf") Drop Table Customer Endif The file does exist. And if it didn't, why would the second line of...
  13. JoeyDC

    Recognizing CTRL+INS in a Grid KeyPress Event

    The macro for CTRL+INS also works for me. Win 7, VFP 9 BTW, Windows may have "borrowed" CTRL+C, CTRL+V, CTRL+X from Mac, but those were also in use in Apple Basic on an Apple II+. They might have been in use in other BASICs as well.
  14. JoeyDC

    Losing code saved in form methods

    Gee, it's so nice to come here and get beat up. I really needed that. My wife just ain't big enough top pull it off. Thanks.
  15. JoeyDC

    Losing code saved in form methods

    Thanks for your replies. 1. Read-only is not set. 2. I'm a one man operation so I don't think I need version control and don't use it. 3. I use MSIE for virus prevention, but it never was a problem before. I've used it a long time. 4. I don't know how to use process monitor. I suspect, like...
  16. JoeyDC

    Losing code saved in form methods

    Has anyone else experienced this? I have a form that I am trying to get it to do exactly what I want it to do. So I make lots of changes to it trying out various ways to accomplish what I want. After I change something in the form designer, I run the form. A dialog box asks me to save the form...
  17. JoeyDC

    Choosing a printer at run report time

    Mike, your first reply was correct, and I totally understand about hard-coding. Olaf, thanks for your incite. Since I'm not on a network myself, I don't know all the "ins" and "outs" of the problems associated with one. Your solution does seem likely to be more appropriate if one is on a network.
  18. JoeyDC

    Choosing a printer at run report time

    thread184-1691596 I'm new to this forum so I have been reading a lot of older posts. I came across thread184-1691596. The gist of the responses was that you should virtually never hard code a printer choice in your code, but allow the user to make the choice. I understood the discussion about...

Part and Inventory Search

Back
Top