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
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...
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
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...
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...
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...
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
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...
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...
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...
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...
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...
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'...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.