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. gryff15

    How to check if excel is already open when using .workbooks.open

    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...
  2. gryff15

    How to check if excel is already open when using .workbooks.open

    Hi Griff, I don't quite get what you meant by renaming it? How am I able to get the same file with a different name? - gryff15 -
  3. gryff15

    How to check if excel is already open when using .workbooks.open

    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]"...
  4. gryff15

    How to beautify text merge - endtext in VFP 7

    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...
  5. gryff15

    How to beautify text merge - endtext in VFP 7

    Using Tools > Beautify does not indent the TEXT TO xvariable TEXTMERGE even when there are multiple indentions, it sticks to the leftmost edge.. - gryff15 -
  6. gryff15

    VFP visual bug when dragging objects

    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...
  7. gryff15

    How to Add Limit of Multiple File Upload using Common Dialog?

    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 -
  8. gryff15

    How to Add Limit of Multiple File Upload using Common Dialog?

    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 -
  9. gryff15

    How to Add Limit of Multiple File Upload using Common Dialog?

    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...
  10. gryff15

    How to Add Limit of Multiple File Upload using Common Dialog?

    I found this code but I found out that it only gets up to 35 filenames. Selecting more than that results to only one record with a corrupted square character. I need to be able to select at least 1000 files. WITH THISFORM._COMDLG1 .ClearFilters() && Clear filters in case in loop...
  11. gryff15

    Some columns in a grid is read-only even when set to false and enable is true

    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 -
  12. gryff15

    Some columns in a grid is read-only even when set to false and enable is true

    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...
  13. gryff15

    Some columns in a grid is read-only even when set to false and enable is true

    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 -
  14. gryff15

    Some columns in a grid is read-only even when set to false and enable is true

    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...
  15. gryff15

    Problem (Compatibility?) on excel automation [macro] with MS Office Professional Plus 2021

    Hi, this is pretty much the skeleton version of my code after deleting a bunch of formatting. I put wait windows to see where it starts to hang. It hangs on: Wait Window 'Creating object excel file...' Nowait Wait Window 'Print size setup...' Nowait Wait Window 'Column width setup...' Nowait...
  16. gryff15

    Problem (Compatibility?) on excel automation [macro] with MS Office Professional Plus 2021

    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...
  17. gryff15

    VFP7 Windows don't show in the screen, only in Taskbar

    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...
  18. gryff15

    VFP7 Windows don't show in the screen, only in Taskbar

    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 -
  19. gryff15

    VFP7 Windows don't show in the screen, only in Taskbar

    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 -
  20. gryff15

    VFP7 Windows don't show in the screen, only in Taskbar

    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...

Part and Inventory Search

Back
Top