Search results

  1. M

    import from excel to progress, number in excel should be char in Progress

    How do U know that the value = 100,0000000 ??? In Progress the value is assigned to a variable, the variable is then displayed with an appropriate format. When assigning the Progress var tell it what format U would like assigning. Work around assign the value to local var to get the data...
  2. M

    Open file pdf

    Assuming this is for a windows GUI environment, You will need a control to display the document in. Something like an ocx/dll Without the specific details of the environment, it is hard to give help with examples But basically you either need a dll to call that will open the PDF or a OCX...
  3. M

    I want to add a button to the title bar

    Just had a quick look, some synta that may help - still not at my machine!!! {&window-name}: title = 'Window Title here'
  4. M

    I want to add a button to the title bar

    I am not at my machine at the moment so I don`t have access to Progress/OpenEdge. Though this may help: DEFINE SUB-MENU SubFolder MENU-ITEM SubItem1 LABEL "Ferrari-Marlboro" MENU-ITEM SubItem2 LABEL "West-McLaren" MENU-ITEM SubItem3 LABEL "MildSeven-Renault" MENU-ITEM SubItem4 LABEL...
  5. M

    .net user control

    I am usin OE 10.2. I would like to create a user control, how would I achieve this? TIA
  6. M

    Catch within a .w 10.2b

    ??? I think this is what U require. ON ERROR DO: /* cath error here */ END.
  7. M

    create / display chart

    Thanks Got it to work, chExcelApplication:activeWorkBook:Saveas('C:\EFI\tmp\webXL.htm', 44 ,,,,,). By supplying the 44 parameter, it enabled required formatting. Thank you - it outputs to a web page
  8. M

    create / display chart

    Thanks but, that wont work. Simply saving it as a .htm does not apply html formatting for the opening OS to display. I require to access the PublishObjects function. To enable correct formatting to be applied around the created file. Thank you.
  9. M

    Publish as webpage

    I have created a document in excel and saved the xls document locally. chExcelApplication:activeWorkBook:SaveAs('C:\EFI\tmp\wrkXL.xls', -4143,,,,,) Now I am trying to publish the graph produced as a webpage. I tried the obvious, SaveAs(bob.html), though this does not work. I require to access...
  10. M

    create / display chart

    chart to web Greetings, I have managed to save the document, using ; chExcelApplication:activeWorkBook:SaveAs('C:\wrkS11.xls', -4143,,,,,) Now I would like to be able to convert the chart to a web page. I have the syntax that I am trying to understand to make work...
  11. M

    create / display chart

    I have resolved the issue, though Progress is now NOT releasing the document, even though I have included appropriate release statements (or so I must have thought, everything that I have opened/created with Progress I have released) Any ideas ?? TIA
  12. M

    excel not releasing

    I have created an excel document using Progress. I have included the appropriate RELEASE statements, RELEASE OBJECT chExcelApplication. RELEASE OBJECT chWorkbook. RELEASE OBJECT chWorksheet. RELEASE OBJECT chChart. RELEASE OBJECT chWorksheetRange. Though windows still has not released the...
  13. M

    create / display chart

    DEFINE variable chExcelApplication AS COM-HANDLE. DEFINE variable chWorkbook AS COM-HANDLE. DEFINE variable chWorksheet AS COM-HANDLE. DEFINE variable chChart AS COM-HANDLE. CREATE "Excel.Application" chExcelApplication...
  14. M

    create / display chart

    Sorry, still same problem. *I recopied the code into procedure editor. It doesn`t like the syntax: code: DEFINE variable chExcelApplication AS COM-HANDLE. DEFINE variable chWorkbook AS COM-HANDLE. DEFINE variable chWorksheet AS COM-HANDLE. DEFINE variable...
  15. M

    create / display chart

    Found the problem code from supplied example: Progress doesn`t like this: /* chWorkbook:ActiveSheet:Shapes:range("Gráfico 2"):TOP = 12.5 * (delta + 1). */ /* chWorkbook:ActiveSheet:Shapes:range("Gráfico 2"):LEFT = 320. */ /* chWorkbook:ActiveSheet:Shapes:range("Gráfico 2"):WIDTH = 250. */ /*...
  16. M

    create / display chart

    Found the syntax: **vchWorkBook:SaveAs("c:\temp\filename.xls",,,,,,,). This will save the created excel document as filename.xls BFN
  17. M

    create / display chart

    Then I wish to save the document locally, the attribute for Save as vFilename ?? TIA
  18. M

    create / display chart

    Problem with the code that you originally gave me: * *chWorksheet:Range('B' + STRING(v-col-num)):VALUE = STRING(2). * The problem is, error accessing property/method range. How do I find out the required attribute ? *It is obviously not Range TIA
  19. M

    create / display chart

    oops thats the next command I require, to make a web document from the chart, still looking to save the excel document TIA
  20. M

    create / display chart

    Found it vchWorkBook:PublishObjects:ADD(xlSourceChart,"C:\web1.htm","Sheet1","Chart1",xlHtmlStatic,"xx",""). Thanks BFN
Top