Hi Griff and Chris Miller,
Thank you for your answers even though they are a little to much for me to absorb already. I really appreciate them and have tried researching on those automations. Still, I failed, but I think I got the idea regarding the error. When I end-task the VFP when it...
I have a program that gets an excel file to get its data and do some processing. The system hangs when using
oExcel.WorkBooks.Open(SampleExcel) when the excel being uploaded is already open. The error goes "This action cannot be completed because the other program is busy.. [Switch to][Retry]"...
Hi Mike and Chris,
Thank you very much for your detailed and generous help. For now I'd just stick with manually indenting the TEXT/ENDTEXT every time I beautify. It just really bugs me sometimes when the codes have many chunks of it. I personally prefer using the traditional x = "value" in...
Using Tools > Beautify does not indent the TEXT TO xvariable TEXTMERGE even when there are multiple indentions, it sticks to the leftmost edge..
- gryff15 -
I can't seem to understand the cause of the visual bug of vfp 7 when dragging or selecting objects. It affects my designing experience. I tried reconnecting and or removing the external monitor but the bug still appears. I already closed opened the vfp but it's still there.
- gryff15...
It is a class from C:\Program Files (x86)\Microsoft Visual FoxPro 7\Ffc\_system.vcx
The code ran through it when I set stepped on.
_comdlg1 is also the default name of the object when I created a common dialog from component gallery.
- gryff15 -
I'm afraid I can't find the MaxFileSize property.
In _comdlg dialoghandler though, there is:
lStructSize = IIF(VAL(OS(3)) > 4, 22, 19) * 4
also,
nArraySize = 1
Not really sure where to find MaxFileSize, no result on find.
- gryff15 -
I need to select more files because I use the filenames to get the excel files and regenerated the excel files with additional columns and data, instead of editing each excel files. I expect for the cursor to have more than 35 filenames but it doesn't.
- select many files
- append to cursor, add...
...multiple files] && Dialog titlebar text
.aFilterList[1,1] = [Image Files (bmp,gif,jpg)] && First half of filter list
.aFilterList[1,2] = [*.bmp;*.gif;*.jpg;*.jpeg] && Second half of filter list
* Should you want additional filters you can add them with :-
.AddFilter([MS Office...
Thank you. The removal of alltrim made it editable. One more thing, I can't find a way to insert a new record in the grid.
I have an Add button:
Go bottom
Apppend blank
....grid.column.text1.setfocus()
, does not go to new line. Only focuses to first record.
- gryff15 -
Hi Chris,
I created cursor:
Create Cursor parent (;
CODE C(10) Not Null,;
NAME C(50),;
BIRTHDATE D Not Null,;
AGE N(3) Not Null))
Create Cursor child (;
CODE C(10) Not Null,;
NAME C(50),;
BIRTHDATE D Not Null,;
AGE N(3) Not Null))
Then SQLConnect to tmpcursors
scatter memvar, insert into...
The grid readonly is set to False by default. I also hardcoded in Init to set it false but it doesn't work.
Thank you for the tip on Columns property though.
- gryff15 -
I have two cursors, a parent and child.
Parent has textboxes while child has grid.
The problem is some columns in the grid of the child are read-only and I can't make it editable except for a numeric field and datefield.
Thisform.container1.grid1.ReadOnly = .F...
Some users encounter problems with excel output using Office 2021. Sometimes, the system hang, then a window pops up:
This action cannot be completed because the other program is busy. Choose 'Switch To' to activate the busy program and correct the problem. [Switch To...][Retry]
What could be...
I think it's ok now, it remembers the windows position already though I don't know how it worked. But earlier, I also encountered when the command window itself could not be moved. I saw a subtle shadow up the screen but I could not do the same trick I did for the VFP window. Mouse pointer can...
Update: I used the Move option in the Alt+space, used the arrow keys to predict where the windows got lost in the outside of the screen. Is there an option for the VFP window to not go beyond the screen and prevent from hiding?
- gryff15 -
Update: I am able to maximize it by pressing alt+space then maximize, but when I minimize it, it hides somewhere outside the screen again, unviewable.
- gryff15 -
My VFP7 window does not open up, it is just hidden in the taskbar. I tried closing all apps and even signed out but still, VFP is just stuck in the taskbar. I disconnected the external monitor, still can't access vfp.
- gryff15...
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.