...= RTRIM(holder_lb.thistext)
DO WHILE ISNULL(RIGHT(m.this_string, 1))
m.this_string = LEFT(m.this_string, LEN(m.this_string) - 1)
ENDDO
*!* Skip empty strings
IF EMPTY(m.this_string)
LOOP
ENDIF
*!* Iterate through each string
DO WHILE m.knt <= LEN(m.this_string)
*!* Save acronyms...
...maybe m.new_one is a good acronym
m.start = .F. && If .T., m.new_one has only a single character
SCAN
m.this_string = RTRIM(holder_lb.thistext)
*!* Skip empty strings
IF EMPTY(m.this_string)
LOOP
ENDIF
*!* Iterate through each string
m.knt = 1
DO WHILE m.knt <= LEN(m.this_string)...
I've got a function that searches a text file, locates strings that appear to be acronyms, and outputs a spreadsheet listing the candidate acronyms. It runs fine in development mode, but when I compile it and run it from the .exe file on the same PC on which I have VFP installed, it hangs...
I've got a VFP 7 application with a report that contains a letterhead logo that's in color. The color shows when the report is previewed, and it prints in color to an inkjet printer. But it prints black and white to an HP color laser printer. Is this normal? I've got the latest update to VFP...
I'm stumped on something that I think should be very simple. I have two combo boxes in a subform. If the user selects a particular value from the first combo box, the second one should have the same value; otherwise, they are independent.
So, on the first combo box, I've written an On Change...
Got it. The problem appears to have been that the search path returned to the primary data set, found the .dbf file that I was trying to create, and objected to doing it again. To get around this, I temporarily reset DEFAULT to the location of the alternate data set, and that's where the new...
I have a VFP7 application that is used by a church group to register attendees at conventions, record payments and meal preferences, print nametags, and so on. Last year, while it was still a VFP6 application the group started using it for registering attendees at several different kinds of...
...on the right side of the chart showing which color corresponds to which X value. The X values are not displayed on the X-axis.
SELECT cCount
*!* Load the chart.
#DEFINE CRLF CHR(13) + CHR(10)
#DEFINE TAB CHR(9)
LOCAL My_Data
My_Data = "" + CRLF
SCAN
My_Data = My_Data +...
Many thanks to the folks who sent helpful suggestions about this issue. After spending several days experimenting with their suggestions, I thought I’d report briefly on the results.
(1) Using the Access MSysObjects table. This works fine, but there are a couple of prerequisites needed before...
...names, etc.). I can get the names of columns in an Access table by connecting to an Access database, defining a select statement like "SELECT * FROM [tablename]", returning the results to a DataSet, and then looping through the DataSet's Columns collection. However, I can't find...
A type of Windows form that I frequently need to use has a combobox at the top and a number of textboxes and checkboxes whose values should change depending upon the selected item in the combobox. I can bind the combobox to a column in a table in a DataSet, and I would like the textbox and...
Thanks, John! I just wish there were a few more "Perform" possibilities. I'm coming to VB.NET from Visual FoxPro, in which one can call any method from any other method.
This may be too late to help, but try the following (I'm assuming your variable is a string).
Dim thisstring As String = "2,6"
MsgBox("thisSTring was initialized to " & thisstring)
thisstring = Replace(thisstring, ",", ".")
MsgBox("thisSTring is now...
Suppose I have a Windows Form containing a button SetValues, and I have written code for the SetValues.Click method that assigns values to a number of variables. However, I would like the SetValues.Click code to execute when a user performs some other action as well--say, when she clicks in...
Does that work for you? When I paste the commands from your post into the Command Window and run it, I still get a blank line at the start of the message. (Shrug)
Thank you!
This assignment:
lcMail = "mailto:bill@bonzo.com" + ;
"?&Subject=Tomorrow&Body=See you."
now gets the address into the To: line and the body into the body--although the body is preceded by a blank line. But the Subject: line is empty.
To get the subject...
I'm using ShellExec to prepare some e-mail messages. It works fine in Outlook 2000, but not in Outlook Express 6. In Outlook Express, the entire string ends up as the address. That is, if I set:
lcMail = "mailto:bill@bonzo.com" + ;
"&Subject=Tomorrow&Body=See you."...
I have a DataGrid on a Windows form bound to a DataTable in a DataSet. The DataTable query retrieves columns including the OrgName and Orgid from a database table Organization. The Orgid is a meaningless sequential number, so the query orders the results by OrgName to help users easily locate...
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.