Need of API
De Netwerkadviseur BV
Hi,
A thirty party wants to let thier webshop communicate with our magic database. Is it possible to use the Internet requestor and the broker of Magic to aks for and send XML files to this webshop using an URL? I am not familiar with this part of Magic. Best regards, André
|
||||
|
||||
Re: COM Interface Builder in Local Engine
mathieu.claesen@...
Hello,
yes, that works rather well, but it only accepts parameters IN, not OUT. So for a batch program, for instance, I don't know if it has been well executed (no return parameters) Other suggestions ? Thanks in advance.
|
||||
|
||||
Getting BC Methodology Demo running
De Netwerkadviseur BV
Hi,
XPA3.2c, BC Methodology demo, Internet Requestors and Broker installed. Using IIS10 on a windows 10 machine (localy) I can not get this running. I got the frames, but then the browser wants to open MGrqispi.dll instead of opening the demo. The broker has the server registered and standby. What did I do wrong? The documentation I found is based on UP and also IIS6. Is there some log? Someone who can help? Best regards, André
|
||||
|
||||
Re: Single sign-on in an intranet web-application
Lawrence Fisher
I have not played with anything like this for about 10 years and my memory is not as sharp as it was last week, but look into the use of cookies. Implement an initial sign-on of your own and then when you find the user, define a unique-id which you write to the cookie. (This only needs to be done once) Then that unique-id together with the variable that you fetch will check whether it is the user (from within your app) Something on that line anyway Regards Lawrence Author of the award winning book, "Kill Me Now!", amusing stories from the world of dating
From: Avgerinos <mento@...> To: main@magicu-l.groups.io Sent: Monday, August 21, 2017 2:38 PM Subject: Re: [magicu-l] Single sign-on in an intranet web-application
You 're right, the actual user the server sees in a web-app is
something like IIS-USER But what I'm looking for, is rather on client's side: It is an intranet app so I weed to automatically authorize the user since he's already logged in the domain. I guess, all I need is to submit from my client (HTML form / internet explorer) the information of who the windows-user is. One solution would be to use in my HTML page a script like: var wshell = new ActiveXObject("WScript.Shell"); ...and then submit this: wshell.ExpandEnvironmentStrings("%USERNAME%") Still I 'm not happy with it, since anyone can easily modify the %USERNAME% environment variable Regards Avgerinos On 21/8/2017 1:03 μμ, Lawrence Fisher via Groups.Io wrote:
|
||||
|
||||
Re: 9.4 table control lock vertical lines
magic9@aquari.com
Right in front of my nose! Thanks André
toggle quoted messageShow quoted text
At 03:08 PM 8/22/2017, you wrote:
Hi Andy,
|
||||
|
||||
Re: 9.4 table control lock vertical lines
De Netwerkadviseur BV
Hi Andy,
On the properties of the table you will find "Allow column resize". Set this option to No. I hope this will help. Best regards, André
|
||||
|
||||
9.4 table control lock vertical lines
magic9@aquari.com
Hello,
Does anyone know if there is a way (in 9.4) to lock the vertical lines on a screen table control so that the user can not move the columns to make them wider or more narrow? Thank you Andy
|
||||
|
||||
Re: Get Entry name from the menu
Gábor Bor
Thank you for the solutions guys!
|
||||
|
||||
Re: Get Entry name from the menu
Gabor Erwin
|
||||
|
||||
Re: Get Entry name from the menu
Steven Burrows
Probably not the answer you want, but we make use of the Entry Name in our App.
In development: Create a memory table and populate by reading the menu XML (not fancy XML reading, old fashioned Black Magic) Save it as a blob Ship the blob with the application
In runtime: Load the blob into the memory table (Main program) Locate in the table for the 4 levels we allow using the menu text e.g. RepStr (StrToken (Menu (),1,';'),'&',''), RepStr (StrToken (Menu (),2,';'),'&','') etc Pick up the Entry Name from the locate
This is pretty old code, there may be something more direct nowadays
From: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io]
On Behalf Of Gábor Bor
Sent: 22 August 2017 10:33 To: main@magicu-l.groups.io Subject: [magicu-l] Get Entry name from the menu
Dear Magic Users,
|
||||
|
||||
Get Entry name from the menu
Gábor Bor
Dear Magic Users,
I would like to get the entry name of the program what i have chosen from the menu, but i don't find a solution for this problem. Do you seen this problem before? Best Regards, Gábor Bor Example:
|
||||
|
||||
Re: XPA 2.5e system.windows.forms.webbrowser vs activex-webbrowser
Frederik Soete
Hi Sabrina,
Hmm, after inspection, my program too had some lingering parking problems. I have now fixed the parking issue that I experienced on my end. My subform has a DotNet 'navigate' statement in task prefix. Supposing your subform has the same, try tweaking the End Task condition to 'Before' with expression 'SubformExecMode(0)<>0'. This means the task will end immediately unless the user sets focus to the pdf (which you may still want, e.g. for zooming and printing etc.). Bye, Frederik Soete
|
||||
|
||||
Re: MSG2MGIC utility (C++ sources)
I downloaded it a couple of years ago, a copy of which I just sent to you privately.
toggle quoted messageShow quoted text
Steve Blank
At 04:09 AM 8/20/2017, you wrote:
Hi magicians
|
||||
|
||||
Re: XPA 2.5e system.windows.forms.webbrowser vs activex-webbrowser
Sabrina Horst
Hi Frederik. Subform implemented, but same behaviour. As soon as the webbrowser.navigate(url) is done it will park and stay there.
Van: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io]
Namens Frederik Soete
Hi,
Since last I responded, I have briefly used your great idea of pdf viewing through the dot net control. I have seen that those properties are indeed lacking. You can try to work around that issue by replacing the webbrowser by a subform (that does have those properties I mentioned), and then putting the webbrowser in the subform. In that way I think it will work.
Hope that helps,
Frederik Soete
Op 21 aug. 2017 08:45 schreef "Sabrina Horst" <s.horst@...>:
|
||||
|
||||
Re: Event handlers paused while verify warning is displayed
Avgerinos
You 're right. Probably I have to replace all the warning message
boxes with custom ones.
On 21/8/2017 12:59 μμ, Lawrence Fisher
via Groups.Io wrote:
|
||||
|
||||
Re: Single sign-on in an intranet web-application
Avgerinos
You 're right, the actual user the server sees in a web-app is
something like IIS-USER
toggle quoted messageShow quoted text
But what I'm looking for, is rather on client's side: It is an intranet app so I weed to automatically authorize the user since he's already logged in the domain. I guess, all I need is to submit from my client (HTML form / internet explorer) the information of who the windows-user is. One solution would be to use in my HTML page a script like: var wshell = new ActiveXObject("WScript.Shell"); ...and then submit this: wshell.ExpandEnvironmentStrings("%USERNAME%") Still I 'm not happy with it, since anyone can easily modify the %USERNAME% environment variable Regards Avgerinos
On 21/8/2017 1:03 μμ, Lawrence Fisher via Groups.Io wrote:
|
||||
|
||||
Re: XPA 2.5e system.windows.forms.webbrowser vs activex-webbrowser
Frederik Soete
Hi, Since last I responded, I have briefly used your great idea of pdf viewing through the dot net control. I have seen that those properties are indeed lacking. You can try to work around that issue by replacing the webbrowser by a subform (that does have those properties I mentioned), and then putting the webbrowser in the subform. In that way I think it will work. Hope that helps, Frederik Soete Op 21 aug. 2017 08:45 schreef "Sabrina Horst" <s.horst@...>:
|
||||
|
||||
Re: Single sign-on in an intranet web-application
Lawrence Fisher
If it its web, there is a single user. I believe it will be something like IIS-USER. Regards Lawrence Author of the award winning book, "Kill Me Now!", amusing stories from the world of dating
From: Avgerinos <mento@...> To: main@magicu-l.groups.io Sent: Monday, August 21, 2017 10:41 AM Subject: [magicu-l] Single sign-on in an intranet web-application Hi magicians In a intranet web-application that is based on "merge" forms, I need to implement automatic login functionality (based on the user who is logged in the windows) Any hints on which direction I should look for a solution? Thanks in advance Avgerinos
|
||||
|
||||
Re: Event handlers paused while verify warning is displayed
Lawrence Fisher
I do not think you can. The XPA uses the windows message box. In Windows, the message box is modal and so all events are queued. Remember, the reason for a message box is so that the user presses something. He has to see it. Assume your event is Exit, then it will automatically close the message box. Regards Lawrence Author of the award winning book, "Kill Me Now!", amusing stories from the world of dating
From: Avgerinos <mento@...> To: main@magicu-l.groups.io Sent: Sunday, August 20, 2017 7:00 PM Subject: [magicu-l] Event handlers paused while verify warning is displayed Hi magicians In a desktop XPA-3 app, events are queued but not executed, while a warning message is being displayed and waits for user to press OK (Verify op, mode=warning, show=box) Is there any way to enable event handling even in this case? Regards Avgerinos
|
||||
|
||||
Single sign-on in an intranet web-application
Avgerinos
Hi magicians
In a intranet web-application that is based on "merge" forms, I need to implement automatic login functionality (based on the user who is logged in the windows) Any hints on which direction I should look for a solution? Thanks in advance Avgerinos
|
||||
|