Arctic reports (reporting system - Windows)
Re: Arctic reports (reporting system - Windows)
Hi,
the SQL only needs an '=' at the beginning if it is in the form of an nxReport expression which does not seem to be the case here (at least not with the code you have listed) and so I do not know the reason for the failure to preview?
As for the crash, I have had exactly the same problem you have described only on XP when using PB's drawing commands with those theming library calls.
the SQL only needs an '=' at the beginning if it is in the form of an nxReport expression which does not seem to be the case here (at least not with the code you have listed) and so I do not know the reason for the failure to preview?
As for the crash, I have had exactly the same problem you have described only on XP when using PB's drawing commands with those theming library calls.
I may look like a mule, but I'm not a complete ass.
- captain_skank
- Enthusiast
- Posts: 636
- Joined: Fri Oct 06, 2006 3:57 pm
- Location: England
Re: Arctic reports (reporting system - Windows)
Hi Srod,
when using :
is there any way to specify the position of the printer dialogue window ??
windows seems to be arbitrarily popping it up anywhere.
when using :
Code: Select all
report\PrintWithDialog()
windows seems to be arbitrarily popping it up anywhere.
Re: Arctic reports (reporting system - Windows)
Afraid not. I would need to over-ride the dialog template which is not something I think worth doing in this case.
I may look like a mule, but I'm not a complete ass.
- captain_skank
- Enthusiast
- Posts: 636
- Joined: Fri Oct 06, 2006 3:57 pm
- Location: England
Re: Arctic reports (reporting system - Windows)
Ah, thought the might be the case.
Ok i've kludged up a workaround using a thread
Most of the above code was originaly coded by FREAK, which i hacked around a bit
I then place before i use
which works, but will probably have a mare if multiple print windows are open.
Quite proud of myself with this as i've never used a thread before
Ok i've kludged up a workaround using a thread
Code: Select all
Procedure check_for_print_dialog()
Repeat
; find windows...
Debug "checking"
EnumWindows_(@EnumProcedure(), 0) ; the 0 will be passed in Paremeter.l to the procedure
Until EnumWindows_(@EnumProcedure(), 0) = 0
EndProcedure
Procedure.l EnumProcedure(WindowHandle.l, Parameter.l)
; get Title by windowhandle...
Title$ = Space(200)
GetWindowText_(WindowHandle, @Title$, 200)
; do whatever to check...
If Title$ = "Print"
ExamineDesktops()
WindowRect.RECT
GetWindowRect_(WindowHandle, WindowRect)
x = (DesktopWidth(0)/2) - ((WindowRect\right - WindowRect\left)/2)
y = (DesktopHeight(0)/2) - ((WindowRect\bottom - WindowRect\top)/2)
SetWindowPos_(WindowHandle, #HWND_TOP, x, y, #NUL, #NUL, #SWP_NOSIZE);
BringWindowToTop_(WindowHandle)
; returning 0 will stop the search
ProcedureReturn 0
Else
; returning <> 0 will continue till all windows are searched
ProcedureReturn 1
EndIf
EndProcedure
I then place
Code: Select all
my_thread = CreateThread(@check_for_print_dialog(), 153)
Code: Select all
report\PrintWithDialog()
Quite proud of myself with this as i've never used a thread before
Re: Arctic reports (reporting system - Windows)
Nice one. Well done.
I may look like a mule, but I'm not a complete ass.
Re: Arctic reports (reporting system - Windows)
srod, any news about bar code support?!
Re: Arctic reports (reporting system - Windows)
No news I'm afraid. Too busy with non-coding endeavours at the moment.
I may look like a mule, but I'm not a complete ass.
Re: Arctic reports (reporting system - Windows)
Anyway, best of luck!
Re: Arctic reports (reporting system - Windows)
Hi srod. Is artic report (Pyrex) dead ?
➽ Windows 11 64-bit - PB 6.0 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti
Sorry for my bad english and the Dunning–Kruger effect.
Re: Arctic reports (reporting system - Windows)
It is gathering dust at the moment for sure. Reluctant to say that it is dead considering the effort involved in creating the thing, but I can't see it going anywhere any time soon.
I may look like a mule, but I'm not a complete ass.
- captain_skank
- Enthusiast
- Posts: 636
- Joined: Fri Oct 06, 2006 3:57 pm
- Location: England
Re: Arctic reports (reporting system - Windows)
Anybody know a way to force a report to print in DUPLEX ??
I can see that PrintToNamedPrinter() has a flags option but I dont think this is what these are intended for.
Can I set the duplex mode before calling PrintToNamedPrinter() ??
Any help appreciated.
I can see that PrintToNamedPrinter() has a flags option but I dont think this is what these are intended for.
Can I set the duplex mode before calling PrintToNamedPrinter() ??
Any help appreciated.
Re: Arctic reports (reporting system - Windows)
@srod,
where i can find and download you report system?
Your web side www.nssoftware.com is offline.
Thanks,
Nico
where i can find and download you report system?
Your web side www.nssoftware.com is offline.
Thanks,
Nico
my live space
Re: Arctic reports (reporting system - Windows)
@Nico,
Did srod get you information? I just sent him a PM in the hopes that he has alerts enabled and actually gets it.
Alternatively, does anyone else have a copy of the demo they could make available for me to download so I know for sure if this will meet my needs?
Thank you,
tcb
Did srod get you information? I just sent him a PM in the hopes that he has alerts enabled and actually gets it.
Alternatively, does anyone else have a copy of the demo they could make available for me to download so I know for sure if this will meet my needs?
Thank you,
tcb
Re: Arctic reports (reporting system - Windows)
can anyone tell if this software still available?
richard
richard