Re: Brown Bag 2022 or 2023 Poll - location options and timing - pick one 2022 option and one 2023 option
#poll-notice
Hi Ram,
Certainly understood - The challenge has more to do with the technical issues of pulling it off - and as we are all volunteers, doing on line sessions is a little too big for us to try and pull off in a quality way. What we are good at here is in person food and entertaining in New Orleans - so this time we're focused on a good in person experience. The Magic community has always been about sharing. If we figure out a way to easily share content, we will. Thanks, Charles -- Charles Coe, CPA, MCSE New Orleans, Louisiana
|
|
Query Records <=> View Refresh
Hi Guys,
Who can tell me the exact difference between both Events and in what situation do you use them ? TIA, Teun van Unen.
|
|
Avgerinos
Thanks Roberto :-)
toggle quoted messageShow quoted text
Finally I got it working. While trying with your suggestion, I found out that the %Path% environment variable had exceeded its 2048 characters limit (still keeping my dev-laptop at windows7). Probably it was unable to find the WebView2Loader.dll Regards Avgerinos On 5/9/2022 3:46 μ.μ., Roberto Gauer
wrote:
|
|
ANNOUNCEMENT: Brown Bag 2023 - New Orleans Louisiana USA - March 20, 21st and 22nd 2023. Magic Developer Conference North America - Conference fee is $199.00 and Rooms are $199.00/night plus resort fee and taxes - Details at https://MagicDeveloper.net
Magicians,
|
|
Re: Lots of Free Time
#xpa
Roberto,
Give me a call.
Keith Canniff
From: main@magicu-l.groups.io <main@magicu-l.groups.io> On Behalf Of Roberto Ramirez Cervantes
Sent: Friday, September 16, 2022 1:23 PM To: main@magicu-l.groups.io Subject: [magicu-l] Lots of Free Time #xpa
Hello All,
|
|
Lots of Free Time
#xpa
Roberto Ramirez Cervantes
Hello All,
After a restructuring process at my former company, I find myself with lots of free time. I have been working with Magic since 5.02 all the way to 4.8 (except version 6.00 because it was soo terrible). My strong points are Desktop, backend API programming with Pervasive\Actian and MSSQL backends, I love testing applications, write user manuals and documenting code; I am late to the RIA and WebClient party but now that I have time I will get acquaintance with these features. I will be updating my CV and LinkedIn page this weekend but do not hesitate to contact me if you have any questions. Thank you Roberto
|
|
Avgerinos
Thanks Roberto and Andrian for the suggestions.
toggle quoted messageShow quoted text
Tried both hints in XPA3.3 & 4.7, but no luck yet. It always ends up with the following message in mgerror.log: The instance of CoreWebView2 is uninitialized and unable to complete this operation. See EnsureCoreWebView2Async., Program: "TEST__u_IExplorer_.NET_WebView". It's probably a matter of runtimes & paths setup. Anyone can describe the exact steps taken to install WebView2 libraries? Thanks in advance to anyone who can help Regards Avgerinos On 5/9/2022 5:20 μ.μ., Adrian Wick
wrote:
Install the microsoft edge cannary. That did the trick for me.
|
|
Android assets sub folder
Todd Baremore
XPA 4.8.1
Android 13 I added subfolder "sets" to the assets folder in RIAModules. The subfolder has a number of files in it. RIAModules\Android\Source\app\src\main\assets\sets I'm able to create an APK without errors. In the Android app I'm unable to access files in the "sets" subfolder. ClientFielExist('/sets/data1.set') returns False ClientFileExists(ClientGetAppInfo('cacheFolder') &'/sets/data1.set') also returns False If I place data1.set in the assets folder ClientFielExist('data1.set') returns True ClientFileExists(ClientGetAppInfo('cacheFolder') &'/data1.set') also returns True Is there something special about accessing subfolders in the assets folder? Any idea what I'm missing? Todd
|
|
Re: Windows 11 and Browser Control
Steven Burrows
Thanks, gave it a try, but still have blank control, although it’s quite likely to be me not really having a clue (I didn’t even have Microsoft.mshtml in my CRR)
The js looks good and BrowserScriptExecute returns TRUE, so I must be doing something right.
If anyone gets an XPA example working that can display a pdf blob, it would be appreciated
Steven Burrows
From: main@magicu-l.groups.io <main@magicu-l.groups.io>
On Behalf Of Todd Baremore via groups.io
This email is not from Hexagon’s Office 365 instance. Please be careful while clicking links, opening attachments, or replying to this email.
Brendan & Steve,
On 9/12/2022 4:56 AM, Brendan Wheeler wrote:
|
|
Re: Brown Bag 2022 or 2023 Poll - location options and timing - pick one 2022 option and one 2023 option
#poll-notice
Ram Butan
Mr. Charles Coe, Please consider having the event available via Zoom or any other suitable meeting platform. This would greatly facilitate those who find it challenging to travel to New Orleans in the United States. Regards, Ram Butan
Mike,
|
|
Re: Blat
Bob Witte
I've used it much longer than that, also for free.
|
|
Re: Windows 11 and Browser Control
Todd Baremore
Brendan & Steve,
toggle quoted messageShow quoted text
Apologies for not RTFMing before the post. "BrowserSetContent Sets the content displayed in a Browser Control with a new html text. " There should be a way to do this using javascript and BrowserScriptExecute(). Off the top of my head, create a generic html page with a javascript function that accepts a single BLOB parameter. The type will need to be set similar to type:'application/pdf' ....20 minutes later..... See this example: var blob = new Blob([pdfBuffer], {type: 'application/pdf'}); var blobURL = URL.createObjectURL(blob); window.open(blobURL); https://stackoverflow.com/questions/53066089/how-to-open-pdf-blob-using-browsers-pdf-viewer-rather-than-downloading This would be a good Brown Bag session. Todd On 9/12/2022 4:56 AM, Brendan Wheeler
wrote:
Hi Todd, thank you for the suggestion.
|
|
Re: Windows 11 and Browser Control
Steven Burrows
Not here on 4.8.1, that just displays the PDF as a Unicode/Ascii string
Worse – While testing this, I discovered that our “foolproof” method of copying to OSTemp doesn’t work on a new RDP Server, that just shows blank. …getting rather frustrated – Time for a cup of Tea Steven Burrows
From: main@magicu-l.groups.io <main@magicu-l.groups.io>
On Behalf Of Todd Baremore via groups.io
Brendan, Todd
On 9/9/2022 8:21 AM, Brendan Wheeler wrote:
|
|
Re: Windows 11 and Browser Control
Brendan Wheeler
Hi Todd, thank you for the suggestion.
However using the 4.8 browser control if I pass the blob directly to the browser using BrowserSetContent( ) I still get a page of raw data. The browser does not recognise it as a pdf unless I use Blb2File() to first create physical pdf..
|
|
Re: Task Suffix of Main Program
Thank you! CtxGetName() = ‘Main’ works like a charm.
|
|
Re: Task Suffix of Main Program
Steven Burrows
Similarly… Condition your call on : CtxGetName() = ‘Main’
Steven Burrows
From: main@magicu-l.groups.io <main@magicu-l.groups.io>
On Behalf Of Frederik Soete via groups.io
This email is not from Hexagon’s Office 365 instance. Please be careful while clicking links, opening attachments, or replying to this email.
Hi,
Just a guess... Have you tried checking CtxNum()? I guess the very last task suffix will have value 1, all other task suffixes would have a larger value. Op zo 11 sep. 2022 14:49 schreef JK Heydt <john@...>:
|
|
Re: Task Suffix of Main Program
Frederik Soete
Hi, Just a guess... Have you tried checking CtxNum()? I guess the very last task suffix will have value 1, all other task suffixes would have a larger value. Op zo 11 sep. 2022 14:49 schreef JK Heydt <john@...>:
I want to log when a user exits the program, but the task suffix of the main program runs every time a parallel program terminates, and again when the system terminates. How can I capture when the system terminates? I've tried Level() and TDepth() but they don't seem to help.
|
|
Re: Task Suffix of Main Program
and... capturing the event "Close Application" on any scope doesn't seem to work either. Nothing happens when in the main program.
|
|
Task Suffix of Main Program
I want to log when a user exits the program, but the task suffix of the main program runs every time a parallel program terminates, and again when the system terminates. How can I capture when the system terminates? I've tried Level() and TDepth() but they don't seem to help.
Thanks! John H
|
|
Re: Blat
Hey John,
Remove this from your string -u pomsales@... I do not think you will be limited to only people in the address book on the server. If that is the case, then I suspect a setting in the email server configuration, and that is above my pay grade. Keep us posted on how you progress and if you get this working. Good luck, Charles -- Charles Coe, CPA, MCSE New Orleans, Louisiana
|
|