Quote from juancarlos on April 16, 2020, 2:53 amhola , no se que pasa que me cuando en compilado varias veces se me ha jodido el proyecto y sale la pagina sin nada ya me ha pasado dos veces y lo peor que si copio cosas hechas me vuelve a pasar sabeis algo?
hola , no se que pasa que me cuando en compilado varias veces se me ha jodido el proyecto y sale la pagina sin nada ya me ha pasado dos veces y lo peor que si copio cosas hechas me vuelve a pasar sabeis algo?
Quote from juancarlos on April 16, 2020, 3:13 amSe esperaba ')' (main.js?v=2, 128)
[$injector:modulerr] http://errors.angularjs.org/1.7.7/$injector/modulerr?p0=NeoApp&p1=Error: [$injector:nomod] http://errors.angularjs.org/1.7.7/$injector/nomod?p0=NeoApp
at Anonymous function (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:26:447)
at b (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:25:459)
at Anonymous function (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:26:220)
at Anonymous function (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:42:494)
at r (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:8:74)
at g (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:42:344)
at fb (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:46:454)
at c (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:22:55)
at Uc (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:22:363)
at Ae (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:21:45) (jquery.min.js, 2)
Se esperaba ')' (main.js?v=2, 128)
[$injector:modulerr] http://errors.angularjs.org/1.7.7/$injector/modulerr?p0=NeoApp&p1=Error: [$injector:nomod] http://errors.angularjs.org/1.7.7/$injector/nomod?p0=NeoApp
at Anonymous function (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:26:447)
at b (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:25:459)
at Anonymous function (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:26:220)
at Anonymous function (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:42:494)
at r (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:8:74)
at g (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:42:344)
at fb (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:46:454)
at c (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:22:55)
at Uc (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:22:363)
at Ae (file:///C:/Users/juanc/OneDrive/Documentos/VisualNeoWeb/Libraries/js/angular.min.js:21:45) (jquery.min.js, 2)

Quote from luishp on April 16, 2020, 8:57 amHola @juancarlos,
El error indica que falta cerrar un paréntesis ")". VisualNEO Web puede detectar errores en NeoScript pero para los errores de JavaScript tendrás que estar atento a la consola del navegador. Te recomiendo utilizar la consola de Chrome o FireFox para detectarlos. Normalmente te dirán la linea y la posición exácta donde está el error en el archivo compilado y te servirá de referencia para localizarlo en tu proyecto.
Saludos.
Hola @juancarlos,
El error indica que falta cerrar un paréntesis ")". VisualNEO Web puede detectar errores en NeoScript pero para los errores de JavaScript tendrás que estar atento a la consola del navegador. Te recomiendo utilizar la consola de Chrome o FireFox para detectarlos. Normalmente te dirán la linea y la posición exácta donde está el error en el archivo compilado y te servirá de referencia para localizarlo en tu proyecto.
Saludos.
Quote from juancarlos on April 16, 2020, 4:02 pma lo ultimo era un wait que puse doble y mal puesto en una subroutine
muchas gracias
a lo ultimo era un wait que puse doble y mal puesto en una subroutine
muchas gracias
Quote from juancarlos on April 16, 2020, 4:04 pmte queria preguntar una cosa , con relacion a visualneo win, hay alguna forma de hacer igual que el visualneo web , de darle un alias a la base de datos ?
te queria preguntar una cosa , con relacion a visualneo win, hay alguna forma de hacer igual que el visualneo web , de darle un alias a la base de datos ?

Quote from luishp on April 16, 2020, 4:31 pmte queria preguntar una cosa , con relacion a visualneo win, hay alguna forma de hacer igual que el visualneo web , de darle un alias a la base de datos?
En principio no. En VisualNEO Web se hace así por un tema de seguridad, ya que de este modo se oculta el nombre real de la base de datos (también las querys SQL) si alguien investiga el código fuente que llega al navegador. En VisualNEO Win eso no es necesario.
Saludos!
te queria preguntar una cosa , con relacion a visualneo win, hay alguna forma de hacer igual que el visualneo web , de darle un alias a la base de datos?
En principio no. En VisualNEO Web se hace así por un tema de seguridad, ya que de este modo se oculta el nombre real de la base de datos (también las querys SQL) si alguien investiga el código fuente que llega al navegador. En VisualNEO Win eso no es necesario.
Saludos!
Quote from juancarlos on April 16, 2020, 10:39 pmmi pregunta es porque en visualneo win si tengo alias puedo cambiar de servidor mas facil
gracias por tus respuestas
mi pregunta es porque en visualneo win si tengo alias puedo cambiar de servidor mas facil
gracias por tus respuestas

Quote from luishp on April 17, 2020, 10:10 ammi pregunta es porque en visualneo win si tengo alias puedo cambiar de servidor mas facil
Eso es cierto :)
mi pregunta es porque en visualneo win si tengo alias puedo cambiar de servidor mas facil
Eso es cierto :)
Quote from Gaev on April 17, 2020, 6:21 pm@juancarlos
regarding visualneo win, is there a way to do the same as visualneo web, to give an alias to the database?
my question is because in visualneo win if I have aliases I can change server easierI may be misinterpreting what your intention is ... but f.y.i, the "database id" IS a form of "alias" ... so you could do something like ...
SetVar "[thisDB]" "Continents"... and use [thisDB] in all subsequent NeoDBpro commands e.g.
dbpOpenDatabase "[thisDB]" "file name or connection string" dbpOpenAccessDatabase "[thisDB]" "file name" "options" dbpOpenTable "[thisDB]" "table" "subroutine" dbpShowGrid "[thisDB]" "table" "rectangle" dbpQuery "[thisDB]" "table" "filter" etc. etc.... later, you can change the value of the variable [thisDB] to access another Database file (of course, you have to go through the process of opening the file/table etc.
Many moons ago, I developed this generic utility ( http://www.scriptedlogic.com/zzold/AccessDBU.htm ) written entirely using NeoScript commands ... that allows a user to manage his/her MS Access Databases ... without ever having to write a single Neoscript command ... I used this technique to reuse the same plugin commands for any database selected by the user (from the File Open Dialog Box) ... the only thing I ran into was when I setup a Text Box with a value of ...
[[thisDB].[thisTable].$RecCount] [[thisDB].[thisTable].$RecNum]... NeoBook/VisualNEOWin does not automatically refresh values of complex/nested variables ... so you have to set the object's value to something like [currentRecCount] ... and do this each time you need to refresh it ...
SetVar "[currentRecCount]" "[[thisDB].[thisTable].$RecCount]"Hope this helps.
regarding visualneo win, is there a way to do the same as visualneo web, to give an alias to the database?
my question is because in visualneo win if I have aliases I can change server easier
I may be misinterpreting what your intention is ... but f.y.i, the "database id" IS a form of "alias" ... so you could do something like ...
SetVar "[thisDB]" "Continents"
... and use [thisDB] in all subsequent NeoDBpro commands e.g.
dbpOpenDatabase "[thisDB]" "file name or connection string" dbpOpenAccessDatabase "[thisDB]" "file name" "options" dbpOpenTable "[thisDB]" "table" "subroutine" dbpShowGrid "[thisDB]" "table" "rectangle" dbpQuery "[thisDB]" "table" "filter" etc. etc.
... later, you can change the value of the variable [thisDB] to access another Database file (of course, you have to go through the process of opening the file/table etc.
Many moons ago, I developed this generic utility ( http://www.scriptedlogic.com/zzold/AccessDBU.htm ) written entirely using NeoScript commands ... that allows a user to manage his/her MS Access Databases ... without ever having to write a single Neoscript command ... I used this technique to reuse the same plugin commands for any database selected by the user (from the File Open Dialog Box) ... the only thing I ran into was when I setup a Text Box with a value of ...
[[thisDB].[thisTable].$RecCount] [[thisDB].[thisTable].$RecNum]
... NeoBook/VisualNEOWin does not automatically refresh values of complex/nested variables ... so you have to set the object's value to something like [currentRecCount] ... and do this each time you need to refresh it ...
SetVar "[currentRecCount]" "[[thisDB].[thisTable].$RecCount]"
Hope this helps.
Quote from juancarlos on April 18, 2020, 3:29 amthank you, i try
thank you, i try