When in Magic 3.3g developer, cannot see Expression panel or colors or Environment screens
roedolf@...
Hi All
I am using Magic XPA 3.3g. It has been working fine until this morning, when i am zooming on an expression in a program, i cannot see the expression screen. I've also noticed that the same is happening with the Environment or Colors or fonts screens. It looks like the screens are opening behind the current XPA display, but i cannot get to them. I've played around with Registry settings but without any success. Any suggestions i can try to rectify this will be appreciated as I am not able to get around this issue. |
|
Re: Magic Web Client - Study Group
Craig Martin
OK, to confirm, you actioned the steps in "How
Do I Upgrade Magic xpa Web Client Applications from Angular 8 to 10?"
In
fact I started with a fresh, new app in Magic XPA 4.81. But I will walk through this.
From: Craig Martin <craig@...>
Sent: Monday, December 12, 2022 4:06 PM To: main@magicu-l.groups.io <main@magicu-l.groups.io> Subject: Re: [magicu-l] Magic Web Client - Study Group Specific link?
From: main@magicu-l.groups.io <main@magicu-l.groups.io> on behalf of Tim Downie <tim_downie@...>
Sent: Monday, December 12, 2022 4:03 PM To: main@magicu-l.groups.io <main@magicu-l.groups.io> Subject: Re: [magicu-l] Magic Web Client - Study Group If you look on the magicweb.io site there is instructions on how to update the angular version of an existing project. I did this a while ago and have node 14 working with a 4.81 project imported from 4.7
From: main@magicu-l.groups.io <main@magicu-l.groups.io> on behalf of Craig Martin <craig@...>
Sent: Tuesday, 13 December 2022 7:04 AM To: main@magicu-l.groups.io <main@magicu-l.groups.io> Subject: Re: [magicu-l] Magic Web Client - Study Group I messed around this morning with web client for the first time in a very long time,
while hanging around at Les Schwab.
I had some modest success first upgrading to node-v14.21.1-x86.msi
I suspect I have some angular cli dependency mismatch, I needed to add
"skipLibCheck": true, to tsconfig in the compiler options to get ng serve to compile but later get page errors on a hello, world internal to app.module.
I'll roll the dice a bit later with some other version combinations and thereafter seek god mode assistance from MSE support.
🙂
NG0303: Can't bind to 'ngIf' since it isn't a known property of 'div' (used in the 'MagicShellComponent' component template). From: main@magicu-l.groups.io <main@magicu-l.groups.io> on behalf of Roman Goldenberg <roman.goldenberg@...>
Sent: Sunday, December 11, 2022 6:33 AM To: main@magicu-l.groups.io <main@magicu-l.groups.io> Subject: Re: [magicu-l] Magic Web Client - Study Group On Thu, Dec 8, 2022 at 01:54 PM, Marc Gauthier wrote:
i'm received the same error C:\ngSPA\SPA>echo off
generating components
[V-CLI] cmd.exe /c ng g @magic-xpa/cli:magic
[>] ********************************* START GENERATE *********************************
Number of modules to be check for generate: 1
[>] ****** Start Web Module name : [] *******
*** Step 1: Loading JSON files ***
Generation warnings/errors:
File .//src/app/magic/magic.gen.lib.module.ts does not exist.
[>] Loading JSON file .//magic-metadata/Main/StartProgram/StartProgram.json
*** Step 2: Processing JSON files - (1 components) ***
[>] Processing JSON file for component StartProgram
*** Step 3: generate components. (1 components) ***
[>] generate component StartProgram
[>] Step 4: components-list.
creating component-list
[>Error] File cannot be overwrite, The file is not exist !!! : .//src/app/magic/magic.gen.lib.module.ts
|
|
Re: Magic Web Client - Study Group
Craig Martin
Specific link?
From: main@magicu-l.groups.io <main@magicu-l.groups.io> on behalf of Tim Downie <tim_downie@...>
Sent: Monday, December 12, 2022 4:03 PM To: main@magicu-l.groups.io <main@magicu-l.groups.io> Subject: Re: [magicu-l] Magic Web Client - Study Group If you look on the magicweb.io site there is instructions on how to update the angular version of an existing project. I did this a while ago and have node 14 working with a 4.81 project imported from 4.7
From: main@magicu-l.groups.io <main@magicu-l.groups.io> on behalf of Craig Martin <craig@...>
Sent: Tuesday, 13 December 2022 7:04 AM To: main@magicu-l.groups.io <main@magicu-l.groups.io> Subject: Re: [magicu-l] Magic Web Client - Study Group I messed around this morning with web client for the first time in a very long time,
while hanging around at Les Schwab.
I had some modest success first upgrading to node-v14.21.1-x86.msi
I suspect I have some angular cli dependency mismatch, I needed to add "skipLibCheck":
true, to tsconfig in the compiler options to get ng serve to compile but later get page errors on a hello, world internal to app.module.
I'll roll the dice a bit later with some other version combinations and thereafter seek god mode assistance from MSE support.
🙂
NG0303: Can't bind to 'ngIf' since it isn't a known property of 'div' (used in the 'MagicShellComponent' component template). From: main@magicu-l.groups.io <main@magicu-l.groups.io> on behalf of Roman Goldenberg <roman.goldenberg@...>
Sent: Sunday, December 11, 2022 6:33 AM To: main@magicu-l.groups.io <main@magicu-l.groups.io> Subject: Re: [magicu-l] Magic Web Client - Study Group On Thu, Dec 8, 2022 at 01:54 PM, Marc Gauthier wrote:
i'm received the same error C:\ngSPA\SPA>echo off
generating components
[V-CLI] cmd.exe /c ng g @magic-xpa/cli:magic
[>] ********************************* START GENERATE *********************************
Number of modules to be check for generate: 1
[>] ****** Start Web Module name : [] *******
*** Step 1: Loading JSON files ***
Generation warnings/errors:
File .//src/app/magic/magic.gen.lib.module.ts does not exist.
[>] Loading JSON file .//magic-metadata/Main/StartProgram/StartProgram.json
*** Step 2: Processing JSON files - (1 components) ***
[>] Processing JSON file for component StartProgram
*** Step 3: generate components. (1 components) ***
[>] generate component StartProgram
[>] Step 4: components-list.
creating component-list
[>Error] File cannot be overwrite, The file is not exist !!! : .//src/app/magic/magic.gen.lib.module.ts
|
|
Re: Magic Web Client - Study Group
Tim Downie
If you look on the magicweb.io site there is instructions on how to update the angular version of an existing project. I did this a while ago and have node 14 working with a 4.81 project imported from 4.7
From: main@magicu-l.groups.io <main@magicu-l.groups.io> on behalf of Craig Martin <craig@...>
Sent: Tuesday, 13 December 2022 7:04 AM To: main@magicu-l.groups.io <main@magicu-l.groups.io> Subject: Re: [magicu-l] Magic Web Client - Study Group I messed around this morning with web client for the first time in a very long time,
while hanging around at Les Schwab.
I had some modest success first upgrading to node-v14.21.1-x86.msi
I suspect I have some angular cli dependency mismatch, I needed to
add "skipLibCheck": true, to tsconfig in the compiler options to get ng serve to compile but later get page errors on a hello, world internal to app.module.
I'll roll the dice a bit later with some other version combinations and thereafter seek god mode assistance from MSE support.
🙂
NG0303: Can't bind to 'ngIf' since it isn't a known property of 'div' (used in the 'MagicShellComponent' component template). From: main@magicu-l.groups.io <main@magicu-l.groups.io> on behalf of Roman Goldenberg <roman.goldenberg@...>
Sent: Sunday, December 11, 2022 6:33 AM To: main@magicu-l.groups.io <main@magicu-l.groups.io> Subject: Re: [magicu-l] Magic Web Client - Study Group On Thu, Dec 8, 2022 at 01:54 PM, Marc Gauthier wrote:
i'm received the same error C:\ngSPA\SPA>echo off
generating components
[V-CLI] cmd.exe /c ng g @magic-xpa/cli:magic
[>] ********************************* START GENERATE *********************************
Number of modules to be check for generate: 1
[>] ****** Start Web Module name : [] *******
*** Step 1: Loading JSON files ***
Generation warnings/errors:
File .//src/app/magic/magic.gen.lib.module.ts does not exist.
[>] Loading JSON file .//magic-metadata/Main/StartProgram/StartProgram.json
*** Step 2: Processing JSON files - (1 components) ***
[>] Processing JSON file for component StartProgram
*** Step 3: generate components. (1 components) ***
[>] generate component StartProgram
[>] Step 4: components-list.
creating component-list
[>Error] File cannot be overwrite, The file is not exist !!! : .//src/app/magic/magic.gen.lib.module.ts
|
|
Re: PostgreSQL not showing in my Database List (HELP)
Roberto Ramirez Cervantes
Matt,
I do not thing you can just add it and make it happen, but you can try.., I think you need to tell Magic that you need a license with the Postgres option turned on. In my license.dat file, this is where the "POSTGRESW" setting is: "T=MGCSTK,P=N,GS=Y,GSGW=Y,POSTGREGW=Y,SN=#######" Roberto |
|
Re: PostgreSQL not showing in my Database List (HELP)
mattscharlestt@...
On Mon, Dec 12, 2022 at 03:11 PM, Roberto Ramirez Cervantes wrote:
POSTGREGW=YRoberto, My license.dat file does not have "POSTGREGW=Y". Is it something I can add or an adjustment Magic have to make to my license? Additionally, if I can add it myself is there a certain order in which to insert POSTGREGW=Y. |
|
Re: Magic Web Client - Study Group
Craig Martin
I messed around this morning with web client for the first time in a very long time,
while hanging around at Les Schwab.
I had some modest success first upgrading to node-v14.21.1-x86.msi
I suspect I have some angular cli dependency mismatch, I needed to add
"skipLibCheck": true, to tsconfig in the compiler options to get ng serve to compile but later get page errors on a hello, world internal to app.module.
I'll roll the dice a bit later with some other version combinations and thereafter seek god mode assistance from MSE support.
🙂
NG0303: Can't bind to 'ngIf' since it isn't a known property of 'div' (used in the 'MagicShellComponent' component template). From: main@magicu-l.groups.io <main@magicu-l.groups.io> on behalf of Roman Goldenberg <roman.goldenberg@...>
Sent: Sunday, December 11, 2022 6:33 AM To: main@magicu-l.groups.io <main@magicu-l.groups.io> Subject: Re: [magicu-l] Magic Web Client - Study Group On Thu, Dec 8, 2022 at 01:54 PM, Marc Gauthier wrote:
i'm received the same error C:\ngSPA\SPA>echo off
generating components
[V-CLI] cmd.exe /c ng g @magic-xpa/cli:magic
[>] ********************************* START GENERATE *********************************
Number of modules to be check for generate: 1
[>] ****** Start Web Module name : [] *******
*** Step 1: Loading JSON files ***
Generation warnings/errors:
File .//src/app/magic/magic.gen.lib.module.ts does not exist.
[>] Loading JSON file .//magic-metadata/Main/StartProgram/StartProgram.json
*** Step 2: Processing JSON files - (1 components) ***
[>] Processing JSON file for component StartProgram
*** Step 3: generate components. (1 components) ***
[>] generate component StartProgram
[>] Step 4: components-list.
creating component-list
[>Error] File cannot be overwrite, The file is not exist !!! : .//src/app/magic/magic.gen.lib.module.ts
|
|
Re: Problems using Blat
On 2022-12-12 12:20, Jacques wrote:
-log Blat-save.txt
I think this piece makes a log file named "Blat-save.txt". This should contain an error message..... P.S. Like Charles already suggested, please change your password. |
|
Re: PostgreSQL not showing in my Database List (HELP)
Roberto Ramirez Cervantes
Matt,
Please check that your License.dat file contains the setting: "POSTGREGW=Y"
You can see this post on the explanation for it: https://magicu-l.groups.io/g/main/message/192022
Regards, Roberto |
|
Re: PostgreSQL not showing in my Database List (HELP)
I'm sorry I can't help you further as I've no experience whatsoever with Postgre. All I can say is that your observations strongly suggest that you have not yet fully/correctly installed the Postgre client library.
Steven G. Blank Ξ SGBlank Consulting |
|
Re: Problems using Blat
Jacques,
I've used blat for a number of years but it does not support TLS and had to move away. I have also had to troubleshoot issues like this in the past. I would install a small email program called SwithMail that has a gui interface. It allows you to put in the parameters for sending a message and verify you can connect or not to your email server properly - essentially you can edit the parameters in real time needed to connect. You also get back troubleshooting messages when issues arise. I would also delete or edit your original message or change your password as your password appears in the message. Good luck, Charles -- Charles Coe, CPA, MCSE New Orleans, Louisiana |
|
Re: PostgreSQL not showing in my Database List (HELP)
mattscharlestt@...
On Sun, Dec 11, 2022 at 04:27 PM, Steven Blank wrote:
MGDB11=mgPostgreSQL.dllSteven, Thank you for your response. [MAGIC_GATEWAYS]
MGDB00=Gateways\MGBtrieve.dll
MGDB01=Gateways\MGPervasiveSQL.dll
MGDB03=Gateways\MGMySQL.dll
;MGDB06=mgdb2400.DLL
MGDB09=Gateways\mgSQLite.dll
MGDB11=Gateways\mgPostgreSQL.dll
;MGDB13=Gateways\mgOracle.dll
;MGDB16=mgeac.dll
;MGDB18=Gateways\mgdb2.DLL
MGDB19=Gateways\mgodbc.dll
MGDB20=Gateways\mgmssql.dll
MGDB21=Gateways\mgmemory.dll
MGDB10=Gateways\mglocal.dll
I made the adjustments and saved the file as ANSI, however, it does not seem to be showing still. |
|
Problems using Blat
Hello,
i was using J. Vissenbergs's activeX component to send mails from my OutLook. (Professional Plus 2010) Now, it doesn't work anymore, probably due to change(s) to either Outlook, or Win10. So i tried to use Blat, but do not manage to get it working right.. Here the .BAT i'm creating in Magic 8.30 (yessss, i'm getting old)... "C:\Program files (x86)\magic830\blat.exe" -body Blat.txt -subject "Test Subject" -to jacques.gander@... -f j.gander@... -server smtpng.dfinet.ch -u j.gander@... -pw !N9nvZ@91 -log Blat-save.txt -attach D:\Dropbox\MgData\Develop\PDF\DIA-GANDER.pdf -port 465 Pause Exit Here what's happening... NOTHING.... |
|
Re: PostgreSQL not showing in my Database List (HELP)
You may need to edit the MAGIC.INI file manually. In your MAGIC.INI file, you will find a section similar to the following: ...[MAGIC_GATEWAYS] MGDB00=Gateways\MGBtrieve.dll MGDB01=Gateways\MGPervasiveSQL.dll ;MGDB03=MGMySQL.dll ;MGDB06=mgdb2400.DLL MGDB09=Gateways\mgSQLite.dll ;MGDB11=mgPostgreSQL.dll ;MGDB13=mgOracle.dll ;MGDB16=mgeac.dll ;MGDB18=mgdb2.DLL ;MGDB19=mgodbc.dll ;MGDB20=mgmssql.dll MGDB21=Gateways\mgmemory.dll MGDB10=Gateways\mglocal.dll ... In the above snippet, note that the line beginning with MGDB11= is preceded by a semicolon character (;). This prevents Magic from loading that line because the line is remarked-out. To instruct Magic to load the PostgreSQL gateway, I would edit my MAGIC.INI file using Notepad, remove the semicolon character (;) and provide the correct, relative path to the gateway DLL, similar to the other entries in your MAGIC.INI file's [MAGIC_GATEWAYS] section. Steven G. Blank
Ξ SGBlank Consulting
PS: Make sure to save the modified MAGIC.INI file as ANSI, not as Unicode. On 12/7/2022 1:20 PM,
mattscharlestt@... wrote:
Good day, |
|
Re: sending mail via magic 9.4
Roman Goldenberg
if you work with sql server ,you can configure you office 365 there and work with build in stored procedure SP_SEND_DBMAIL
|
|
Re: Magic Web Client - Study Group
Roman Goldenberg
On Thu, Dec 8, 2022 at 01:54 PM, Marc Gauthier wrote:
i'm received the same error C:\ngSPA\SPA>echo off
generating components
[V-CLI] cmd.exe /c ng g @magic-xpa/cli:magic
[>] ********************************* START GENERATE *********************************
Number of modules to be check for generate: 1
[>] ****** Start Web Module name : [] *******
*** Step 1: Loading JSON files ***
Generation warnings/errors:
File .//src/app/magic/magic.gen.lib.module.ts does not exist.
[>] Loading JSON file .//magic-metadata/Main/StartProgram/StartProgram.json
*** Step 2: Processing JSON files - (1 components) ***
[>] Processing JSON file for component StartProgram
*** Step 3: generate components. (1 components) ***
[>] generate component StartProgram
[>] Step 4: components-list.
creating component-list
[>Error] File cannot be overwrite, The file is not exist !!! : .//src/app/magic/magic.gen.lib.module.ts
|
|
Re: Magic Web Client - Study Group
Roman Goldenberg
I'm sorry to disappoint you, but I didn't succeeded to create an Angular project through magic wizard.
what worked in magic xpa 4.8 don't work in magic xpa 4.8.1 |
|
Re: Magic Web Client - Study Group
Craig Martin
Hi Marc, I confess I didn't work with web client since February and haven't updated GitHub - Magic-Dev-Community/mgWebClient-HandsOn-Course: Lesson Checkpoints following Magic's Web Client Hands-On SPA Course further than the halfway point through the course. Yes, versions and prerequisites have perhaps changed since then. I found the Hands-On Course riddled with minor bugs and gotchas and in the end also decided I'd be unlikely to use this technology in production. I think there are people using Web-Client but they are few in number as far as I know and, anecdotally, regret their choices. Magic is still a robust and reliable solution to fast and easy backend work, for me, I'd prefer to manage the web front-end framework completely independent of Magic. That said, let me see if I can get Magic 4.81 working and detail what I did. |
|
Re: Download a file from a URL
#xpa
Adrian Wick
All you need is a binary blob variable and httpget('ulr_to_the_file') and after that do the blb2file(blob variable,'file.pdf_with_location').
Regards A |
|
Re: Download a file from a URL
#xpa
sherman levine
I do it using Curl
curl -o
"c:\images\XXXFILES\CopyP68397.JPG"
"https://whatever.com/images/P68397.jpg"
Sherm
On 12/8/2022 12:46 PM, luis@...
wrote:
|
|