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...
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...
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...
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.
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...
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...
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 --...
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...
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...
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...
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.
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...
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...
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.
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.