Search results

  1. F

    Can anyone see if this code can be any quicker

    You should be careful , your code will cause errors or export the wrong data if one of your find fails to bring back a record.
  2. F

    Who still puts comment in his/her source?

    I won't Comment on this thread :lol:
  3. F

    How to change the format from an Fill-In ?

    Progress seem to think that "." is your decimal separator and "," is your thousands separator.
  4. F

    How to change the format from an Fill-In ?

    widget:FORMAT IN FRAME {&FRAME-NAME} = "-zzz.zzz.zz9,9999".
  5. F

    Adding Nodes to MS TreeView (MSCOMCTL.ocx)

    No you can't set it up in the OCX Propreties because your tree view OCX doesn't see your Image List OCX . Progress creates a control-frame for each of them. You really need to get the com-handle of the Image List to assign it. I always add images using the custom property of the OCX...
  6. F

    Adding Nodes to MS TreeView (MSCOMCTL.ocx)

    You need to add a ImageList control in your window and set it to (16x16). TreeView:ImageList = <Your Image List>. Put your icons and image inside the list . Then in the add insert the position of the images: TreeView:Add(parent, type, key, desc, <1>, <2> ). <1> = INT Representing the...
  7. F

    Overloading a define trigger

    Good idea but you have to be careful to cover every way to trigger a button beside left-click to make sure a user doesn't bypass the code that you want to add.
  8. F

    Overloading a define trigger

    Nice thinking outside the box there . Wish i could tell you that what you are trying to do is possible but unless i am mistaken it not possible. You cannot overload or add multiple calls to one Event like in .Net . You can Overwrite the trigger by declaring a new one but i am afraid that in...
  9. F

    How to obtain list of objects in a given frame

    It easy : DEF VAR hNewField AS HANDLE. /** CREATE THE FIELD and PUT HANDLE in hNewField **/ hNewField:MOVE-BEFORE-TAB-ITEM(<Your Button>:HANDLE).
  10. F

    Creating a Manifest with version 9.1d?

    I don't have V9 installed anymore so i can't test it but maybe one of these 3 lines will do the trick , i know i fixed the problem with the ini i got this from but i don't remember exactly wich line did it with UseClipChildren. I think it the careful-paint one but again not sure...
  11. F

    updating the UI in v 9.1d

    Code jock are OCX so they work in Version 9. I have a few V9 clients who run our UI that contains the code jock without any problem. OCX are pretty much the only way to enhance your UI . With Version 9.1E you can add a manifest to your prowin32 to give it the Windows XP look and feel on XP.
  12. F

    How to create a 'public' view which can be used by ODBC connection?

    Create your view with the SQL Explorer tools. It will be a SQL view and will be seen in the SQL schema and ODBC.
  13. F

    proxy generator tool

    You should have a log in the output directory that will tell you more about the error that you got. If you post the log then it would be easier for us to tell you exactly what the error is.
  14. F

    Can EDI be easily implemented with PRogress?

    You should listen to Tamhas and Joey . We have our own in-house EDI import and export module and it took alot of time and effort just to create it but theyre werent any simple solution available 10 years ago . If i had to start from scratch i would tell my boss to buy the 600$ product and save...
  15. F

    Can EDI be easily implemented with PRogress?

    There is no EDI tools in progress beyond the tools to export / import XML and flat text files. You will need to generate flat files with specific formats depending on the partners.
  16. F

    Need to be able to kill a remote session

    Use this one to shutdown the system: PROCEDURE WTSShutdownSystem EXTERNAL "WtsApi32.dll": DEF INPUT PARAMETER hServer AS LONG. DEF INPUT PARAMETER lShutDownFlag AS LONG. DEF RETURN PARAMETER bResult AS BYTE. END PROCEDURE.
  17. F

    Need to be able to kill a remote session

    Try this : PROCEDURE WTSOpenServerA EXTERNAL "WtsApi32.dll": DEF INPUT PARAMETER pServerName AS MEMPTR. DEF RETURN PARAMETER hServer AS LONG. END PROCEDURE. PROCEDURE WTSLogoffSession EXTERNAL "WtsApi32.dll": DEF INPUT PARAMETER hServer AS LONG. DEF INPUT PARAMETER SessionID AS...
  18. F

    Need to be able to kill a remote session

    It will only disconnect the user from the DataBase. Your Terminal Server session will still be logged on.
  19. F

    Benefits of seperation of UI and BL

    It also a good way to reduce redundancy of code. Different windows can call the same procedure instead of having the same code copied in both UI. Changes become easier since the business logic only need to be changed at one place for all your UI. It will make your application more flexible .
  20. F

    Writing on sockets : Problem !

    Glad you were able to find the problem , charset can be a real pain sometimes.
Back
Top