Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #7721

Re: Change the Path for EXE of DLL file using VO28SDK - Adam functions

From "Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl>
Newsgroups comp.lang.clipper.visual-objects
References <hmbww.196813$5S.5942@fx06.am1> <m9rj2l$jju$1@dont-email.me> <lNfww.79325$744.69667@fe60.am1> <09512981-2e16-4caa-b308-0765800e91af@googlegroups.com>
Subject Re: Change the Path for EXE of DLL file using VO28SDK - Adam functions
Message-ID <Sy2Bw.88290$PU5.76326@fe31.am1> (permalink)
Organization Sunny Usenet - Affordable Usenet
Date 2015-02-06 13:36 +0100

Show all headers | View raw


Hey Adriano, nice to see you lurking here!

Yep, nice project that was!!! And great sushi too in our kimono's!
We must have a talk soon! Any plans to come to Curacao?

I am building the same kind of application now to convert Bake-it to SQL 
tables
I already took your code and extended it and added numerous methods for 
repo-management.

Almost done with Bake-it for SQL...
Step 1 - Open 'Bake-it DBF to MS-SQL Converter' and press the button
- Create a SQL scheme based on the Bake-it DBF structure and convert data.
Step 2 - Open 'Bake-it Repo Converter' and press the button
- Wait for the app to create a new Repo based on an existing Bake-it DBF 
repo (create SQL objects based on DBF objects, write various code changes, 
remap libraries etc..)
Step 3 - Press the compile-all button
- Voila, a Bake-it.Exe based on SQL tables in stead of DBF tables

Easier than that is impossible IMHO....
Now let's see how it performs....
And then there are the reports.....

Regards, Marc


schreef in bericht 
news:09512981-2e16-4caa-b308-0765800e91af@googlegroups.com...

On Thursday, January 22, 2015 at 11:33:39 PM UTC, Marc Verkade [MITCon] 
wrote:
> Thanx. ,that was what Robert also suggested.
> I will try that.
> Regards, Marc Verkade
>
> "JohnMartens"  schreef in bericht news:m9rj2l$jju$1@dont-email.me...
>
> Hi Marc,
>
> This is what I found in the Help of RepoScript. I think the syntax of
> RepoScript is similar like the ADAM syntax.
> I suppose you can read the German text as tey are our neigbours.
>
> Is this of any help ?
>
> Cheers,
> John
>
>
>
> appSetExeName()
>
>
> Verwendung
>
> Setzt den Namen der Exe-/DLL-Datei in einer Applikation.
>
> Syntax
>
> appSetExeName(<cFile>) Æ lSuccess
>
>
>
> appSetExeName(<cApplication>, <cFile>) Æ lSuccess
>
> Argumente
>
> <cApplication> Name der Applikation, für die der Name der Exe-/DLL-Datei
> gesetzt werden soll.
>
>
>
> Wenn das Argument nicht übergeben wird, dann bezieht sich der Befehl auf
> die aktuelle Applikation. Diese kann beispielsweise mit den Funktionen
> appSearch(), appGetFirst() oder appGetNext() aktiviert werden.
>
>
>
> Datentyp: String
>
>
>
> <cFile> Name der Exe-/DLL-Datei, der gesetzt werden sell.
>
> Datentyp: String
>
> Rückgabewert
>
> lSuccess Status der Operation.
>
> TRUE Der Name der Exe-/DLL-Datei wurde gesetzt.
>
> FALSE Der Name der Exe-/DLL-Datei konnte nicht gesetzt werden.
>
> Datentyp: Logic
>
> Beschreibung
>
> appSetExeName() setzt in einer Applikation vom Typ Application den Namen
> der EXE-Datei bzw. in einer Applikation vom Typ DLL den Namen der 
> DLL-Datei.
>
>
>
> Unter dem Namen der Exe-/DLL-Datei wird eine Applikation mittels der
> Funktion appBuild() als externe Datei auf einen Datenträger erzeugt.
>
>
>
> Mit der Funktion appGetExeName() kann der Name der Exe-/DLL-Datei
> abgefragt werden.
>
>
>
> Marc Verkade [MITCon] schreef op 22-1-2015 om 19:31:
> > Hello to all,
> >
> > I am creating a conversion app that interacts with ADAM.
> > Now I want to set the path of an application programmatically but I lack
> > the proper documentation to do that.
> > I want to set the Path for EXE and DLL files, probably using the
> > AppSetOptions SDK method.
> >
> > Does anybody have a code snipped to show me how to do that?
> > Here a code snippet to show what I am doing and want to do....
> >
> > // Open the project
> > SELF:_RepoProject:=repoProject{SELF:_RepoRepository:CurrentProject}
> >
> > // Open the applications
> > DO CASE
> > CASE SELF:_RepoProject==NULL_OBJECT
> >     MC_WarningBox(MC_StringMerge1("Could not select project '%1'. Make
> > sure it is not opened in VO!",sProject))
> >     // Add comment
> >     SELF:LogAdd("ERROR: Project not opened : "+sProject)
> > OTHERWISE
> >
> >     // Add comment
> >     SELF:LogAdd("Project opened : "+sProject)
> >
> >     // Get the apps
> >     aApps:=SELF:_RepoProject:Applications
> >     FOR dwAppPointer:=1 UPTO ALen(aApps)
> >
> >         // Get an app
> >         oApp:=aApps[dwAppPointer]
> >         sApp:=oApp:Name
> >         SELF:LogAdd("Using application : "+sApp)
> >
> >         //
> > *******************************************************************
> >         // Now set the EXE or DLL path of this app so generating the
> > EXE/DLL will save it at that specific location
> >         // Does anybody have a clue how to do that?
> >         //
> > *******************************************************************
> >
> >     NEXT dwAppPointer
> > END

Hi Marc!

If I remember correctly we did that for the B**sius project! There is some 
code lurking there in the repository that read those damned Clipper source, 
produced a VO project, compiled it and generated the executable!

Those were the times!

Adriano 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Change the Path for EXE of DLL file using VO28SDK - Adam functions "Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl> - 2015-01-22 19:31 +0100
  Re: Change the Path for EXE of DLL file using VO28SDK - Adam functions JohnMartens <martens@tennishulp.info> - 2015-01-22 20:30 +0100
    Re: Change the Path for EXE of DLL file using VO28SDK - Adam functions "Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl> - 2015-01-23 00:33 +0100
      Re: Change the Path for EXE of DLL file using VO28SDK - Adam functions rui.gominho@gmail.com - 2015-02-04 07:07 -0800
        Re: Change the Path for EXE of DLL file using VO28SDK - Adam functions "Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl> - 2015-02-06 13:36 +0100
          Re: Change the Path for EXE of DLL file using VO28SDK - Adam functions "Willie Moore" <williem@wmconsulting.com> - 2015-02-12 11:12 -0600
          Re: Change the Path for EXE of DLL file using VO28SDK - Adam functions rui.gominho@gmail.com - 2015-02-16 03:14 -0800
            Re: Change the Path for EXE of DLL file using VO28SDK - Adam functions "Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl> - 2015-02-17 19:19 +0100

csiph-web