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!

Search results for query: *

  • Users: Headwinds
  • Order by date
  1. Headwinds

    VFP6 OK in dev. mode, .exe clanks

    ...= 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...
  2. Headwinds

    VFP6 OK in dev. mode, .exe clanks

    ...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)...
  3. Headwinds

    VFP6 OK in dev. mode, .exe clanks

    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...
  4. Headwinds

    VFP 7 Prints B&W to Color Laser Printer

    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...
  5. Headwinds

    Conditionally Assigning a Value to a Combo Box

    Yes. That works beautifully. Thanks for your instruction.
  6. Headwinds

    Conditionally Assigning a Value to a Combo Box

    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...
  7. Headwinds

    1529 Error and Alternate Data Sets

    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...
  8. Headwinds

    1529 Error and Alternate Data Sets

    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...
  9. Headwinds

    Nondefault Charts in Reports

    ...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 = &quot;&quot; + CRLF SCAN My_Data = My_Data +...
  10. Headwinds

    Obtaining MS Access Schema Information

    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...
  11. Headwinds

    Obtaining MS Access Schema Information

    ...names, etc.). I can get the names of columns in an Access table by connecting to an Access database, defining a select statement like &quot;SELECT * FROM [tablename]&quot;, returning the results to a DataSet, and then looping through the DataSet's Columns collection. However, I can't find...
  12. Headwinds

    Changing Textbox Values Based on a ComboBox Selection

    John, if I could give you five stars I would. Can't believe how long I looked for this information, and how easy it makes things.
  13. Headwinds

    Changing Textbox Values Based on a ComboBox Selection

    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...
  14. Headwinds

    Programmatically Call a Method Usually Triggered by an Event

    Thanks, John! I just wish there were a few more &quot;Perform&quot; possibilities. I'm coming to VB.NET from Visual FoxPro, in which one can call any method from any other method.
  15. Headwinds

    How do I change from , to .

    This may be too late to help, but try the following (I'm assuming your variable is a string). Dim thisstring As String = &quot;2,6&quot; MsgBox(&quot;thisSTring was initialized to &quot; & thisstring) thisstring = Replace(thisstring, &quot;,&quot;, &quot;.&quot;) MsgBox(&quot;thisSTring is now...
  16. Headwinds

    Programmatically Call a Method Usually Triggered by an Event

    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...
  17. Headwinds

    mailto: with Outlook Express

    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)
  18. Headwinds

    mailto: with Outlook Express

    Thank you! This assignment: lcMail = &quot;mailto:bill@bonzo.com&quot; + ; &quot;?&Subject=Tomorrow&Body=See you.&quot; 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...
  19. Headwinds

    mailto: with Outlook Express

    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 = &quot;mailto:bill@bonzo.com&quot; + ; &quot;&Subject=Tomorrow&Body=See you.&quot...
  20. Headwinds

    Finding the Row Index for a DataTable

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

Part and Inventory Search

Back
Top