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


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

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>
Subject Re: Change the Path for EXE of DLL file using VO28SDK - Adam functions
Message-ID <lNfww.79325$744.69667@fe60.am1> (permalink)
Organization Sunny Usenet - Affordable Usenet
Date 2015-01-23 00:33 +0100

Show all headers | View raw


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 

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