Slow characters visualization
I All, I notice that the slow in characters visualization, is always, even if the method have 10 rows. When i write into one method the cpu consuming of 4D V15.5 is around 12/15%, like if 4D do a big work in interpretation of a code that i write into a method. This only on 4D V15.5 in other version of 4D all is normal. Only i have this issue? Thanks Ferdinando Message: 1 Date: Mon, 6 Nov 2017 22:03:19 +0100 From: "stardata.info"To:4d_tech@lists.4d.com Subject: Slow characters visualization Message-ID:<042ac318-dd04-b313-c069-4312c66f9...@stardata.info> Content-Type: text/plain; charset=windows-1252; format=flowed Hi all, I use 4D V15.5 on windows. Sometimes when i write a method the editor is not fast responsive, in fact i can see the character digited only after one second. Someone know the reason, and how i can solve? Thanks Ferdinando ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: SET UPDATE FOLDER
Finder on macOS does not impose control over its windows the way Explorer does on Windows. you should be just fine without having to resort to such tricks. > 2017/11/10 7:40、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール: > Now I need to see how this update process works on a Mac. There are some > apple scripts that close finder windows. But will get there when I get > there... ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: SQL Fail On Windows
is this client server and compiled? it seems certain local variable names just don't work over the network. I would try using the "execute on server" method property and let the code run on server. > 2017/11/10 8:21、Allan Udy via 4D_Tech <4d_tech@lists.4d.com> のメール: > We haven't used SQL much... is there some underlying software that needs to > be installed on a Windows machine to make it work correctly? ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
SQL Fail On Windows
Hi All, Currently using the following example code from the Knowledge Base to determine the AutoIncrement status of a field: C_LONGINT($1;$table_id_l) C_LONGINT($2;$column_id_l) C_BOOLEAN($0;$autoInc_b) If (Count parameters>=2) $table_id_l:=$1 $column_id_l:=$2 Begin SQL SELECT AUTOINCREMENT FROM _USER_COLUMNS WHERE TABLE_ID = :$table_id_l AND COLUMN_ID = :$column_id_l INTO :$autoInc_b; End SQL $0:=$autoInc_b End if On my Mac's and Windows 10 machine it operates fine. On our clients Windows machines we get an error about $table_id_l not being defined. We haven't used SQL much... is there some underlying software that needs to be installed on a Windows machine to make it work correctly? Cheers Allan ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Ampersand in a menu
Thanks Wayne! Just what we needed for our R Jim Hays On Wed, Feb 25, 2015 at 3:44 PM, Wayne Stewartwrote: > G'Day, > > I recently was asked about using the ampersand character in menus. > > Apparently Windows sees it as a meta character. You can use && but > that causes some problems too. > > Solution: use Char(0xFF06) and use a 'wide' ampersand. > > Normal ampersand: & > Wide ampersand: & > > > Regards, > > Wayne > ** > See how easy it is to extend your 4D solutions to Web and mobile. New > opportunities await you with 4D v14! > > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** > ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: LEP - and Batch files
robocopy c:\hope c:\hope2 /MIR This example will mirror what is in c:\hope into c:\hope2 and purge any files in the hope2 directory that do not exist in the hope directory. Use the /mir switch cautiously since it will be deleting files that do not match in the destination directory. On Thu, 9 Nov 2017 21:10:52 +, Peter Mew wrote: > Hi Chip > Ive come at this a bit late. > This how I copy a folder on windows 4D v13 > Sorry, I cant remember what the MIR switch does, it will probably be in the > help file for RoboCopy > > Launch External Process(("ROBOCOPY " +Source+" "+Destination+" > /MIR";$in;$out;$err) > dont forget the spaces > The Paths in Source and Destination are all escaped with "" > cheers > -pm > > On Thu, Nov 9, 2017 at 3:08 PM, Chip Scheide via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> sorry, i mistyped. The batch file does NOT contain the cmd.exe >> reference only the copy command. >> I have looked at the OS - it *is* 32 bit windows 7. There is only one >> copy of copy.exe. >> >> I am giving up on this line of inquiry. >> It appears to me that there is something fundamentally broken with LEP >> and v13.5. >> The batch file works as expected from the command line, & from the >> explorer interface (i.e. double click), but fails from LEP; and so far >> NOTHING has made the slightest bit of difference in getting the batch >> file to function as expected when called from LEP. The batch file does >> appear to be executed - as in an error file (empty) is generated when >> requested by the batch file. >> >> I started down this (endless it seems) rabbit hole by trying to execute >> the xcopy command directly from LEP - but that failed as well, even >> when the exact same command was given to the command line. >> >> So.. 2 different approaches to get the same functionality, using xcopy, >> with no functional result. Something in LEP is broken (at least in >> regards to this specific command). I do not know what, I can not change >> it, 4D will not change it now. >> I am moving on to a different means of attempting to accomplish the >> same task. >> >> >> On Thu, 9 Nov 2017 00:07:48 -0500, Chip Scheide via 4D_Tech wrote: >>> no Ill try that too >>> Thanks >>> Chip, have you tried to change the .bat file to eliminate the ‘cmd’ call and run xcopy directly, so that .bat would read just: "xcopy 2>> ” And then call the .bat directly in your LEP statement? Why do you need that “cmd.exe” for? julio ' > On Nov 8, 2017, at 10:06 PM, Chip Scheide via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > > what is in the batch file is : > cmd.exe /C xcopy 2>> > > All paths are valid. > when I execute the batch file from the OS (double click, or command > line) it works, and does NOT create an error file. > When run from LEP it does nothing, and creates an empty error file. > > I will have to check, but I am mostly sure that the windows OS (7) > is 32 bit > >> On 9 Nov 2017, at 4:44 am, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >>> >>> I have tried all of the offered suggestions: >>> Start ?b >>> running without a call to cmd >>> \batchfilename\ >>> extended this to cover the file paths in the batch file >>> >>> none of these result in file copying when started with LEP. >>> HOWEVER the batch file contains a redirect of stderr to a disk file, >>> when run though LEP the error file is created. >>> The error file is empty... but it is created. >>> SO.. LEP is actually executing the batch file, just not doing >> anything. >>> >>> any more ideas?? >> -- Julio Carneiro jjfo...@gmail.com ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com ** >>> >>> Hell is other people >>> Jean-Paul Sartre >>> ** >>> 4D Internet Users Group (4D iNUG) >>> FAQ: http://lists.4d.com/faqnug.html >>> Archive: http://lists.4d.com/archives.html >>> Options: http://lists.4d.com/mailman/options/4d_tech >>> Unsub: mailto:4d_tech-unsubscr...@lists.4d.com >>> ** >> --- >> Gas is for washing parts >> Alcohol is for drinkin' >> Nitromethane is for racing >> ** >> 4D Internet Users Group (4D iNUG) >> FAQ: http://lists.4d.com/faqnug.html >> Archive: http://lists.4d.com/archives.html >> Options:
Re: 4DLINK
Hi Pavel, See if you can use LastDataPathLookup, ByAppPath: http://doc.4d.com/4Dv16/4D/16/LastDataPathLookup.300-3130241.en.html If you Build your application (app_sss.exe) using XML Keys, you: - use v16 - set Compatibility option for Use New Architecture--see bottom of this page: http://doc.4d.com/4Dv16/4D/16.1/Compatibility-page.300-3373287.en.html - Build with the key above This is a great solution for distribution. Each target machine remembers each Data File for each App. There are other solutions (DateName=StructureName AND in-same-directory, Key for DefaultDataFile) if _you_ control the target machine. > On Nov 9, 2017, at 1:45 AM, Pavel Cerny via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi, > > Under WIndows I have 2 or more identical applications in different > directories with different filename datafiles. > For example : > C:\A\app_sss.exe C:\A\Database\app_sss.4DC and app_sss.4DD - it is OK > C:\B\app_sss.exe C:\B\Database\app_sss.4DC and app_bbb.4DD - when I update > the application, I always have to select the datafile again, can I set up > for exe (4dc) which datafile to open? > > Thanks > Pavel > > > > > > -- > Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html > ** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: LEP - and Batch files
sorry, i mistyped. The batch file does NOT contain the cmd.exe reference only the copy command. I have looked at the OS - it *is* 32 bit windows 7. There is only one copy of copy.exe. I am giving up on this line of inquiry. It appears to me that there is something fundamentally broken with LEP and v13.5. The batch file works as expected from the command line, & from the explorer interface (i.e. double click), but fails from LEP; and so far NOTHING has made the slightest bit of difference in getting the batch file to function as expected when called from LEP. The batch file does appear to be executed - as in an error file (empty) is generated when requested by the batch file. I started down this (endless it seems) rabbit hole by trying to execute the xcopy command directly from LEP - but that failed as well, even when the exact same command was given to the command line. So.. 2 different approaches to get the same functionality, using xcopy, with no functional result. Something in LEP is broken (at least in regards to this specific command). I do not know what, I can not change it, 4D will not change it now. I am moving on to a different means of attempting to accomplish the same task. On Thu, 9 Nov 2017 00:07:48 -0500, Chip Scheide via 4D_Tech wrote: > no Ill try that too > Thanks > >> Chip, >> >> have you tried to change the .bat file to eliminate the ‘cmd’ call >> and run xcopy directly, so that .bat would read just: >> "xcopy 2>> ” >> >> And then call the .bat directly in your LEP statement? >> >> Why do you need that “cmd.exe” for? >> >> julio >> ' >>> On Nov 8, 2017, at 10:06 PM, Chip Scheide via 4D_Tech >>> <4d_tech@lists.4d.com> wrote: >>> >>> >>> what is in the batch file is : >>> cmd.exe /C xcopy 2>> >>> >>> All paths are valid. >>> when I execute the batch file from the OS (double click, or command >>> line) it works, and does NOT create an error file. >>> When run from LEP it does nothing, and creates an empty error file. >>> >>> I will have to check, but I am mostly sure that the windows OS (7) >>> is 32 bit >>> On 9 Nov 2017, at 4:44 am, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I have tried all of the offered suggestions: > Start ?b > running without a call to cmd > \batchfilename\ > extended this to cover the file paths in the batch file > > none of these result in file copying when started with LEP. > HOWEVER the batch file contains a redirect of stderr to a disk file, > when run though LEP the error file is created. > The error file is empty... but it is created. > SO.. LEP is actually executing the batch file, just not doing anything. > > any more ideas?? >> >> -- >> Julio Carneiro >> jjfo...@gmail.com >> >> >> >> ** >> 4D Internet Users Group (4D iNUG) >> FAQ: http://lists.4d.com/faqnug.html >> Archive: http://lists.4d.com/archives.html >> Options: http://lists.4d.com/mailman/options/4d_tech >> Unsub: mailto:4d_tech-unsubscr...@lists.4d.com >> ** > > Hell is other people > Jean-Paul Sartre > ** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: 4DLINK
Hi, Under WIndows I have 2 or more identical applications in different directories with different filename datafiles. For example : C:\A\app_sss.exe C:\A\Database\app_sss.4DC and app_sss.4DD - it is OK C:\B\app_sss.exe C:\B\Database\app_sss.4DC and app_bbb.4DD - when I update the application, I always have to select the datafile again, can I set up for exe (4dc) which datafile to open? Thanks Pavel -- Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **