Search results

  1. Dan Dragut

    To know when computer was turned on

    GetTickCount function (kernel32.dll) retrieves the number of milliseconds that have elapsed since the system was started, but you have to consider that the timer is wrapping around to zero every 50 days. You can also read the System Up Time counter to retrieve the time elapsed since the...
  2. Dan Dragut

    How can I get the "Start In" in my application shortcut?

    Marcelo, You can use the GetCurrentDirectory function to get the current directory for the Progress application - this should be the same as "Start in" directory, if it wasn't changed by a previous SetCurrentDirectory call. More details: KB #17115 "How to call WIN32 API Function...
  3. Dan Dragut

    Understanding fonts and frame-width

    I realise that I maybe was offtopic, but you didnt't actually say if you recompiled the program using GUI or what font you were using for defining the frame fdetail. Also, Verdana is not a fixed font, so I guess that Progress uses an average width to calculate the width of a frame character...
  4. Dan Dragut

    Understanding fonts and frame-width

    Hi, It seems that the DefaultFont from the registry takes precedence over the one defined in the .INI file: HKEY_CURRENT_USER\Software\PSC\PROGRESS\9.1C\Startup You can use the recommendations from KB #16962 'Compile problems after Default Font Change' and use -basekey ini -ininame <your...
  5. Dan Dragut

    Identify which OCXs using the WRXs files

    Hi Axel, Thank you very much for sharing your application, I appreciate it very much; please send it to dan_dragut@gmx.net Just as a thought, if you would like to make it available for lots of people, you could post it for PEG Utilities (http://www.peg.com/utilities.html). Regards, Dan
  6. Dan Dragut

    Pcl command

    Hi Lucelinda, You didn't specify the actual command that you are using and the printer that you are testing on. Maybe we should ask for a PCL forum to open as I am interested also on discussing about PCL, even it's not very closely related to Progress but I think that are many people using...
  7. Dan Dragut

    Identify which OCXs using the WRXs files

    yup, it kinda works :-) Hi Bendaluz2, Actually, I think I will better look into the .wrx file itself, as some of the programs are not made using UIB and look for all the {...} keys... I just did a test and it kind of works; I mean I found the key, and the name of the OCX should be into...
  8. Dan Dragut

    Identify which OCXs using the WRXs files

    Hi everyone, Is there any method to identify which OCX(s) are used by somehow analysing the WRX file(s)? I am trying to idenfity from all the WRXs that our application is using, which OCX files are used. Thanks, Dan
  9. Dan Dragut

    error 290 Please HELP!!!!

    Then it must be something related to the configuration for that user... did you tried using another computer and the behaviour of another user? because the whole thing is kinda strange :)
  10. Dan Dragut

    Still the sam problem with the csv file.

    I guess it was the DO TRANSACTION: one... I have used almost the same form (REPEAT TRANSACTION) for an IMPORT and it worked just fine, no blank record at the end.
  11. Dan Dragut

    error 290 Please HELP!!!!

    Re: IO error In all this trials you didn't swap the person :awink: I'm joking... :) You didn't say where the temporary files, .r programs and the result of the programs go, because I would blame the network card or the even the whole network segment. You could try to move the...
  12. Dan Dragut

    determining the field name

    Hi Kiran, What do you say about making a function which returns the focus name, like this: FUNCTION GetFocusName RETURNS CHARACTER (): IF CAN-QUERY (FOCUS, "NAME") THEN RETURN FOCUS:NAME. ELSE RETURN "?". END. ON 'CTRL-F1':U ANYWHERE DO...
  13. Dan Dragut

    Should I create a new index?

    Hi Abe, I think that you don't need to create a new index, only if don't want to modify lots of programs. You can rephrase using BEGINS: FOR EACH lt-master WHERE brch-entry BEGINS '' AND stage = 60: You can take a look at the notes of the BEGINS operator in the Progress help, they say...
  14. Dan Dragut

    Database conversion

    Hi Aishin, I think that there is no codepage conversion between ISO8859-5 to ISO8859-1, but in case you didn't use the extended characters of the character set, you should be ok. You can do that using 'proutil convchar'; take a look at the KB #19912 - 'Converting an Existing Database to...
  15. Dan Dragut

    Strange 'find' issue

    The whole thing started because we are trying to use the same database for storing different languages (codepages), but I have encountered some strange issues about finding a record when using double byte characters. 1. I have converted the Sports database to UTF-8 and then I started the...
  16. Dan Dragut

    PHP and Progress

    Wow, that is just awesome, it opens whole new possibilities!!! Thank you very much for sharing the information! Thanks, Dan
  17. Dan Dragut

    slow screen output -> WINNT40, SP6a,Explorer 6.0

    Good for you Stonekeeper, I think that was the best solution overall :up:
  18. Dan Dragut

    how to know which Smobj has the focus

    Why not make a trigger in your program like this: ON 'SHIFT-F1':U ANYWHERE DO: MESSAGE FOCUS:NAME VIEW-AS ALERT-BOX INFO BUTTONS OK. END. and there you have the widget's name that has the focus by pressing SHIFT-F1 anytime. You can add code to find the parent, his name and so...
  19. Dan Dragut

    Word Blank Document

    Hi Mark, You should check in Word, "Tools menu -> Options -> File Locations -> File types: User Templates or Workgroups templates". I hope it helps, Dan PS: I replicated the problem that you have and WinWord just got a fresh copy of the normal.dot template when I renamed it, just...
  20. Dan Dragut

    slow screen output -> WINNT40, SP6a,Explorer 6.0

    Hi StoneKeeper, I sure don't have an explanation for that, but you should take a look at KB #17686 'Slow printing on 8.2+ - A Solution' and KB #17677 - How to Cal WIN32 API Function: LockWindowUpdate.
Top