Cheers
Hi Andrew,
I have not worked with mvBase yet. In MSVP what do you normally pass as Account and Password when you do MSVP.Logto(Account,Password)
I could be messing up call?
Cheers
--
public MVConnection create() {
MVConnection conn = null;
Properties props = new Properties();
props.setProperty("username", "mvspUserName"); //Edited for security
props.setProperty("password", "mvspPassword"); //Edited for security
try {
//Live
System.out.println(" Connecting");
conn = new MVConnection("jdbc:mv:mvBase:serverIP:serverPort", props); //Edited for security
System.out.println(" Connected");
conn.logTo("MVaccount", "MVPassword"); //Edited for security
System.out.println(" Logged In");
} catch (MVException e) {
System.err.println("========MVConnection Error========");
System.err.println(e.getMessage());
System.err.println(e.getErrorCode());
System.err.println("==================================");
}
return conn;
}
--
Hi Andrew,
Reading your source code I saw that you do this query:
SELECT VOC WITH F1 LIKE F... AND F4 LIKE Directory…
In QM this query would not return any items. I guess the gateway will translate this query to each type of MVserver (QM, D3, U2, etc...). Am I right, or is it necessary to change that query?
Regards,
Marcos Alonso Vega
I will add the changes and publish your changes. I am out of the office today so it will have to be tomorrow
Cheers
There are two file system providers. One for MVON# and another for the Gateway, the code you are looking at is for the MVON# filesystem provider.
My testing before releasing the extension was with everything on the localhost (school boy error).
Sorry for the frustration. We are setting up a real world environment to iron out the problems.
Will let you know as soon as we have it sorted
Cheers
As I just explained to Marcos, we tested on single machine before releasing.Sorry for the frustration.
We will setup the correct environment and let you know as soon as I have ironed out the issues.
Cheers
No problem. It's a fantastic job and I'm sure it will be even better. Congratulations. Marcos Alonso Vega
We have published a new version of the extensions and gateway today. I believe the issues that frustrated you earlier should be resolved.
You are going to need to to re install the gateway for the changes to become effective.
We have tested the following:
QM - sorted out the 32 bit and 64 bit issues.
JBASE - added JBASE connectivity, you will need to have a *F* pointer in the MD for files to be accessible.
D3 - All files and not only program files are accessible. Our mvBase testing is ongoing but it might work. Let me know
Universe - all working
Unidata - you will need to specify the Unidata home directory as a setting in the config.
I will publish the settings that we used for testing all of the environments tomorrow.
If anyone has any issues using the gateway please let me know
Cheers
I will attend to it in the morning
Cheers
Hi All,As discussed a week ago, we have put together a gateway to allow people using Visual Studio Code to remotely edit you BASIC code on the above platforms. The MV# Extensions include all the coding features that most other languages have includingCode highlighting for MV# BASIC Programs
Intellisense for the MV# BASIC Statements and Functions
Code folding
Code formatting
Goto/Peek Definition. Automatically jump to and peek internal subroutines
Goto/Peek Definition. Automatically peek/load CALL, CHAIN and INCLUDE routines
Syntax checking for GOTO/GOSUB's, LOOPS, CASE STATEMENTS and IF THE/ELSE statements
Access your remote files and programs
Find all References of a word in current program
Remotely compile and catalog programsThe Gateway is developed in C# and runs on windows however the gateway can connect to other OS's other that Windows.The FileSystem extension is an in memory extension which means you programs are retrieved from the server when selected and written back to the server when saved.The programs never reside on your local disk.The Gateway installer can be found in C:\Users\{Your Login}\.vscode\extensions\ongroup.mvon-1.32.0\gateway.To use the gateway create a Workspace with the following entries
{"folders": [{"uri": "GatewayFS:/",
"name": "Account - PRC",}],"settings": {"mvon.Account": "PRC","mvon.Password": "xxxxxxxx","mvon.remoteHost": "127.0.0.1", <= ip or host name of the server running your DB"mvon.UserName": "xxxxxxx",
"mvon.remoteCompiling": true,"files.associations": {"*": "mvon"},
"mvon.gatewayHost": "localhost", <= ip or hostname of server running the gateway"mvon.gatewayPort": "9004","mvon.gatewayType": "QM"},}The <= …. above is just some documentation.Press F1 and select "Connect to MVON# Gateway" and extension connect to the required MV DB.This is the first release so there might be some bugs, if so let me knowCheers
I believe that Marcos may be using the ECS mode version of QM. If this is so, code pages should be irrelevant.
Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England
+44 (0)1604-709200
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
You will need to uninstall the Gateway and re install the current one
Cheers
I will test again on Monday, sorry for the inconvenience. I am away this weekend.
Cheers
Could you share your workspace setting so I can do some testing. Also is your 7 Unidata Windows or Unix. Also where is the gateway running
Cheers
You are missing 2 settings mvon.gatewayHost and mvon.gatewayPort, they should be set to localhost and 9004 respectively
Let me know if it works
Cheers
I am using the default code folding in VSCode. I will need to update the linter to manage folding
Cheers
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
Hi All,As discussed a week ago, we have put together a gateway to allow people using Visual Studio Code to remotely edit you BASIC code on the above platforms. The MV# Extensions include all the coding features that most other languages have includingCode highlighting for MV# BASIC Programs
Intellisense for the MV# BASIC Statements and Functions
Code folding
Code formatting
Goto/Peek Definition. Automatically jump to and peek internal subroutines
Goto/Peek Definition. Automatically peek/load CALL, CHAIN and INCLUDE routines
Syntax checking for GOTO/GOSUB's, LOOPS, CASE STATEMENTS and IF THE/ELSE statements
Access your remote files and programs
Find all References of a word in current program
Remotely compile and catalog programs
Cheers
Hi All,As discussed a week ago, we have put together a gateway to allow people using Visual Studio Code to remotely edit you BASIC code on the above platforms. The MV# Extensions include all the coding features that most other languages have includingCode highlighting for MV# BASIC Programs
Intellisense for the MV# BASIC Statements and Functions
Code folding
Code formatting
Goto/Peek Definition. Automatically jump to and peek internal subroutines
Goto/Peek Definition. Automatically peek/load CALL, CHAIN and INCLUDE routines
Syntax checking for GOTO/GOSUB's, LOOPS, CASE STATEMENTS and IF THE/ELSE statements
Access your remote files and programs
Find all References of a word in current program
Remotely compile and catalog programs
Hi Grant,This is the program that refuses to be formattedCheersJan
--
Hi Grant,This is the program that refuses to be formattedCheers
Jan
On Tuesday, 10 July 2018 17:53:42 UTC+10, Grant H wrote:
Grant, I know Jbase allows the use of ! As comments but I'm not sure as to the rules that allow it to be used like that.