Date   

Re: Animated GIF in XPA 2.5

Craig Martin
 

I can only respond with something along the lines of the first two paragraphs of this:

http://www.economist.com/node/147991


At time of writing, I make no reference to any other two neighbouring countries who been in dispute.


Do well with your .net experiments, it never hurts to learn a new programming language. 


Craig


From: main@magicu-l.groups.io <main@magicu-l.groups.io> on behalf of Ted Shepler <tshepler@...>
Sent: Thursday, January 12, 2017 9:24:45 AM
To: main@magicu-l.groups.io
Subject: Re: [magicu-l] Animated GIF in XPA 2.5
 

That’s great news Craig!

Just in time too, there are rumors about building a hedge and making Scotland pay for it….

 

From: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] On Behalf Of Craig Martin
Sent: Wednesday, January 11, 2017 7:21 PM
To: main@magicu-l.groups.io
Subject: Re: [magicu-l] Animated GIF in XPA 2.5

 

Ha! 

 

As soon as my employment authorization is processed by the Federal Government, you could always hire the original creator of HotFudge, newly settled in the great United States of 'merica, to fix it. And more besides.

 

Craig

Mountain View, California

 


From: main@magicu-l.groups.io <main@magicu-l.groups.io> on behalf of Ted Shepler <tshepler@...>
Sent: Wednesday, January 11, 2017 4:54:49 PM
To: main@magicu-l.groups.io
Subject: [magicu-l] Animated GIF in XPA 2.5

 

A long time user of Hot Fudge, I was wondering if there was a “native” or DotNet method to display an animated GIF in XPA 2.5. Not a business critical need, but my dancing clock looks sad when static.

 
IMPORTANT/CONFIDENTIAL: The information contained in this e-mail message and any attachments accompanying it may be privileged, confidential and protected from disclosure. The information is intended only for the use of the intended recipient(s). Delivery of this message to anyone other than the intended recipient(s) is not intended to waive any privilege or otherwise detract from the confidentiality of the message. If you are not the intended recipient, or if this message has been addressed to you in error, do not read, disclose, reproduce, distribute, disseminate or otherwise use this transmission, rather, please promptly notify the sender by reply e-mail, and then destroy all copies of the message and its attachments, if any.

 
IMPORTANT/CONFIDENTIAL: The information contained in this e-mail message and any attachments accompanying it may be privileged, confidential and protected from disclosure. The information is intended only for the use of the intended recipient(s). Delivery of this message to anyone other than the intended recipient(s) is not intended to waive any privilege or otherwise detract from the confidentiality of the message. If you are not the intended recipient, or if this message has been addressed to you in error, do not read, disclose, reproduce, distribute, disseminate or otherwise use this transmission, rather, please promptly notify the sender by reply e-mail, and then destroy all copies of the message and its attachments, if any.


Re: Mouse click event

De Netwerkadviseur BV
 

Hi Florian,

Sorry for my previous reply. Because I was working/testing with Clickwx() expressions, I searched on the wrong place.

Your event is what I was looking for.

Thanks,


Best regards,
André



Re: Animated GIF in XPA 2.5

Ted Shepler <tshepler@...>
 

YAY! We have success!

Working great, but completely foreign to me. 12 years on 9.4 and 6 months on XPA… new tricks feel funny.

 

Thanks again

 

From: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] On Behalf Of harry@...
Sent: Thursday, January 12, 2017 1:13 AM
To: main@magicu-l.groups.io
Subject: Re: [magicu-l] Animated GIF in XPA 2.5

 

Hi Ted,

While you are waiting for Graig to become a Trumpian you could try the following:

Create 2 .NET variables (in the CRR you need System.Drawing & System.Windows.Forms if you not already have these):

A: System.Drawing.Bitmap

B: System.Windows.Forms.PictureBox

In the Task Prefix do the following:

1) Update A with DotNet.System.Drawing.Bitmap('C:\Temp\InTheClub.gif') {replace with your GIF}
2) Evaluate Exp: DNSet(B.Image,A)

and place B on your form. Done!

Note: I read on Stackoverflow that the GIF might stop working if the batch you are running is quite heavy. For this you would have to open the batch in another 'thread' (=parallel program in Magic). That might make it a little bit more complicated ;-)

Best regards,

Harry Kleinsmit.

 

 
IMPORTANT/CONFIDENTIAL: The information contained in this e-mail message and any attachments accompanying it may be privileged, confidential and protected from disclosure. The information is intended only for the use of the intended recipient(s). Delivery of this message to anyone other than the intended recipient(s) is not intended to waive any privilege or otherwise detract from the confidentiality of the message. If you are not the intended recipient, or if this message has been addressed to you in error, do not read, disclose, reproduce, distribute, disseminate or otherwise use this transmission, rather, please promptly notify the sender by reply e-mail, and then destroy all copies of the message and its attachments, if any.


Magic Brown Bag 2017

Todd Baremore
 

Just a reminder that the Magic Brown Bag conference is back for 2017 on March 13 -15. MSE will be sending a tech from their support group to answer your questions. This was a big help last time for those of us considering upgrading to XPA and diving into mobile development. Let Charles Coe or I know if you have trouble reserving a room. I think we are close to maxing out. Should only take a day or two to secure more rooms at the same rate.

Conference details, attendees and some of what will be offered can be found here:
https://trello.com/b/pqP7kIAr/magic-tech-brown-bag-conference

Conference registration:
https://www.eventbrite.com/e/magic-developernet-brown-bag-conference-new-orleans-march-13-14-15-2017-registration-29236505174


Hotel:
STAYBRIDGE SUITES NEW ORLEANS 501 Tchoupitoulas St. New Orleans, La. 70130 Hotel Front Desk: 1-504-571-1818 The hotel conference rate is $139/night - includes breakfast, dinner (Mon-Wed), beer/wine each evening. You must call the hotel and mention "Magic Brown Bag Conference" to get the rate.
https://www.ihg.com/staybridge/hotels/us/en/new-orleans/msyps/hoteldetail


This conference is intended as a place for developers of all experience levels to gather and learn from each other. The content is provided by the attendees. Please let me know if you wish to demonstrate your application or explain a solution to a problem. Please don't be shy. You can present for 5 minutes or an hour; whatever you are comfortable with. There will also be the opportunity to demonstrate a problem to the group and get collective input/suggestions for a solution.

Feel fre to contact me privately if you have any questions.

Todd


Re: Magic XPA 2.5 - Add and Delete Users

Andy Jerison
 

Wow, I've just verified that UP1.9 does not enforce unique user IDs. This has to be a bug.

On Thu, Jan 12, 2017 at 11:58 AM, Polgár Ferenc <fpolgar@...> wrote:
I don't have XPA, but in Unipaas 1.9 you can create as many user with the same name as you want.
Fernc

2017.01.11. 16:07 keltezéssel, Govert Schipper írta:

Hi Freddy,


You cannot add the same user twice. The UserID (Login name) is unique within the security system of Magic xpa.

Only the first call to UserAdd() will work, all consecutive calls with the same UserID will fail.


Govert




Van: main@magicu-l.groups.io <main@magicu-l.groups.io> namens Freddy Dewulf <softica@...>
Verzonden: woensdag 11 januari 2017 11:35
Aan: main@magicu-l.groups.io
Onderwerp: [magicu-l] Magic XPA 2.5 - Add and Delete Users
 

Hi group,

In XPA 2.5, I use the functions UserAdd and UserDel in my Login module.

With UserAdd it is possible to add several times the same user with a different password.

But, when I delete a user, I can only give the Logon-name as parameter, not the password.

So, the first user with that name is deleted.

The same problem with the functions RightAdd and GroupAdd.

Is there a workaround in order to solve this problem?


Tia





Re: Animated GIF in XPA 2.5

Ted Shepler <tshepler@...>
 

AH! There it is, Thanks Harry. I saw that method on the google, but I was unclear on how to make it work. Thankfully the program is an online task that just fires off timed events. I’ll dig into this. Thanks again.

 

Ted

 

 

From: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] On Behalf Of harry@...
Sent: Thursday, January 12, 2017 1:13 AM
To: main@magicu-l.groups.io
Subject: Re: [magicu-l] Animated GIF in XPA 2.5

 

Hi Ted,

While you are waiting for Graig to become a Trumpian you could try the following:

Create 2 .NET variables (in the CRR you need System.Drawing & System.Windows.Forms if you not already have these):

A: System.Drawing.Bitmap

B: System.Windows.Forms.PictureBox

In the Task Prefix do the following:

1) Update A with DotNet.System.Drawing.Bitmap('C:\Temp\InTheClub.gif') {replace with your GIF}
2) Evaluate Exp: DNSet(B.Image,A)

and place B on your form. Done!

Note: I read on Stackoverflow that the GIF might stop working if the batch you are running is quite heavy. For this you would have to open the batch in another 'thread' (=parallel program in Magic). That might make it a little bit more complicated ;-)

Best regards,

Harry Kleinsmit.

 

 
IMPORTANT/CONFIDENTIAL: The information contained in this e-mail message and any attachments accompanying it may be privileged, confidential and protected from disclosure. The information is intended only for the use of the intended recipient(s). Delivery of this message to anyone other than the intended recipient(s) is not intended to waive any privilege or otherwise detract from the confidentiality of the message. If you are not the intended recipient, or if this message has been addressed to you in error, do not read, disclose, reproduce, distribute, disseminate or otherwise use this transmission, rather, please promptly notify the sender by reply e-mail, and then destroy all copies of the message and its attachments, if any.


Re: Animated GIF in XPA 2.5

Ted Shepler <tshepler@...>
 

That’s great news Craig!

Just in time too, there are rumors about building a hedge and making Scotland pay for it….

 

From: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] On Behalf Of Craig Martin
Sent: Wednesday, January 11, 2017 7:21 PM
To: main@magicu-l.groups.io
Subject: Re: [magicu-l] Animated GIF in XPA 2.5

 

Ha! 

 

As soon as my employment authorization is processed by the Federal Government, you could always hire the original creator of HotFudge, newly settled in the great United States of 'merica, to fix it. And more besides.

 

Craig

Mountain View, California

 


From: main@magicu-l.groups.io <main@magicu-l.groups.io> on behalf of Ted Shepler <tshepler@...>
Sent: Wednesday, January 11, 2017 4:54:49 PM
To: main@magicu-l.groups.io
Subject: [magicu-l] Animated GIF in XPA 2.5

 

A long time user of Hot Fudge, I was wondering if there was a “native” or DotNet method to display an animated GIF in XPA 2.5. Not a business critical need, but my dancing clock looks sad when static.

 
IMPORTANT/CONFIDENTIAL: The information contained in this e-mail message and any attachments accompanying it may be privileged, confidential and protected from disclosure. The information is intended only for the use of the intended recipient(s). Delivery of this message to anyone other than the intended recipient(s) is not intended to waive any privilege or otherwise detract from the confidentiality of the message. If you are not the intended recipient, or if this message has been addressed to you in error, do not read, disclose, reproduce, distribute, disseminate or otherwise use this transmission, rather, please promptly notify the sender by reply e-mail, and then destroy all copies of the message and its attachments, if any.

 
IMPORTANT/CONFIDENTIAL: The information contained in this e-mail message and any attachments accompanying it may be privileged, confidential and protected from disclosure. The information is intended only for the use of the intended recipient(s). Delivery of this message to anyone other than the intended recipient(s) is not intended to waive any privilege or otherwise detract from the confidentiality of the message. If you are not the intended recipient, or if this message has been addressed to you in error, do not read, disclose, reproduce, distribute, disseminate or otherwise use this transmission, rather, please promptly notify the sender by reply e-mail, and then destroy all copies of the message and its attachments, if any.


Re: Magic XPA 2.5 - Add and Delete Users

Polgár Ferenc
 

I don't have XPA, but in Unipaas 1.9 you can create as many user with the same name as you want.
Fernc

2017.01.11. 16:07 keltezéssel, Govert Schipper írta:

Hi Freddy,


You cannot add the same user twice. The UserID (Login name) is unique within the security system of Magic xpa.

Only the first call to UserAdd() will work, all consecutive calls with the same UserID will fail.


Govert




Van: main@magicu-l.groups.io <main@magicu-l.groups.io> namens Freddy Dewulf <softica@...>
Verzonden: woensdag 11 januari 2017 11:35
Aan: main@magicu-l.groups.io
Onderwerp: [magicu-l] Magic XPA 2.5 - Add and Delete Users
 

Hi group,

In XPA 2.5, I use the functions UserAdd and UserDel in my Login module.

With UserAdd it is possible to add several times the same user with a different password.

But, when I delete a user, I can only give the Logon-name as parameter, not the password.

So, the first user with that name is deleted.

The same problem with the functions RightAdd and GroupAdd.

Is there a workaround in order to solve this problem?


Tia




Re: Mouse click event

Florian Groothuis
 

You asked for an event, I gave you one...

 

Van: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] Namens andre@...
Verzonden: donderdag 12 januari 2017 14:03
Aan: main@magicu-l.groups.io
Onderwerp: Re: [magicu-l] Mouse click event

 

Hi Florian,

Thanks for your reply. There is no WindowHit() expression in version 9 of magic.

Best regards,
André

Met vriendelijke groet - With kind regards,

Florian Groothuis
Analist/programmeur
+31 (0)6 21927914


meilink.eu

Meilink Beheer Borculo B.V. • Kamerlingh Onnesstraat 1
7271 AZ  Borculo • Nederland • +31 (0)545 253525
KvK 08009803 • Our general terms and conditions apply • Disclaimer



Re: Mouse click event

Govert Schipper
 

André,


It's not a function but an internal event that can be caught and does the trick.


Govert




Van: main@magicu-l.groups.io <main@magicu-l.groups.io> namens andre@... <andre@...>
Verzonden: donderdag 12 januari 2017 14:03
Aan: main@magicu-l.groups.io
Onderwerp: Re: [magicu-l] Mouse click event
 

Hi Florian,

Thanks for your reply. There is no WindowHit() expression in version 9 of magic.

Best regards,
André


Re: Mouse click event

De Netwerkadviseur BV
 

Hi Florian,

Thanks for your reply. There is no WindowHit() expression in version 9 of magic.

Best regards,
André


Re: Mouse click event

Florian Groothuis
 

Use WindowHit()

 

Van: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] Namens andre@...
Verzonden: donderdag 12 januari 2017 9:31
Aan: main@magicu-l.groups.io
Onderwerp: [magicu-l] Mouse click event

 

Hi,

I have a form with controls on it. I need an event when the user clicks with the mouse anywhere on the form, outside any control. Is this possible with v9.4SP8?



Best regards,

André

Met vriendelijke groet - With kind regards,

Florian Groothuis
Analist/programmeur
+31 (0)6 21927914


meilink.eu

Meilink Beheer Borculo B.V. • Kamerlingh Onnesstraat 1
7271 AZ  Borculo • Nederland • +31 (0)545 253525
KvK 08009803 • Our general terms and conditions apply • Disclaimer



Re: Animated GIF in XPA 2.5

harry@...
 

Hi Ted,

While you are waiting for Graig to become a Trumpian you could try the following:

Create 2 .NET variables (in the CRR you need System.Drawing & System.Windows.Forms if you not already have these):

A: System.Drawing.Bitmap

B: System.Windows.Forms.PictureBox

In the Task Prefix do the following:

1) Update A with DotNet.System.Drawing.Bitmap('C:\Temp\InTheClub.gif') {replace with your GIF}
2) Evaluate Exp: DNSet(B.Image,A)

and place B on your form. Done!

Note: I read on Stackoverflow that the GIF might stop working if the batch you are running is quite heavy. For this you would have to open the batch in another 'thread' (=parallel program in Magic). That might make it a little bit more complicated ;-)

Best regards,

Harry Kleinsmit.



Mouse click event

De Netwerkadviseur BV
 

Hi,

I have a form with controls on it. I need an event when the user clicks with the mouse anywhere on the form, outside any control. Is this possible with v9.4SP8?



Best regards,

André


Release lock issued by sub-task

Avgerinos
 

Hi magicians

A question regarding record locking (uniPaaS 1.9, MSSQL-2008, Physical Transactions only) :
  • Parent online task goes in create mode, to edit and add record into table A  (Access=Write, Share=Write, Physical transaction, Lock on modify)
  • While editing parent, on a field's verification, a batch sub-task is called to update a single record in table B (Access=Write, Share=Write, Physical transaction, Lock on modify)
  • Batch task finishes and exits to parent task, that remains open for editing the rest of the fields.
The problem starts when two users try to do the same thing:
  • From the moment first user executes the batch task, table B will remain locked until the parent task exits (no matter what share/transaction settings I tried)
  • When the 2nd user also goes through the field's verification and initiates the batch sub-task, he will remain in a "waiting for lock state" until 1st user exits.
There is no reason for table B to remain locked for so long. I though nested transactions was the way, but obviously I did not read my lesson well ;-)

Is there any way to release the lock on batch-termination instead of online-parent exit?

Thanks in advance
Avgerinos



Re: Animated GIF in XPA 2.5

Craig Martin
 

Ha! 


As soon as my employment authorization is processed by the Federal Government, you could always hire the original creator of HotFudge, newly settled in the great United States of 'merica, to fix it. And more besides.


Craig

Mountain View, California



From: main@magicu-l.groups.io <main@magicu-l.groups.io> on behalf of Ted Shepler <tshepler@...>
Sent: Wednesday, January 11, 2017 4:54:49 PM
To: main@magicu-l.groups.io
Subject: [magicu-l] Animated GIF in XPA 2.5
 

A long time user of Hot Fudge, I was wondering if there was a “native” or DotNet method to display an animated GIF in XPA 2.5. Not a business critical need, but my dancing clock looks sad when static.

 
IMPORTANT/CONFIDENTIAL: The information contained in this e-mail message and any attachments accompanying it may be privileged, confidential and protected from disclosure. The information is intended only for the use of the intended recipient(s). Delivery of this message to anyone other than the intended recipient(s) is not intended to waive any privilege or otherwise detract from the confidentiality of the message. If you are not the intended recipient, or if this message has been addressed to you in error, do not read, disclose, reproduce, distribute, disseminate or otherwise use this transmission, rather, please promptly notify the sender by reply e-mail, and then destroy all copies of the message and its attachments, if any.


Re: Animated GIF in XPA 2.5

Steven Blank
 

Ted,

Failing all else, you could place a small dotNet browser control on the form and use it to display your GIF.

Steve Blank

At 04:54 PM 1/11/2017, you wrote:
A long time user of Hot Fudge, I was wondering if there was a native or DotNet method to display an animated GIF in XPA 2.5. Not a business critical need, but my dancing clock looks sad when static.

IMPORTANT/CONFIDENTIAL: The information contained in this e-mail message and any attachments accompanying it may be privileged, confidential and protected from disclosure. The information is intended only for the use of the intended recipient(s). Delivery of this message to anyone other than the intended recipient(s) is not intended to waive any privilege or otherwise detract from the confidentiality of the message. If you are not the intended recipient, or if this message has been addressed to you in error, do not read, disclose, reproduce, distribute, disseminate or otherwise use this transmission, rather, please promptly notify the sender by reply e-mail, and then destroy all copies of the message and its attachments, if any.


Animated GIF in XPA 2.5

tshepler@...
 

A long time user of Hot Fudge, I was wondering if there was a “native” or DotNet method to display an animated GIF in XPA 2.5. Not a business critical need, but my dancing clock looks sad when static.

 
IMPORTANT/CONFIDENTIAL: The information contained in this e-mail message and any attachments accompanying it may be privileged, confidential and protected from disclosure. The information is intended only for the use of the intended recipient(s). Delivery of this message to anyone other than the intended recipient(s) is not intended to waive any privilege or otherwise detract from the confidentiality of the message. If you are not the intended recipient, or if this message has been addressed to you in error, do not read, disclose, reproduce, distribute, disseminate or otherwise use this transmission, rather, please promptly notify the sender by reply e-mail, and then destroy all copies of the message and its attachments, if any.


Re: View Rights Assigned to Groups

Jim Stephenson
 

Thanks Steve and Andy.



On Wed, Jan 11, 2017 at 3:22 PM Andy Jerison <droidaj@...> wrote:
The MGUSRDMP Utility does that. It's MgUsrDmp.exe, located in the install folder.







--
Sent from Jim's Ipad


Re: View Rights Assigned to Groups

Andy Jerison
 

The MGUSRDMP Utility does that. It's MgUsrDmp.exe, located in the install folder.

12481 - 12500 of 195966