Hi,
We have four (4) Kyocera FS6525 printers. These are network printers and we use them both as printers and as scanners.
One of them already has two PC's added in the address book (for scanning). Now I try to add a new entry, and all goes well, until I try to save it into address book.
I...
In VFP you can do it in threes steps, like this:
* first get the record number of each record
Sele RECNO() as myId,* from a mytable into cursor mycursor
* second get the last record number of each icode
SELECT max(myid) as myid,icode from mycursor group by 2 into cursor mycursormax
* finally...
Mike Lewis, I will try the same prg on another PC.
I noticed some strange behavior.
Version of VFP is 9.0.7423
The two images:
and
Respectfully,
Vilhelm-Ion Praisach
Resita, Romania
http://praisachion.blogspot.com/
Obviously, the best advise is to output the result otherwise, e.g. using Copy To, but I am intrigued by the behavior of SELECT ... TO
I noticed that SET HEADINGS have a significant impact on the output.When SET HEADINGS is OFF, the width starts with 4, and increase with 4 or 5 / character...
I've made a small test.
You can see that for 1 to 5 characters, VFP force the length to 21 characters
Then for each additional characters, the length is increased sometimes with 4, other times with 5 characters.
Don't know how to reduce the size, nor to control it.
I tried several commends, like...
...an animation with 8 frames. The last frame stay longer than the other 7.
CLEAR RESOURCES
CLEAR ALL
LOCAL laIcons[5], laSeq[8,2]
SET SAFETY OFF
* List of mages
laIcons[1] = HOME(4)+"Icons\Misc\FACE01.ICO"
laIcons[2] = HOME(4)+"Icons\Misc\FACE02.ICO"
laIcons[3] =...
Just posted a new faq184-7922
Not sophisticated, but useful. Maybe I will enhance later.
Enjoy
Respectfully,
Vilhelm-Ion Praisach
Resita, Romania
http://praisachion.blogspot.com/
...function creates the RIFF (ANI) file from the ICO / CUR files enlisted in laIcons
Next is the function, along with a test code.
[code Foxpro]* Code for testing purpose
CLEAR RESOURCES
CLEAR ALL
LOCAL laIcons[8],laIcons2[4]
SET SAFETY OFF
* create an animated cursor from 8 ICONS...
First of all, I apologize, no offense intended.
I'm pretty sure you already know that SysWOW64 is for 32 bit applications under 64 bit OS. Almost certain this is not the cause of your problems.
You mentioned that
oWorkbook = oExcel.Application.Workbooks.Add()
oExcel.Visible = .T.
runs with no...
Like Tamar Granor, I also suspect the readonly state.
Please read Workbooks.Open Method
Pay attention to several parameters, like IgnoreReadOnlyRecommended, Notify or CorruptLoad (but may be other that solves your problem).
As a final thought, have you tried to open the workbook in Excel, no...
Version 4 for VFP9 and 2/3 for VFP6 (January 2017).
Respectfully,
Vilhelm-Ion Praisach
Resita, Romania
http://praisachion.blogspot.com/http://files.engineering.com/getfile.aspx?folder=a1b18b7a-d6ef-4918-9a3a-1f82fecf968e&file=DBF2MSOFfice_201701.rar
A simple function that extracts the text contained in a Writer odt document, and creates a txt file with the same name.
Download links
https://www.dropbox.com/s/neavhs36739zqse/importoowrtext.zip?dl=0
Respectfully,
Vilhelm-Ion Praisach
Resita, Romania...
Description
A single unfied function to import data from tables contained in OpenOffice / LibreOffice documents (Calc's ods, Impress' odp and Writer's odt)
The signature is the same used for ImportFromOoCalc https://www.foxite.com/archives/import-from-calc-ooffice-0000439109.htm
The data are...
A downgraded version of CopyToXlsx, changed to run under VFP 6.
The new function was renamed CopyToXlsx6
Download link
Respectfully,
Vilhelm-Ion Praisach
Resita, Romania
http://praisachion.blogspot.com/
Signature similar to the corresponding function fro MSOffice.
Import From Openoffice Calc 1.0
Download link
Details
Respectfully,
Vilhelm-Ion Praisach
Resita, Romania
http://praisachion.blogspot.com/
Similar in signature, respectively properties, with the corresponding functions and classes created for MsOffice.
Function CopyToOds 2.0
Download link
Class ExportToOds 1.0
Download link
Details
FunctionCopyToOdt 3.0
Download link
Class ExportToOdt 2.0
Download link
Details
Respectfully...
Some precaution must be made because you can select a portion of text and replace the entire selection with a dot.
PUBLIC ofrm
ofrm = CREATEOBJECT("MyForm")
oFrm.Show()
DEFINE CLASS MyForm as Form
ADD OBJECT txt1 as textBox WITH InputMask = REPLICATE("X",200),MaxLength = 200, width = 300...
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.