Search results

  1. jongpau

    How to download a file using Webspeed

    Pfffft, I missed the bit about WebSpeed running on the actual Linux box, duh! On ya Casper :)
  2. jongpau

    How to download a file using Webspeed

    You'll have to somehow make the file available to the web server. Maybe you can look into using Samba on the Linux box and map it as a network drive on the Windows box. That way your web server will have access to the file.
  3. jongpau

    How to download a file using Webspeed

    Just put a link to the file on your page (can of course be done dynamically). The user can then click the link to download the file. In the Web world the user should always have control over what does and does not get downloaded to their computers and where it gets stored.
  4. jongpau

    input from os-dir to include file dates?

    You can definitely get it through the FILE-INFO system handle. FILE-INFO:FILE-NAME = "<opsys file name>":U. MESSAGE FILE-INFO:FILE-CREATE-DATE FILE-INFO:FILE-MOD-DATE VIEW-AS ALERT-BOX. So I suppose you can read the directory contents with OS-DIR and then get the date for each file...
  5. jongpau

    Creating a dynanic dialog selection

    Yes, a dynamic temp-table and probably a dynamic browse would do the trick. But (unless you already have a temp-table in the calling procedure) I would create the dynamic temp-table in the dialog itself, or even better, in the appserver where you fill it with data (if you are using appservers).
  6. jongpau

    Using NOW() - hours/days in query

    Have a look at the "datetime" and "datetime-tz" functions in the online help. These allow you to create datetime value you can use in your query :) HTH Paul
  7. jongpau

    Quoter

    As far as I know, the quoter function is for variables (so to put quotes around the contents of a variable). If you want to put quotes around the contents of a file you will have to do an os-command calling quoter.exe OS-COMMAND SILENT VALUE("quoter.exe c:\temp\filein.txt >...
  8. jongpau

    Disabling window behind

    I think you can just hide the main window when you click the button, run the second program with the second window, then on return view the main window again. So, something like this: on choose of <button> do: main-window:hidden = yes. run <program with other window>. main-window:hidden...
  9. jongpau

    Need to copy Progress db

    DataDirect? Hmm sounds like have some ODBC drivers there. If I remember well those are no good without a Progress client license (I think Client Networking is required, but someone else may be better informed). Even with a Client Networking license I am not sure if you can access the database...
  10. jongpau

    The impossible deadline

    Are you bound to using Linux? If not you can always have your DataServer run on a Windows box and have the rest of your app access that from your trusted Linux. To be honest though, I do not know how a DataServer will perform as the last (and only) time I used one was a couple years back with...
  11. jongpau

    Delete column from dyname temp-table

    But when you blank the contents, there is always the worry that blank data may be offered back to you to store in your database. This would make saving data back into the database a lot trickier and you would have to apply the security while saving and do so on a column by column basis... If the...
  12. jongpau

    The impossible deadline

    Looking for another job is a good one, but if you'd prefer to stay and take on the challenge... How big is the database (number of tables and data)? How many programs, forms and letters etc are you talking about? How much money are you allowed to throw at it (and in a way, money means people)...
  13. jongpau

    split function?

    You almost had it... DO v-i = 1 TO NUM-ENTRIES(text1,"/":U): IF NOT TRIM(Entry(v-i,text1,"/":U)) = '':U THEN DO: DISPLAY Entry(v-i,text1,"/":U) . END. END. HTH Paul
  14. jongpau

    Delete column from dyname temp-table

    Nope, once a dynamic temp-table is "created" that's it. But, call me silly, if it is a dynamic temp-table, then why do you create the column in the first place? Can't you determine the access level of the user before creating the temp-table and skip all disallowed columns? Also, care must be...
  15. jongpau

    FOR EACH with EXCLUSIVE-LOCK means TABLE locking???

    Hi, Progress only does record level locking and does not know the concept of locking a table. The only way you could achieve such a thing is by locking every individual record in the table -- definitely not something I would consider advisable by the way. Release is a bit of a nasty one...
  16. jongpau

    How can i check whether a folder exist?

    file-info also allows you to see whether the user has rights to read/write in the specified folder and/or file. You could even combine its use with "os-drives", which gives a list of the available harddisks in your system, so you can check each one (and checking is always a good idea; my...
  17. jongpau

    Web Client

    Hi, I have not done a webclient deployment with 10.2 just yet (I have found a couple of bugs in 10.2A that may make us have to wait for a patch or a service pack first). That said, the first things that spring to mind are: - Have you created a new version of your application? - Have you...
  18. jongpau

    java.lang.UnsatisfiedLinkError: java/security/AccessController.doPrivileged

    Hi, Sorry, I cannot be of much help to you with this type of problem. The only suggestion I can give is for you to contact your software vendor and/or Progress support in your country for assistance (unless you have developed your own application, do contact your vendor first). You can also...
  19. jongpau

    How can i check whether a folder exist?

    Have a play with this: FILE-INFO:FILE-NAME = "d:/":U. MESSAGE FILE-INFO:FULL-PATHNAME FILE-INFO:FILE-TYPE. If the folder does not exist both full-pathname and file-type will get the unknown value (?). If it does exist you can test file-type to make sure you are looking at a folder and not a...
  20. jongpau

    Obtain Field Type

    The dynamic method using buffer objects is of course more portable across appserver and client code since it can also be used for fields in temp-tables :) Paul
Back
Top