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.
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.
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...
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...
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...
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.
...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.* ...
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?
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
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...
...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...
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...
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")
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?
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...
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.