Search results

  1. R

    print pdf document (Progress 9 Windows XP)

    it is right I think Hello Lee, I think whis would be the right way. Thank you. With kind regards Matthias Röttgermann
  2. R

    print pdf document (Progress 9 Windows XP)

    Thanks Hello Lee, thank you for this information. I think this will work fine, but I think I need the SDK - Kit from Adobe, before I can use Adobe as a com handle. So first I will get this. With kind regards Matthias
  3. R

    GetDriveType (Progress 9 Windows XP)

    Hello, I want to search the CD-ROM with Windows-Api, but I receive an error. The Code as following: PROCEDURE Getdrivetype EXTERNAL "kernel32.dll". DEF INPUT PARAMETER drive AS CHAR. DEFINE RETURN PARAMETER intResult AS LONG. END. DEF VAR lngTyp As INT. DEF VAR strLaufwerk As CHAR...
  4. R

    print pdf document (Progress 9 Windows XP)

    Hello, does anyone know how to print an existing pdf-Document? The best thing would be for us to find a solution without installing Adobe on the PC. I only know from the 'shell execute - possibility'? Kind regards Matthias Röttgermann
  5. R

    Progress is lost (WXP Pr91.C)

    Are you shure that 'RUN dispatch IN ..... ' could be my problem? a) we use this in a lot of programs and b) the user (our customer) never stops this program manually so 'adm-vl-interrupt' will always be FALSE. Nevertheless, do you propose another code for me? Without "ON ERROR UNDO...
  6. R

    Progress is lost (WXP Pr91.C)

    Hello, it is a single client system. And problem is not that db is lost (in this case I would get an error I think), => my progress programm is completely lost and teh customer has to restart the program. Here is the code without definitions: Verarbeitung: DO WHILE vl-x = TRUE ON...
  7. R

    Progress is lost (WXP Pr91.C)

    Hello, very important. our progress-program is at one moment respecively at one point waiting for the answer of another program (with do while-function). Sometimes I have the problem (=> our customers) that they lost progress. No error message and nothing appears but progress is lost. What can...
  8. R

    Progress / Windows XP COM-handle respectively dll

    Hello Lee, sorry I don't know it, but I can tell you that our com-object is a dll with some functions and first the programmers comiled it for C(++). Now compiled for VB I got the error messages. Matthias
  9. R

    Progress / Windows XP COM-handle respectively dll

    Hello, thank you at first for your information, the method 'GetLastWin32Error' is not a possible way to get the last error in Progress, but: we have researched that the dll has to be compiled in another way (=> to Visual Basic and not to C). No we get the last error by using simply a Variable in...
  10. R

    lg-file/ Progress 9.1C / Windows 98

    => I don't know where I can find this; I think it's not activated. Thank you very much for your help and your ideas! Matthias
  11. R

    lg-file/ Progress 9.1C / Windows 98

    Hello and thanks, I think this might be the problem. No I have solved it: I deleted the lg-file and with an new start of the server Progress writes correctly to the lg-file!. Matthias There is the possibility that the log file has become disconnected from the running progress process. Not...
  12. R

    lg-file/ Progress 9.1C / Windows 98

    Is the database local to the PC => yes , or is the user connecting across a network? => no If the latter, is the client connecting with user id you expect? => no Is the user perhaps showing up as blank? => no Is the client connecting Read-Only? Prior to 9.1D, the connection will not be logged...
  13. R

    lg-file/ Progress 9.1C / Windows 98

    Hello, I have a question to the ld-file of then Database in Progress. Normally progress writes information in this file(s) of each database at the start an at the end of Progress (<name>.lg). But I have a now a client respectively a PC where Progress doesn't write any lg-file since severel...
  14. R

    Progress / Windows XP COM-handle respectively dll

    Hello, now I found the solution. I have to define the Parameter like 'AS SHORT'. See the code: DEF VAR vc-1 AS CHAR NO-UNDO. DEF VAR vi-2 AS INTEGER NO-UNDO INIT 1. DEF VAR vc-qo AS CHAR NO-UNDO INIT "qo1":U. vh-qotrans:qodelpath(INPUT-OUTPUT vc-qo,INPUT-OUTPUT vc-1, vi-2 AS SHORT). So the var...
  15. R

    Progress / Windows XP COM-handle respectively dll

    Hello, the function 'FormatMessageA' works well. It gives me really the message text of an error get before by the API 'GetLAstError'. So as an information for you: This is okay, BUT: my problem is that I don't get an error nummer by calling 'GetLastError'. I receveive all the time a '0'...
  16. R

    Progress / Windows XP COM-handle respectively dll

    Hello, by using the com-handle I have to use the INPUT-OUTPUT Parameter: See the Code: DEF VAR vc-1 AS CHAR NO-UNDO. DEF VAR vi-2 AS INT NO-UNDO INIT 1. DEF VAR vc-qo AS CHAR NO-UNDO INIT "qo1":U. ASSIGN vc-1 = "\My Documents\qo\ini\test":U. vh-qotrans:qodelpath(INPUT-OUTPUT vc-qo,INPUT-OUTPUT...
  17. R

    Progress / Windows XP COM-handle respectively dll

    Hello, the 'Get Last Error' alone does not work because I always get an Api Error 0 (see the code), so I will try it with the second tip (FormatMessageA). DEFINE VARIABLE vc-qo AS CHAR NO-UNDO INIT "qo1":U. DEFINE VARIABLE intResult AS INTEGER NO-UNDO. vh-qotrans:qoconntest(INPUT-OUTPUT...
  18. R

    Progress / Windows XP COM-handle respectively dll

    Hello, I use a dll as com-handle in Progress: My (second) Problem is the following: The dll gives me an error code, but I am not able to receive this error number. I only receive from Progress the information wether the method was successfully or not. In Visual Basic it is possible to work with...
  19. R

    Progress / Windows XP COM-handle respectively dll

    Hello, I use a dll as com-handle in Progress: DEF VAR vh-qotrans AS COM-HANDLE NO-UNDO. My Problem is the following: I have one Integer-Parameter as INPUT for the dll and I receive the error 5900 (Wrong input/output parameter): The Code: DEF VAR vc-1 AS CHAR NO-UNDO. DEF VAR vc-2 AS CHAR...
  20. R

    today interpretation

    Thanks that was it! session:date-format = "dmy".
Back
Top