Re: UniPaS 1.9, image refresh
sherman levine
If that doesn't work,
I've dealt with the issue by changing
the file name (e.g. A.BMP, B.BMP) each time the file is changed.
Toggling between two names is sufficient.
Sherm
On 10/7/2020 4:55 PM, Steven Blank
wrote:
Specifically, Check image change time:
|
|
Re: UniPaS 1.9, image refresh
Specifically, Check image change time:
toggle quoted messageShow quoted text
HTH. Steve Blank
On 10/7/2020 1:50 PM, Steven Blank
wrote:
I recall something about an image cache...
|
|
Re: UniPaS 1.9, image refresh
I recall something about an image cache...
toggle quoted messageShow quoted text
Search the online help.
On 10/7/2020 1:39 PM, Stephen Saxton
via groups.io wrote:
|
|
UniPaS 1.9, image refresh
Stephen Saxton
OK, it seems my week for questions.
I've got an image on disk, that is displayed in an online form.
Purposely, this file on the disk is overwritten when a new option is selected.
The issue I'm having, in runtime, the image on the screen is not updated
I've tried Screen Refresh, View Refresh, Record Flush
All the image files happen to have the same creation date, but different modification date (may or may not be significant)
I can see the "Main.bmp" in explorer change modification date, but the image on the screen doesn't change. Other updates appear (have a virtual that holds the name of the file that is overWriting the Main.bmp file.
I'm using an event "Click" on a virtual that gets updated with the "OverWriting" file name (and that refreshes just great).
I've also have an event "Click" on a button that does the exact same as mentioned just above.
Online Task
Initial Mode Modify
End Condition No
Evaluate Before
Resident task Yes & No (tried)
Behavior All No except Cycle on Record and Refresh Task Window are Yes
No transactions, no locking
All Allowed Modes Yes
Functionalities Yes (with normal exception of Print Data:)
Any ideas to try?
Stephen (Steve) Saxton
CABS²
Senior Magic Software Engineer/IT Help Desk
954-330-7894
SKYPE: ssaxton2
Retired USAF TSgt
|
|
Fonts and Mobile Development XPA 3.2g
Graham White
Hi,
I am trying to get my head around the corelation of the font size and what is actually displayed on the device. We use font Microsoft Sans Serif size 8 which look fine and fields fit nicely in the studio, however, this is not the case on the device. We predominantly use iPhones and we notice quite a difference in the font size when displayed on different phone models. I would have thought if it is size 8 it should look the same regardless but his does not seem to be the case. It seems it is almost impossible to get a consistent look across models. Can anyone explain how best we can do this.
Regards
Graham White
IMPORTANT NOTICE: This e-mail message and any attachments are confidential to EC Credit Control and subject to legal privilege (which is not waived or lost by mistaken delivery). If you have received this e-mail in error, please advise the sender immediately and destroy the message and any attachments. If you are not the intended recipient you are notified that any use, distribution, amendment, copying or any action taken or omitted to be taken in reliance of this message or attachments is prohibited. EC Credit Control collects personal information to provide and market our services (see our privacy policy at: www.eccreditcontrol.co.nz – www.eccreditcontrol.com - www.eccreditcontrol.com.au for more information about use, disclosure and access). EC Credit Control’s liability in connection with transmitting, unauthorised access to, or viruses in this message and its attachments is limited to resupply of any affected message or attachments.
|
|
Re: Database initialization error
De Netwerkadviseur BV
Windows 10 Peer-to-Peer?
Is the Magic map placed into Program Files? Which version of Btrieve are you using? You should use Btrieve v10 or higher The Magic map needs to be on map other than Program Files Using another user other than local admin, you need Full Control on the map of Magic. I want to help, but need a little more info. BR, André
|
|
Re: clr.dll appcrash
Install the latest Visual C++ runtime files:
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
|
|
clr.dll appcrash
Frigyesi Viktória
Hi All,
Client is using magic XPA 2.5, with internal network client/server architecture. For the last few days, apps are suddenly crashing, esp. when 1+ Magic windows are open. The error message refers to clr.dll. No changes in environment, and in applications. What could be the cause, what needs to be checked? Magic helps refers to sn.exe, that the DLL is not strongly signed, but Magic applications worked for 20+ years, XPA for the last 5 ys, so I don’t think this is the case.
Error message is in Hungarian, but may help:
Any help is strongly appreciated.
Kr, Viktoria
|
|
Re: Database initialization error
Andres Quintas
Windows 10
De: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] En nombre de De Netwerkadviseur BV
Which OS? Where did you put the Magic 8.3 map? Is there a policy to make Windows Register ReadOnly?
|
|
Re: Database initialization error
De Netwerkadviseur BV
Which OS? Where did you put the Magic 8.3 map? Is there a policy to make Windows Register ReadOnly?
The map with CTL and with DATA need full control. BR, André
|
|
Re: Database initialization error
Andres Quintas
Yes, full control in this folder
De: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] En nombre de De Netwerkadviseur BV
Did you try with an user with Full Control on the Magic map?
|
|
Re: Database initialization error
De Netwerkadviseur BV
Did you try with an user with Full Control on the Magic map?
BR, André
|
|
Re: Database initialization error
Andres Quintas
8.30
De: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] En nombre de De Netwerkadviseur BV
Hi Andres,
|
|
Re: Database initialization error
De Netwerkadviseur BV
Hi Andres,
Which version of Magic? BR, André
|
|
Database initialization error
Andres Quintas
When trying to open the application with a non-administrator user, it displays a Database initialization error message, but with an administrator user, why not?
Regards Andres.
|
|
Re: UNC vs Drive letters
Stephen Saxton
Thanks Steven
I'm seeing more and more using UNC's vs Mapped drives, and I've almost always used the Mapped Drives in my previous installations. Never had an issue with them, but I can see where this might be causing some issues at this one installation. Stephen (Steve) Saxton
AMS
Director of Customer Support and Software Installation Manager
CABS²
Senior Magic Software Engineer/IT Help Desk
954-330-7894
SKYPE: ssaxton2
Retired USAF TSgt
-----Original Message-----
From: Steven Burrows <steven.burrows@...> To: main@magicu-l.groups.io <main@magicu-l.groups.io> Sent: Mon, Oct 5, 2020 2:45 am Subject: Re: [magicu-l] UNC vs Drive letters Mapped drives USED to be the way to go, standardisation and all that jazz, but IMHO they have had their day, not many of us running Novell any more.
Steven Burrows
From: main@magicu-l.groups.io <main@magicu-l.groups.io>
On Behalf Of Stephen Saxton via groups.io
Sent: 05 October 2020 01:09 To: main@magicu-l.groups.io Subject: [magicu-l] UNC vs Drive letters This email is not from Hexagon’s Office 365 instance. Please be careful while clicking links, opening attachments, or replying to this email.
OK folks
I've read most of the documentation I can find about UNC vs Drive Letters.
Other than making it easier for the Network Administrator to manage; I don't see any advantage, nor can I find any "white papers" saying that speed is improved by
using UNC vs Drive letters.
Yes, if the actual drive disappears, then the Drive Letter won't find it; but if the actual drive disappears, then the UNC won't find it either.
Yes, Network administrators can put it in the login script, but a startup batch file can also be created and put into the Startup folder that does the drive letter
assignment, so again, it's easier for the Network Administrator. But what if you don't have a Network Administrator? What if you're the one setting up a peer to peer network? (which could be up to 20 PC's); one PC at a time?
It's been a while since I was a "real" network administrator, and then it was "mostly" UNIX or Lantastic (and then it was all peer to
peer) LOL; and I don't remember have an option to use either.
Stephen (Steve) Saxton
AMS
Director of Customer Support and Software Installation Manager
CABS²
Senior Magic Software Engineer/IT Help Desk
954-330-7894
SKYPE: ssaxton2
Retired USAF TSgt
|
|
Re: UNC vs Drive letters
Steven Burrows
Mapped drives USED to be the way to go, standardisation and all that jazz, but IMHO they have had their day, not many of us running Novell any more.
Steven Burrows
From: main@magicu-l.groups.io <main@magicu-l.groups.io>
On Behalf Of Stephen Saxton via groups.io
Sent: 05 October 2020 01:09 To: main@magicu-l.groups.io Subject: [magicu-l] UNC vs Drive letters
This email is not from Hexagon’s Office 365 instance. Please be careful while clicking links, opening attachments, or replying to this email.
OK folks
I've read most of the documentation I can find about UNC vs Drive Letters.
Other than making it easier for the Network Administrator to manage; I don't see any advantage, nor can I find any "white papers" saying that speed is improved by using UNC vs Drive letters.
Yes, if the actual drive disappears, then the Drive Letter won't find it; but if the actual drive disappears, then the UNC won't find it either.
Yes, Network administrators can put it in the login script, but a startup batch file can also be created and put into the Startup folder that does the drive letter assignment, so again, it's easier for the Network Administrator. But what if you don't have a Network Administrator? What if you're the one setting up a peer to peer network? (which could be up to 20 PC's); one PC at a time?
It's been a while since I was a "real" network administrator, and then it was "mostly" UNIX or Lantastic (and then it was all peer to peer) LOL; and I don't remember have an option to use either. Stephen (Steve) Saxton AMS Director of Customer Support and Software Installation Manager CABS² Senior Magic Software Engineer/IT Help Desk 954-330-7894 SKYPE: ssaxton2 Retired USAF TSgt
|
|
Re: UNC vs Drive letters
Stephen Saxton
Thanks Thomas, I've copied and pasted it into my "how2.xls" LOL; have had this since 2003, has come in very handy a lot of times. Stephen (Steve) Saxton
AMS
Director of Customer Support and Software Installation Manager
Senior Magic Software Engineer/IT Help Desk
954-330-7894
SKYPE: ssaxton2
Retired USAF TSgt
-----Original Message-----
From: Thomas Titus via groups.io <ttitus_aerocontrols_com@...> To: main@magicu-l.groups.io Sent: Sun, Oct 4, 2020 11:46 pm Subject: Re: [magicu-l] UNC vs Drive letters Hi Steve,
Here is an example of using logical name INISetupFolder somewhere else in the same Magic INI file.
MAGIC_ENV]
...
RuntimeApplicationColorDefinitionFile = %INISetupFolder%XPASupport\clr_xpa.eng
RuntimeApplicationFontDefinitionFile = %INISetupFolder%XPASupport\fnt_xpa.eng
RuntimeInternalFontDefinitionFile = %INISetupFolder%XPASupport\fnt_xpa.eng
RuntimeKeyboardMappingFile = %INISetupFolder%XPASupport\act_rnt.eng
...
[MAGIC_LOGICAL_NAMES]
INISetupFolder=\\AppSupport\System\NetworkSetup\XPA\2.50\INI\
...
PDFOutput=\\AppSupport\System\Data\PDF\
...
You can also use the logical name in side your XPA code.
For example, you want to create a pdf output in a sub folder Customer01\10-05-2020\, relative to the path defined by the logical name "PDFOutput".
Just enter the expression like '%PDFOutput%Customer01\10-05-2020\Summary.pdf' as printer output expression/variable.
During the runtime, the expression will be evaulated as '\\AppSupport\System\Data\PDF\Customer01\10-05-2020\Summary.pdf.'
This is also very handy, if you move the entire folder structure to a different destination.
Some developers like to update INI programmaticallyusing the XPA function INIPUT.
I mostly use override INI files in the command line.
Thanks
Thomas Titus
|
|
Re: UNC vs Drive letters
Thomas Titus
Hi Steve,
Here is an example of using logical name INISetupFolder somewhere else in the same Magic INI file.
MAGIC_ENV]
...
RuntimeApplicationColorDefinitionFile = %INISetupFolder%XPASupport\clr_xpa.eng
RuntimeApplicationFontDefinitionFile = %INISetupFolder%XPASupport\fnt_xpa.eng
RuntimeInternalFontDefinitionFile = %INISetupFolder%XPASupport\fnt_xpa.eng
RuntimeKeyboardMappingFile = %INISetupFolder%XPASupport\act_rnt.eng
...
[MAGIC_LOGICAL_NAMES]
INISetupFolder=\\AppSupport\System\NetworkSetup\XPA\2.50\INI\
...
PDFOutput=\\AppSupport\System\Data\PDF\
...
You can also use the logical name in side your XPA code.
For example, you want to create a pdf output in a sub folder Customer01\10-05-2020\, relative to the path defined by the logical name "PDFOutput".
Just enter the expression like '%PDFOutput%Customer01\10-05-2020\Summary.pdf' as printer output expression/variable.
During the runtime, the expression will be evaulated as '\\AppSupport\System\Data\PDF\Customer01\10-05-2020\Summary.pdf.'
This is also very handy, if you move the entire folder structure to a different destination.
Some developers like to update INI programmaticallyusing the XPA function INIPUT.
I mostly use override INI files in the command line.
Thanks
Thomas Titus
|
|
Re: UNC vs Drive letters
Stephen Saxton
Thanks Thomas
By any chance, can you show me "a snippit" of how your magic.ini "Logical Names" holds the UNC path?
Would it be similar to this?
C = C:\Apps\magic\Data
;C = C:\Apps\magic\Test_Data
D = %C%
Where you could change where the data was pointing to, just be changing where the ";" resided? Or use iniputs to change it? (if I remember correctly, iniputs would take place immediately vs having to restart the Magic engine)
Stephen (Steve) Saxton
AMS
Director of Customer Support and Software Installation Manager
CABS²
Senior Magic Software Engineer/IT Help Desk
954-330-7894
SKYPE: ssaxton2
Retired USAF TSgt
-----Original Message-----
From: Thomas Titus via groups.io <ttitus_aerocontrols_com@...> To: main@magicu-l.groups.io Sent: Sun, Oct 4, 2020 8:42 pm Subject: Re: [magicu-l] UNC vs Drive letters I prefer UNC over mapped drives (Windows environment)
1. Drive mapping can be dropped or changed by end users 2. If the UNC Path is not accessible by end user then the mapped drive also inherit the same error. I also use Logical Names to save UNC path in Magic.INI Thanks Thomas Titus
|
|