Re: XPA Excel .net communication
lehoczki@...
Dear Peter,
I also had a problem with creating csv files. My solution was for 0 leading text fields to use ="value" in the cell. CSV file example: =0101;101 ="0101";101 0101;101 =" 0101";101 So I simple put =" before the field on the output form and " char after the field. Best regards, Viktor |
|
Re: Warning : big bug on delete status in XPA 4.6 #xpa4.6
Sébastien GT <sebastiengt@...>
Good morning all,
Magic will release today or tomorrow a new Magic XPA 4.6.1a version that fixes this bug. |
|
XPA Excel .net communication
Peter Ashworth
Hi All xlApp.Workbooks.OpenText("c:\\selections\\petera\\18032020.TXT", false, 1, Excel.XlTextParsingType.xlDelimited, Excel.XlTextQualifier.xlTextQualifierDoubleQuote, Type.Missing, true, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, fieldInfo, //field info Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing); |
|
Re: MGIC stock price
Gábor Bor
Hy Todd,
I think there will be a better jump in point between 4-5. If you watching the chart there is a stay at 4$ in the past, but in this situation nothing sure, i could imagine lower levels. Best Regards, Gábor |
|
Re: Multiuser SQLite
#xpa
#sqlite
#multiuser
Thomas Titus
A while ago, I tried SQLite 100% in read only mode for a single web service and experienced occasional lock errors. Finally, I changed to MSSQL Express and resolved the issue.
Thanks Thomas Titus. |
|
Re: Multiuser SQLite
#xpa
#sqlite
#multiuser
tomdzio
I've just received the following reply from Magic helpdesk:
Hi Tomasz, I have following update from our Product Management, SQLite is a single user DB and the same considered by Magic. We do not support accessing the same DB by multiple threads/engines. So there is no way to use SQLite in XPA multi user environment even if we accept locking of whole DB in the moment of writing. It a pity. Tomasz |
|
MGIC stock price
Todd Baremore
Thinking out load...
What if we all bought 100 shares of Magic Software (MGIC) today/tomorrow? The price is currently 6.63/share with a 4.62% dividend. Think of it is as offsetting your annual support cost. Todd |
|
Re: Connecting shares automatically
Thomas Titus
Thanks Rob for the update.
Thomas Titus |
|
Re: Connecting shares automatically
Rob Westland
Hi Hans,
toggle quoted message
Show quoted text
I just solved it. I changed the user of the Broker to myself and then Magic can write to the share. Apparantly the other useraccount doens't have access on the Magic server to execute/open the share. Now I only have to find out why that user doesn't have the rights. Thanks, Rob Op 17-3-2020 om 14:55 schreef Hans Brussaard: Hi Rob, |
|
Re: Connecting shares automatically
Hans Brussaard
Hi Rob,
Have you tried executing the net use command from within Magic using Invoke OS? Hans |
|
tomdzio
Hello
Some time ago I raised the topic of creation of accordion style menu which is today's standard for web applications. On advice of the group I've created it directly in XPA using the trick with butons in the table. It works ok however in one of the replies it was mentioned the possibility of using Web Browser: here Unfortunately described solution use ActiveX variable which seems to be not supported any more by XPA (see the youtube movie in the link). Does anybody have idea how to do the same without ActiveX variable? Tomasz |
|
Re: Connecting shares automatically
Rob Westland
Hi Thomas,
Op 17-3-2020 om 04:13 schreef Thomas Titus via Groups.Io: Are you setting up a remote Unipass Broker, away from the DMZ IIS server?We have a webserver running in DMZ with Apache And a Magicserver in AD running the Magic broker and the Magic engines Do you have an ARR Server (Application Request Routing) to host your file share?The fileserver is a regular server with a share No. I think that the webserver isn't getting very much to do. I think that the only reason for multiple IIS is for fault tolerance. |
|
Re: Connecting shares automatically
Rob Westland
Hi Luuk, the problem is not the command (net use) itself. The command must be executed on startup of the server in background, without any user logged in.
Op 17-3-2020 om 08:31 schreef Luuk:
Some more details: |
|
Re: Connecting shares automatically
Some more details:
C:\Users\Luuk>net use r: /d
r: was deleted successfully.
C:\Users\Luuk>net use r: \\SERVER\SHARE
The command completed successfully.
C:\Users\Luuk>wmic netuse where LocalName="r:" get UserName /value
UserName=DOMAIN\USERNAME
C:\Users\Luuk>net use r: /d
r: was deleted successfully.
C:\Users\Luuk>net use r: \\SERVER\SHARE PASSWORD /user:DOMAIN\USERNAME
The command completed successfully.
C:\Users\Luuk> |
|
Re: Connecting shares automatically
Thomas Titus
Hi Rob, Are you setting up a remote Unipass Broker, away from the DMZ IIS server? Do you have an ARR Server (Application Request Routing) to host your file share? Are you setting up multiple IIS to do load balancing? I know, I asked a lot of questions, but I am very curios to know your efforts and progress. Thanks Thomas Titus
Are
|
|
Re: Multiuser SQLite
#xpa
#sqlite
#multiuser
tomdzio
I've tried both Physical and Deferred and also different locking strategy.
|
|
Re: Multiuser SQLite
#xpa
#sqlite
#multiuser
Wes Hein
What are the transaction settings for the program?
|
|
Re: Multiuser SQLite
#xpa
#sqlite
#multiuser
tomdzio
Hi Wes
I've just tried and I have the message in the statusline "Failed to disconnect, datasource is open, datasource: Products". My test is very simple: I'm running simple browsing program for table Products from top menu on 2 session in Runtime. The problem starts if the program is open on both session and I'm modifying a record on one of them. Even after closing the program on the that session I'm getting "db is locked" error on the second one. On the other hand the first session is also not possible to use as when try to start browsing program again I'm getting "cannot start a transaction withing a transaction" error. Tomasz |
|
Re: Multiuser SQLite
#xpa
#sqlite
#multiuser
Wes Hein
Have you tried a DbDiscnt after updating the value? Just a WAG. Is this database open all the time for default values or only opened on occasion?
Wes |
|
Multiuser SQLite
#xpa
#sqlite
#multiuser
tomdzio
Hello
I know that SQLite is rather single-user DBMS but I red here that it is possible to use in in multi-user environment - this is just the question of updating by 1 user at any instant of time as whole DB is locked on writing. However when I'm trying with Magic (XPA 3.3) it looks like first update lock DB exclusively and not releasing it after this update is finalized. Second Magic session gets just the message - "Database locked". Is it really no possible to overcome this? regards Tomasz |
|