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 SkipVought 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. Nigel Gomm

    Is it pososible for VFP to access camera and read qr code?

    Mandy, it may be possible through the WinRT. There's a session coming up at FoxFest. There's no mention of cameras or QR codes in the session description but i'm sure questions will be asked during the session. If it is possible it will likely involve C#. hth n
  2. Nigel Gomm

    Error in nfJsonCreate in distributable but was working fine in development environment

    i've had issues in the past with both nfjsonread and nfjsoncreate because they don't use m.dot. in the runtime environment might you have an imported excel sheet with field names a,b,c,d,e,etc ? either select 0 before calling nfjsoncreate or change that bc to m.bc . hth n
  3. Nigel Gomm

    There are text boxes that, under ce

    Sasha, or leave enabled but have the .when() method return false under those conditions. that said, the idea of the disabled/readonly colour change is to indicate to the user that they can't/must't be changed. hth n
  4. Nigel Gomm

    how to do box as shown in the picture?

    Mandy, that's the old (and these days very dated & ugly) 3d effect. set the .themes property for each control (or the form) to false and .specialeffect property to 0. n
  5. Nigel Gomm

    How to interrupt a running VFP app without having VFP interrogating an outside file, device or other

    Griff, perhaps no benefit. But a dderequst() from one (UI) process does cause an "event" in the receiving process (in that the ddesetopic passes a UDF to fire when the topic is called by the first (UI) process.) i mention it a bit tongue-in-cheek... it's more or less deprecated but it does...
  6. Nigel Gomm

    How to interrupt a running VFP app without having VFP interrogating an outside file, device or other

    Dennis, VFP still has DDE ! so one (background?) process would ddesetservice() and ddesettopic() and the other (UI) process would ddeinitiate() and ddeexceute() or dderequest() hth n
  7. Nigel Gomm

    How to call a button from a called form?

    Mandy, Mike and Colin have answered your question "as asked"...... but it's probably worth adding that that is not a great way of doing things. At some point in the future someone may be working on the parent form and decide to change the button's name or move it onto one the pageframe tabs or...
  8. Nigel Gomm

    Highlighting (by bold, italic etc.) only part of a string

    Rajesh, then you are probably already showing a grid of filtered records...... highlighting the column should be good enough? i do similar for browsing records.. in this case the filter reduces the record set and i've not been tempted to highlight.... hth n
  9. Nigel Gomm

    Highlighting (by bold, italic etc.) only part of a string

    Rajesh, we need to know more about what you are trying to achieve. As has been said you can't have mixed fonts within labels, textboxes or other native VFP controls. But if this is some sort of lookup would this approach work? this is done using the grid column's dynamicbackcolor property...
  10. Nigel Gomm

    Create a report showing all data in an aribitrary table

    Griff/Mike i just tried CREATE REPORT in a runtime command window thing ... and yes it worked.... n
  11. Nigel Gomm

    October's virtual foxfest

    Tamar, sorry if i jumped the gun n
  12. Nigel Gomm

    October's virtual foxfest

    sessions have been announced for October 2022's virtual foxfest https://virtualfoxfest.com/sessions.aspx
  13. Nigel Gomm

    MySQL ODBC 8 Error: the number of attributes is larger than the number of attribute values provide

    try bigint to int (16384) and big result set (8) options in your connection string odbc options hth n
  14. Nigel Gomm

    Sending email using Outlook with email account other than the default

    David, there's a .sendusingaccount property on the mailitem object. so.. to find the account you want. loOutlook = CREATEOBJECT("outlook.application") loMailitem = loOutlook.createitem(0) loSendingAccount = NULL FOR EACH loAccount IN loOutlook.SESSION.Accounts IF loAccount.displayname =...
  15. Nigel Gomm

    Marco Plaza's Code for nf_num2en.prg

    worth reposting the code here as i suspect that other thread will get removed soon.... *-------------------------------- * Marco Plaza, 05/2022 * nf_num2en.prg @nfox.dev * ( use it as you like ) *-------------------------------- lparameters num local num,cnum,rn,n1,n2,n3,x private...
  16. Nigel Gomm

    Foxpro to Quickbooks Online

    Mukesh, there is a REST API or there is this CDATA driver which enables you to treat quickbooks as an ODBC cursor. But it's not cheap - especially if you need royalty free. hth n p.s. if you're unfamiliar with REST APIs start here
  17. Nigel Gomm

    convert png to jpg

    using system.app DO system.app with _SCREEN.SYSTEM.Drawing losrc = .Bitmap.fromfile(GETFILE("png")) loEncoderParameters = .imaging.EncoderParameters.New(1) loEncoderParameter = .imaging.EncoderParameter.New(.imaging.Encoder.Quality, 100) loEncoderParameters.PARAM.ADD(loEncoderParameter)...
  18. Nigel Gomm

    How to fill a list box in a form with unique labels.

    Mike Y the array is created by the addproperty (or in the baseclass) it's just not populated if the table is empty. and you can always if _TALLY = 0 this.asource(1) = "(none found)" && or somesuch endif immediately after the select. n
  19. Nigel Gomm

    How to fill a list box in a form with unique labels.

    Klaus, ..because the SELECT builds the final array direct with "into array this.asource" no copying between arrays required. n
  20. Nigel Gomm

    How to fill a list box in a form with unique labels.

    German12 in the combobox's .init THIS.AddProperty("asource(1)") SELECT DISTINCT(company) AS company FROM customer INTO array this.asource THIS.RowSourceType=5 THIS.RowSource="THIS.aSource" or add a property .aSource(1) to your combobox's baseclass and you won't need the .addproperty() . hth n

Part and Inventory Search

Back
Top