Home » Developer & Programmer » Forms » Create compliation File FMX to Another Location
Create compliation File FMX to Another Location [message #176792] Fri, 09 June 2006 11:06 Go to next message
sweetkhaliq
Messages: 200
Registered: April 2006
Senior Member

I am working in forms 6i. When i compile the form , developer create the FMX file in the same folder in which the sourc file exist. I want that when i run my form or compile my form the FMX file creates on another folder which i mention. Is there any way that FMX file creates on different Folder. I do not want that i first copy my FMX file and place it to desire folder.
thanks

[Updated on: Fri, 09 June 2006 11:11]

Report message to a moderator

Re: Create compliation File FMX to Another Location [message #176937 is a reply to message #176792] Mon, 12 June 2006 02:28 Go to previous messageGo to next message
saadatahmad
Messages: 452
Registered: March 2005
Location: Germany/Paderborn
Senior Member

What a laziness!!!!!!!!
Laughing
Re: Create compliation File FMX to Another Location [message #176946 is a reply to message #176937] Mon, 12 June 2006 03:10 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
I think I'd create a batch file/script to compile and move the FMX files.

MHE
Re: Create compliation File FMX to Another Location [message #177026 is a reply to message #176946] Mon, 12 June 2006 10:35 Go to previous messageGo to next message
sweetkhaliq
Messages: 200
Registered: April 2006
Senior Member

Plz send the code for compiling and copy the fmx files. Plz also send the code that how to create a batch file to make the back of any user date wise. or how how to make dump file date wise. I will be thank full to you. Plz send these in detail so i can easily understand. thanks and regards
Re: Create compliation File FMX to Another Location [message #177058 is a reply to message #176937] Mon, 12 June 2006 16:42 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Batch files are operating system dependant. You didn't mention which OS you use.
Re: Create compliation File FMX to Another Location [message #177160 is a reply to message #177058] Tue, 13 June 2006 05:21 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
From the OraFAQ: How can I generate all my forms in a batch? Some people tend to forget that this site spans more than just a forum Wink

Note: it's a DOS batch file, but for another OS it is the same principle.

MHE
Re: Create compliation File FMX to Another Location [message #177215 is a reply to message #177160] Tue, 13 June 2006 08:12 Go to previous messageGo to next message
saadatahmad
Messages: 452
Registered: March 2005
Location: Germany/Paderborn
Senior Member

PM: "it is not just a laziness It is only for getting information that is it possible. Do not give remarks like this."

It was just a joke. Don't take it seriously. BTW we should have some fun also. Cool

[Updated on: Tue, 13 June 2006 08:12]

Report message to a moderator

Re: Create compliation File FMX to Another Location [message #177237 is a reply to message #177058] Tue, 13 June 2006 10:27 Go to previous messageGo to next message
sweetkhaliq
Messages: 200
Registered: April 2006
Senior Member

i m working in both windows 2000 and windows xp environments. plz send the code to generate batch files in both operating systms. thanks
Re: Create compliation File FMX to Another Location [message #177240 is a reply to message #177160] Tue, 13 June 2006 10:44 Go to previous messageGo to next message
sweetkhaliq
Messages: 200
Registered: April 2006
Senior Member

u hv send me link but it is very difficult to understand. I will try it to understand. can u send me the code in easy wording that i can easily judge the code. i also reques u to send the code of creating batch file making date wise back up of a user data as dmp.
i am working in xp and 2000 environment thanks for ur reply
Re: Create compliation File FMX to Another Location [message #177660 is a reply to message #177240] Fri, 16 June 2006 00:55 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have you got this working yet?

David
Re: Create compliation File FMX to Another Location [message #177759 is a reply to message #177660] Fri, 16 June 2006 08:31 Go to previous messageGo to next message
sweetkhaliq
Messages: 200
Registered: April 2006
Senior Member

I hv not get the solution of my problem plz send me the code. Plz send me the Code as soon as possible.
Re: Create compliation File FMX to Another Location [message #177783 is a reply to message #177759] Fri, 16 June 2006 09:36 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
  1. Don't beg. It won't help. you could tell us what you tried so far with the example I gave you. It is not that hard.
  2. "I hv", "Plz send" Try to write in FULL sentences. Keep your IM speak for your IM client. It is very unprofessional and impolite to use this abbreviated language.
  3. We don't send code. Ask questions here, get replies here. That way anyone can benefit from the answers given.
  4. Try google: I did and it lead me to this page. All you have to do is add a couple of lines in the batch file to move the files from one directory to another.


MHE

[Updated on: Fri, 16 June 2006 09:36]

Report message to a moderator

Re: Create compliation File FMX to Another Location [message #177786 is a reply to message #177783] Fri, 16 June 2006 09:40 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
I stole the code from the link mentioned above and tweaked it a little bit. Like I said before: it is not a big deal. I post it so others can use it as well. Thanks to Francois Degrelle for the original code (otherwise I would have to look up the loop mechanism in DOS myself Wink)

Anyway, here goes:
@ECHO OFF 
if "%1"=="" goto error
if "%2"=="" goto error
if "%3"=="" goto error


cls 
cd %2
Echo compiling libraries.... 
for %%f IN (*.pll) do ifcmp90 userid=%1 module=%%f batch=yes module_type=library compile_all=yes window_state=minimize 
ECHO Libraries compilation done
ECHO ----------------------------------
ECHO Moving Libraries....
for %%f IN (*.plx) do move %%f %3
ECHO Libraries move done
ECHO ----------------------------------
Echo compiling menus.... 
for %%f IN (*.mmb) do ifcmp90 userid=%1 module=%%f batch=yes module_type=menu compile_all=yes window_state=minimize 
ECHO Menus compilation done
ECHO ----------------------------------
ECHO Moving Menus....
for %%f IN (*.mmx) do move %%f %3
ECHO Libraries move done
ECHO ----------------------------------
Echo compiling Forms.... 
for %%f IN (*.fmb) do ifcmp90 userid=%1 module=%%f batch=yes module_type=form compile_all=yes window_state=minimize 
ECHO Forms compilation done
ECHO ----------------------------------
ECHO Moving Forms....
for %%f IN (*.fmx) do move %%f %3
ECHO Forms move done
ECHO ----------------------------------
goto end

:error
echo.
echo usage: instform  [user/password@connect_string] [source directory] [destination directory]
echo.

goto end

:end

Copy and paste into notepad and save as 'instforms.bat".

Enjoy!

MHE

[Updated on: Fri, 16 June 2006 09:40]

Report message to a moderator

Re: Create compliation File FMX to Another Location [message #177797 is a reply to message #176792] Fri, 16 June 2006 11:21 Go to previous messageGo to next message
sweetkhaliq
Messages: 200
Registered: April 2006
Senior Member

please is type of requesting it is not begging. It is used to give honor to other. Also you said do not use abbrivation like plz,hv. Ok it is valid point i will not use these next time. You also said that we do not send code we only give answer of question. If the answer of question is only code than why you can not send the code. brief me. if you are right then i will change my attitude. thanks
Re: Create compliation File FMX to Another Location [message #178006 is a reply to message #177797] Mon, 19 June 2006 01:02 Go to previous message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
Did the code help you out?

MHE
Previous Topic: warning message
Next Topic: About List item
Goto Forum:
  


Current Time: Fri Sep 20 09:52:02 CDT 2024