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 biv343 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. Rajesh Karunakaran

    Timer doesn't trigger when run under Windows Task Scheduler

    Dear all, Yes, that worked! Now, the timer triggers at each hour, generates the files and uploads them. Thank you all.
  2. Rajesh Karunakaran

    Timer doesn't trigger when run under Windows Task Scheduler

    Chriss, This is solved. I just need to enter the folder of my application under Actions -> Settings -> 'Start in (optional):' Then it started, it creates my log file and now I am just waiting for it to trigger at the next Run Hour. Will update the status here.
  3. Rajesh Karunakaran

    Timer doesn't trigger when run under Windows Task Scheduler

    Hi Chris, Yes, I meant, when the app runs through Task Scheduler, it doesn't show UI. In that case, as you said, no form Init as well! So, I think, I need to add the Timer as a public control in my startup PRG file, not inside the form. Let me check that. Will come back here.
  4. Rajesh Karunakaran

    Timer doesn't trigger when run under Windows Task Scheduler

    In my application with UI, I have a timer. It checks, if the hour of time is 9, 10, 11... and so on and if matches, ie at each hour, process something and upload to an Ftp. If I run this in pc as usual the UI displays and the timer correctly does the process at each hour. When I set a Task...
  5. Rajesh Karunakaran

    QR generated by FoxBarcodeQR doesn't contain the full content

    [SOLVED] Chriss, The new version gives the complete content. I guess, the old version was not supporting above 255 characters Thanks for your support
  6. Rajesh Karunakaran

    QR generated by FoxBarcodeQR doesn't contain the full content

    Chriss, I am using an older version it seems. I have the new version 2.10. Let me try that. Will update status here.
  7. Rajesh Karunakaran

    QR generated by FoxBarcodeQR doesn't contain the full content

    This is actually for an e-Invoice. The qr data is base64 encoded and is JWT. The sample qr code has 953 characters and that's why I am testing with a 953 characters string. I am scanning with my mobile phone's qr scanner. When scanning the sample one, I can see the full content. When I...
  8. Rajesh Karunakaran

    QR generated by FoxBarcodeQR doesn't contain the full content

    Dear friends, I'm using the community library FoxBarcodeQR for generating qr codes. Using the below commands loQr = CREATEOBJECT("FoxBarcodeQR") s=REPLICATE('X',950)+'...' lcQRImage = loQr.QRBarcodeImage(s, lpath + "qrimage5.png", 5, 2) But the result qr code when scanned doesn't show the...
  9. Rajesh Karunakaran

    Select 1st record for each 'code' in table with multiple records for each 'code'

    Chriss, The table is not that big and I do not want to create an index as well. Also, with my query it fetches records I need fast. Anyway, thank you for your input and idea on using an IDX freely in such circumstances.
  10. Rajesh Karunakaran

    Select 1st record for each 'code' in table with multiple records for each 'code'

    ...have a Unique key set and I can't create one too! So I solved it like below, I was trying for a shorter method though (why I posted here). SELECT *, RECNO() rno FROM yourtable INTO CURSOR allrecs SELECT ref, MIN(rno) AS rno FROM allrecs GROUP BY ref INTO CURSOR firstrecs SELECT allrecs.* ...
  11. Rajesh Karunakaran

    Select 1st record for each 'code' in table with multiple records for each 'code'

    Rob, thanks. To test, I copied my table to 'yourtable'. It gives error SQL: Column 'yourtable' not found. In fact, I also was trying in the same way. Are you sure this code works at your end?
  12. Rajesh Karunakaran

    Select 1st record for each 'code' in table with multiple records for each 'code'

    I have a table with column 'code' and many other details. Table has multiple records for each 'code'. What is the simplest/shortest method to select only the 1st record for each 'code'? Thanks
  13. Rajesh Karunakaran

    GDIPlusX library seems not respecting Image Control Stretch setting!

    Chriss, I have not studied deeper the methods, properties or other features of the library and its controls. I am just following the ways shown in their demos (and obviously made some modification to match my needs). If you download the library, you will see a form...
  14. Rajesh Karunakaran

    GDIPlusX library seems not respecting Image Control Stretch setting!

    ...size correctly applied. Can see imgCanvas with border and diagonal cross lines. Basically, below is the basic and essential code that I use: */ In form Load method Do system.app && this is a part of library and we need to do this. */ In form Init method limg = "myPic.jpg" */ This is...
  15. Rajesh Karunakaran

    GDIPlusX library seems not respecting Image Control Stretch setting!

    Dear all, I am using the GDIPlusX library downloaded from here. I have a form and added the ImageCanvas control from the above library in it. At run time, I am making the form maximised to entire screen and the size of ImageCanvas control also. In native Vfp image control, when we set the...
  16. Rajesh Karunakaran

    TRY/CATCH routine: Is FINALLY is mandatory in version before 9.0?

    Yes Chris, when many people mention it like TRY/CATCH, it's more onto the purpose than to the syntax!
  17. Rajesh Karunakaran

    VFPxWorkbookXLSX: "SaveTableToWorkbookEx" method shows Windows file copy dialogs

    Scott, The following line causes the Windows native dialogs to appear. loShell.NameSpace(tcZipFile).MoveHere(loFile, FOF_SILENT) This is in the "AddFilesToZip" method. Obviously, loShell is created as below loShell = CREATEOBJECT("shell.application")
  18. Rajesh Karunakaran

    VFPxWorkbookXLSX: "SaveTableToWorkbookEx" method shows Windows file copy dialogs

    Dear all, I am writing contents of a DBF file to a XLSX file using the VFPxWorkbookXLSX library. When the "SaveTableToWorkbookEx" method is running, it shows the native Windows' file copy dialogs. Is there a way to disable these?
  19. Rajesh Karunakaran

    TRY/CATCH routine: Is FINALLY is mandatory in version before 9.0?

    Dear all, I think that particular error comes up when we don't have a ENDTRY after the CATCH. TRY =MYPRG("PARAM1") && This PRG has TRY/CATCH and it works fine. CATCH Now, when MYPRG exits, it gives the mismatch error. So, let me check with my client, if his calling program has a wrong...

Part and Inventory Search

Back
Top